TrilonIO / aspnetcore-Vue-starter

*NEW* Asp.net Core & Vue.js (ES6) SPA Starter kit - Vuex, webpack, Web API, Docker, and more! By @TrilonIO
https://www.trilon.io
MIT License
1.22k stars 266 forks source link

Update for ASP.NET Core 2.x patterns #93

Closed poke closed 6 years ago

poke commented 6 years ago

Some minor adjustments to make this starter template more in-line with the current practices, and to fix double logging output.


In ASP.NET Core 2, configuration moved up to the web host builder, so the Startup class should not create its own configuration builder but just have the existing configuration injected.

Similarly, logging also moved up and is part of the default web host builder. Registering providers on the logger factory again will just cause the logging messages to be duplicated (e.g. there were two parallel console loggers before).

MarkPieszak commented 6 years ago

This is great great job @poke !! 🍾

I should of figured we have some older ways of doing aspnet core stuff here! You rock 🎸