Base solution for your next web application
Open Closed

Architecture advise on how to implement Vimeo Api the ASP.NET Zero way #10221


User avatar
0
rvanwoezik created

ASP.NET CORE & Angular (single solution) .NET 5.0 v10.2.0

One of the many reasons why I use ASP.NET zero is the solid architecture of the software, as i am not an software architect.

We want to implement Vimeo Videos in the ANZ platform and i will use the VimeoDotNet wrapper for this. I want some advice what is the correct architecture way to do this?

Do i add a VimeoVideoContollerBase to the web.core project? or do i add a VimeoVideoController to the web.host project? How to implement it in the Application project?

Please give me some guidlines on how to do this the ASP.NET Zero way

Details i will try to figure out myself

Are there any other ANZ users who already have this implemented?

Kind regards, Rene van Woezik


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @rvanwoezik

    We are using Controllers only for file upload operations. I think, you can use AppServices for your implementation. If you can provide a bit more information about your model, we can make new suggestions.

    If this is going to be used only in one place, I think there is no need for a base app service or controller.

  • User Avatar
    0
    rvanwoezik created

    Thnx!

    So if i want to upload Video to Vimeo i should use the controllers, to list the vimeo video's i should use Appservices Thanks!

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @rvanwoezik

    Sorry, I was talking about the AspNet Zero app itself for the upload process. If you want to upload the file to Vimeo, you can do it in AppService as well.