Answered by:
AngularJS (SPA) question

Question
-
User724951622 posted
Hi,
I am setup a project and need to decide on pure AngularJS or ASP.NET(with AngularJS). The main concern that i have with pure javascript is i don't know if it can handle everything asp.net can. For example: if i need to consume a web service (Asxm)... i don't know what else to it. Any suggestion?
Tuesday, June 2, 2015 6:28 PM
Answers
-
User-453166192 posted
Hi dealkk,
It's hard to say exactly what to choose without an understanding of the project, but I can answer your question that Angular will allow you to consume a webservice. Angular uses a service provider called "$http" to all you to make an ajax call to an api/web service. Here is an example of the $http in action.
https://epapers.eintern.com/2014/11/consuming-web-service-with-angularjs/
Hope this helps!
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 3, 2015 1:47 PM -
User2024324573 posted
There are lot of sample projects you can follow- some of them are:
http://weblogs.asp.net/shijuvarghese/demo-spa-app-for-asp-net-web-api-2-and-angularjs
http://bitoftech.net/2014/01/13/tutorial-for-building-spa-using-angularjs-example/
http://jaliyaudagedara.blogspot.com.au/2014/08/angularjs-consuming-aspnet-web-api.html
and so on..
Hope you can have a good start
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, June 4, 2015 2:22 AM
All replies
-
User-453166192 posted
Hi dealkk,
It's hard to say exactly what to choose without an understanding of the project, but I can answer your question that Angular will allow you to consume a webservice. Angular uses a service provider called "$http" to all you to make an ajax call to an api/web service. Here is an example of the $http in action.
https://epapers.eintern.com/2014/11/consuming-web-service-with-angularjs/
Hope this helps!
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 3, 2015 1:47 PM -
User2024324573 posted
There are lot of sample projects you can follow- some of them are:
http://weblogs.asp.net/shijuvarghese/demo-spa-app-for-asp-net-web-api-2-and-angularjs
http://bitoftech.net/2014/01/13/tutorial-for-building-spa-using-angularjs-example/
http://jaliyaudagedara.blogspot.com.au/2014/08/angularjs-consuming-aspnet-web-api.html
and so on..
Hope you can have a good start
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, June 4, 2015 2:22 AM