Hryhorii
Hryhorii

Reputation: 1243

Can I use Webpack and ASP.NET Core on one port?

I created project ASP.NET Core + Angular 2 + Webpack and configurated to run ASP.NET Core and Webpack dev server on one port. But when I try call api ASP.NET Core I see loading angular 2 app. Can I use on one port or I must configure different ports?

Upvotes: 0

Views: 574

Answers (1)

Set
Set

Reputation: 49789

Yes, it should work fine if you run as one process. You may have some problem with configuration/routing. Without code sources it is difficult to say what is wrong...

You may use one of those project templates on github to catch your mistake:

Upvotes: 1

Related Questions