asp.net-coretag-helpers

ASP.NET 5 tag returning 500 Internal Server Error


I have a project where I am rendering an Angular 2 app with ASP.NET Core (.NET 5 RC1) using the Steve Sanderson template (first version with 1.0.0-rc1-final).

It works OK on IIS Express but when I publish to Azure it doesn't.

I tried changing some settings but decided to publish on IIS locally to see if could reproduce the error (500) in an environment where I am more comfortable.

After publishing I have the same error, but I still don't know how to get a more detailed one.

I have tried with:

but none of them worked.

If I remove the tag in charge of rendering the app <app asp-prerender-module="ClientApp/boot-server" asp-prerender-webpack-config="webpack.config.js">Loading...</app> then it works.


Solution

  • I was a little be confused because I changed the template to RC2 and then back to RC1 and everything was kind of mess (about all in my mind).

    I have studied a little be more of ASP.NET and how to use DNVM, DNU, and DNXs which I should have done before and now reviewing what is happening from the command line I have more clues of what to do.

    Basically I had a problem with the dnx version first, then with one of the node dependency and now I am struggling with something to do with my webpack config which I have to review more deeply as well.