[RESOLVED]WebAPI – Separate Project or Built into Existing Project?

Good day,

I have an existing MVC project for a client and they would like to build on to it.

The tools that I will be adding will also be called by other external systems, so I plan to build a WebService / WebAPI.

My question is; Should I just add a WebAPI Controller class to the existing project, OR should I add a new Project to the entire solution?




that depends on the fact if you want to deploy them separately or not. If yes then make a new project for your Web API’s, if not then you can put them in the MVC project all together.

Grz, Kris.

Hi 2lethal,

Thanks for your post.

I think you can try to  add web API to the existing project or others

Please refer to the following links:

How to add Web API to an existing ASP.NET MVC 4 Web Application project?

How to add Web API to an existing ASP.NET MVC (5) Web Application project?

Add Web API to an existing MVC 5 Web Application

Hope this can be helpful.

Best Regards,


Leave a Reply