We help IT Professionals succeed at work.

C#.MVC What Controller for MP3 Upload Web Service?

C#.MVC What Controller for MP3 Upload Web Service?

I need a web service that accepts an MP3 file and kicks off a series of steps. So, what is the best type of Controller object to use?

And what kinds of configurations will be best for this? Does this require configurations available only through WCF?

Thanks
Comment
Watch Question

Chief Technology Ninja
SILVER EXPERT
Distinguished Expert 2019
Commented:
Hi Curious Webster,

Nowadays, people do not use WCF unless they really have to. It is mostly MVC / Web API. There is no ready made controller, you will have to build oen from scratch (this is same for the most basic controller as well - you can scaffold CRUD operations but rest you have to manually implement/change).

Here is the latest, step by step guide to upload files using ASP.Net Core.
https://docs.microsoft.com/en-us/aspnet/core/mvc/models/file-uploads?view=aspnetcore-3.1​​​

Regards,
Chinmay.
curiouswebsterSoftware Engineer

Author

Commented:
thanks