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,157
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:

tyroneruss

New member
Joined
Jan 1, 2020
Messages
2
Programming Experience
3-5
I'm starting a similar project, where a company created an integration tool VMSXChange in VB.net, which allow you to make calls through a VB UI Form UI and module (Code) VMSXChangeClient.vb file to process the URL request.
I'm dido above info on URL endpoint web service calls - especial request calls
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,157
Location
Sydney, Australia
Programming Experience
10+
I'm starting a similar project, where a company created an integration tool VMSXChange in VB.net, which allow you to make calls through a VB UI Form UI and module (Code) VMSXChangeClient.vb file to process the URL request.
I'm dido above info on URL endpoint web service calls - especial request calls
I don't really know what you're trying to say.
 
Top Bottom