Great tutorial!! I'm surprised so few views. It is something so very essential... Had banged my head to get this to work
@hmb94305 жыл бұрын
Wow thanks for the good explanation, it really helps me understand.
@MastervisualstudioNet5 жыл бұрын
You're welcome, glad it helped!
@nagendravc3 жыл бұрын
Also... Can I make a request...? to make one with .Net Core API instead of mvc... Coz what we really need for angular is just the api...
@JaySinhaNZ4 жыл бұрын
Great walk-through to get started, did you create a video for taking this project to Azure devops...Also It shall be great If you can explain build process for Angular....are we using magic of webpack or gulp?
@vishals504 жыл бұрын
Good tutorial, so this means there isn't a way to configure the build of the angular app from Visual Studio?
@MastervisualstudioNet4 жыл бұрын
Hi Vishal, VS can be set up for Angular to build and watch for changes, however, because I end up switching to prod builds somewhat frequently I don't use that. I keep it pretty simple and use a VS extension called "Open Command Line" by Mads Kristensen - it lets me quickly open a command window from the project root using ""CTRL+ALT+,". Then I just have two batch files set up. One that I start (w.bat) when I begin working on some new code that just runs an Angular dev build with the watch option, and a second (p.bat) that runs a prod build before check-ins. I'm sure some would argue for more automation, but honestly, I like it - the w.bat kind of triggers the mindset that I'm starting dev and the p.bat is a good sanity check to always do before a check-in. Hope this helps and stay safe and healthy out there!
@escorpianoyqueee2 жыл бұрын
Title: "Build angular in visual studio" but you keep building in a separated console, you are not building in visual studio at all, you are just linking your angular to your MVC web :/ I was expecting some sort of "post build" script to run the npm i / npm build prod, The only thing I could possible use from this video is that I learned about the output path, that might help to build with post build actions.