1.

Can we return View from ASP.NET Web API method?

Answer»

No, we cannot return the view from the ASP.NET WEB API method. ASP.NET web API DEVELOPS HTTP services that provide RAW data or information. ApiController in ASP.NET MVC application only renders data that is serialized and sent to the client. One can use a controller to provide normal VIEWS



Discussion

No Comment Found