Rest API with ASP.NET MVC

shersu

New member
Joined
Jul 11, 2019
Messages
2
Programming Experience
1-3
Hi,

How do I add Rest API to an ASP.NET MVC application that returns JSON in VB.NET. Please help

Thanks
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,108
Location
Sydney, Australia
Programming Experience
10+
You don't use ASP.NET MVC is how. You use Web API. It's basically MVC without the V, i.e. there's no UI. The controller actions return data that can be consumed by other applications rather than views that can be displayed in a browser.
 

shersu

New member
Joined
Jul 11, 2019
Messages
2
Programming Experience
1-3
Thanks . That is a good start. Do you have any guide or tutorial that I can follow step by step?

The project still requires Views. I am asked to integrate REST API that is called from a Windows Service.
 
Last edited:
Top Bottom