AngularJs 4-7
Issue fixed while running the default project for angular in visual studio 2017
Set package.json-- change
"start": "ng serve",
"build": "ng build",
Start.cs
if (env.IsDevelopment())
{
//Time limit extended
spa.Options.StartupTimeout = new System.TimeSpan(days: 0, hours: 0, minutes: 1, seconds: 30); // add this line
//Time limit extended
spa.UseAngularCliServer(npmScript: "start");
}
https://www.janbasktraining.com/blog/angularjs-vs-angular/
Angular 4 with Visual studio
Ref:https://dotnetthoughts.net/how-to-use-angular4-wth-aspnet-mvc/
Set package.json-- change
"start": "ng serve",
"build": "ng build",
Start.cs
if (env.IsDevelopment())
{
//Time limit extended
spa.Options.StartupTimeout = new System.TimeSpan(days: 0, hours: 0, minutes: 1, seconds: 30); // add this line
//Time limit extended
spa.UseAngularCliServer(npmScript: "start");
}
https://www.janbasktraining.com/blog/angularjs-vs-angular/
Angular 4 with Visual studio
Ref:https://dotnetthoughts.net/how-to-use-angular4-wth-aspnet-mvc/
Comments
Post a Comment