Reputation: 61
I want to know if Angular JS
can be used with ASP.NET MVC
architecture in any way? I have tried searching on Google, but can't figure out if Angular JS
is usable in .cshtml
page of ASP.NET MVC
and is it the good idea to use it?
Upvotes: 0
Views: 93
Reputation: 415
If you looking to achieve CRUD in your application I recommend this post as a guide to follow. Even though this uses WEB API, its still a good way of getting to grips with angularjs.
Hope this helps.
CRUD with SPA, ASP.NET Web API and Angular.js
Upvotes: 0
Reputation: 3023
From the official ASP.net pages: Hands On Lab: Build a Single Page Application (SPA) with ASP.NET Web API and Angular.js
The fact that is uses WebAPI shouldn't really matter here, as that's a detail matter of implementation. AngularJS works fine on top of either.
First hit on google...
Upvotes: 0
Reputation: 26266
you can definitely use AngularJs with Asp.Net MVC as it is a client side framework which entirely runs in the browser. It doesn't depend on any of the Asp.Net features as such. There are lot of samples available online. Here is a channel 9 video which guides you through
Upvotes: 2