1

I got the same issue describe here - VS 2017 + ASP.Net Core + Angular 4 cant build

But I have different Questions.

I am using Visual Studio 2017 Angular Template. I Created New Project and I have added one Variable in Counter Component like below and I have Re-Build the Code and ran it from Visual Studio.

export class CounterComponent {
public currentCount = 0;

public incrementCounter() {

    var FirstVariable = "aaaa";
    debugger;
    this.currentCount++;
}

}

Then I have added One more Variable as

var SecondVariable = "aaaa";

But When I REBUILD the Solution, This Changes are not appeared in Code when I checked by pressing F12 in Google Chrome.

As per the Link, Pasted above - I ran this command

node node_modules/webpack/bin/webpack.js

and then I can able to see the Changes.

So My Question is Which Template is the BEST?

Microsoft Asp.NET CORE with Angular template provided by Microsoft

OR

Will it be good to go with ANGULAR CLI + ASP.NET CORE??? https://www.codeproject.com/Tips/1208529/Angular-CLI-and-ASP-NET-Core-Angular-Template

WHY We should go with the Angular Template given by Asp.net core, Is there any advantage??? Its not even Building the Code properly... Please help...

1 Answer 1

0

I prefer this template AspNetCoreSpa as it provides a full ready to use template, with data access, built-in security, swagger for API doc, tests, Docker, etc.

There's a nice community around this project and the dev is very reactive.

The architecture is clean and you can easily add or removes features.

You can see the template running here.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.