Click here to Skip to main content
15,918,108 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Does we need to use MVC .Net when we build web application with Angularjs?
and if yes, why ?, what is the benefit of using MVC in this scenario?, we can consume Web API using angular directly.

What I have tried:

Using Angular to consume API service, No need for MVC and Razor Views.
Posted
Updated 13-Dec-16 4:42am
Comments
F-ES Sitecore 13-Dec-16 9:12am    
I'm going to say that you probably don't need MVC. Google for using angular with webforms and you'll probably find examples.

1 solution

No, you don't need to use MVC.

AngularJS is a Javascript framework which works with HTML documents. It has no dependency on any server-side technology. You can use anything that can generate HTML files with the correct directives. You can even create static HTML files in a text editor and use those.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900