Search This Blog

Thursday 17 August 2017

02 - .net core minimal ASP.Net core - Angular 4 ,WebPack 2, JIT and AOT

Hi guys,

So continuing our project we are going start  with modification in.net project to run as static files and then start the configuration for webpack and introduction for Angular 4 .

It is necessary to do only few modifications to be able to run ASP .net core project using static pages.

 Add reference for the library to use static files at the project .csproj .

<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.1" />

and then modify Configure method in startup.cs allow the run time to use StaticFiles also to the webserver identify the standard default file.



https://github.com/americoa/DotNetAngular4WebPack2/tree/second-step

No comments:

Post a Comment

Translate