web development us
9 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Rescooped by Andrew H Choi from .Net & Web Development
Scoop.it!

Setting up AngularJS for ASP.Net MVC in WebAPI project.

Setting up AngularJS for ASP.Net MVC in WebAPI project. | web development us | Scoop.it

Once AngularJS is in place it intercepts all the url navigation requests (<a> tags) and stops the browser form full page refresh. How it happens is

It starts with user navigating to the app home(such as http://localhost/home). This is a standard HTML request which gets data from a server view.The browser then loads the necessary html and scripts and sets up the AngularJS configuration.AngularJS navigation ($location service) kicks in and hence forth the only requests that are send are to load partial views into a specific page section (ng-view or ng-include).

Keeping this in mind we start setting up the view.


Via William delmas
more...
No comment yet.
Rescooped by Andrew H Choi from .Net & Web Development
Scoop.it!

A MongoDB Tutorial using C# and ASP.NET MVC

A MongoDB Tutorial using C# and ASP.NET MVC | web development us | Scoop.it
In this post I'm going to create a simple ASP.NET MVC website for a simple blog that uses MongoDB and the offical 10gen C# driver. MongoDB is no NOSQL

Via William delmas
more...