Last post Nov 30, 2017 04:15 PM by Rich dvc
Nov 28, 2017 05:02 PM|Rich dvc|LINK
I just learned Angular 2 using Asp.Net (as the host?). I developed a fairly comprehensive Angular 2 project using Visual Studio (2015). I started out with an empty Web Project. The only thing I could see that seemed related to Asp.Net was the web.config
file. Everything else was Angular 2 -- the Type Script files, ... It seems like VS 2015 was like a substitute for the Angular 2 CLI tool for compiling. This Angular 2 project also included a WebApi project in the same solution for fetching data from a sql
My question is if Angular 2 would provide some value to an MVC (5) project or is it just another standalone web development platform like PHP is another web development platform? It seems to me that I can do everything in MVC that I could do in Angular
2. So would it be just a matter of preference if I want to develop a web project in MVC or Angular 2? Or would Angular 2 provide some additional value/benefit to an MVC project?
In my readings for example, I gather that Angular 2 is geared for mobile development. I also started experimenting with Xamarin for mobile development in Visual Studio - before Angular 2. I just want to know where I should place Angular 2 in my web toolbox.
Nov 29, 2017 02:47 AM|Fei Han - MSFT|LINK
to back-end application (such as Webapi) for operating database via http service.
For more information about AngularJS features and benefits, you can check
Nov 29, 2017 04:08 PM|Rich dvc|LINK
Hello Fei, Thank you for your reply. Yes, I am aware of what AngularJS does. My question is about Angular 2 which is a totally different platform (the only commonality between AngularJS and Angular 2 is that they were both developed by Google). I believe
Angular 2 is a standalone platform from my experience thus far. So the actual question is if it is just a preference to develop front-end applications with MVC or with Angular 2.
Nov 30, 2017 02:17 AM|Fei Han - MSFT|LINK
the actual question is if it is just a preference to develop front-end applications with MVC or with Angular 2.
Nov 30, 2017 04:15 PM|Rich dvc|LINK
Thank you Fei, I just needed some acknowledgement that it is just a preference like I could choose to develop in either of PHP, MVC, Angular 2, Ruby on Rails, .... and it's not like Angular 2 is some enhancement to Asp.Net, where AngularJS is more of
an enhancement type library -- Angular 2 is a development platform.