Single Page Application in AngularJS - Tutorial 2 - adding WebAPI MVC web service using $http

preview_player
Показать описание
In this tutorial we will look at how to add server side web service to our angularjs web app. We are using .net MVC5 to add controllers for HttpPost and HttpGet and consume these service endpoints from our AngularJS app.

We also doing some UI work, adding waiting glyph (spinny thing) to components that are awaiting data from the webservice and implementing some very basic error handling in our web service and render the error messages on the UI.

GitHub repository:
Рекомендации по теме
Комментарии
Автор

Has to be the smoothest example of a web api for mvc i've come across, well done!

kniix
Автор

Nice. Very Helpful for the fundamental concepts

JayShah
Автор

Hi fdzjuba,

Where I will get the code for this tutorial.
The one you have on GIThub is of Tutorial 1.

arpitgupta
Автор

Hi I get a http 404 error? I cannot find the right solution to solve can you help?  Regards

raphaelbernard
join shbcf.ru