This is a very simple sample application based on following generated samples:
- Vue.js default application by create-vue
- ASP.NET Core default template for Web APIs
It uses the WeatherForecast controller form the ASP.NET Core template and consumes it by a simple Vue.js UI
It also uses Microsoft.AspNetCore.SpaProxy to connect Backend and Frontend development effectively.
- Build Vue.js application
cd HappyCoding.AspNetWithVueWeather/ClientApp
npm install- Build and run the ASP.NET Core application (Frontend application is started automatically)
cd HappyCoding.AspNetWithVueWeather
dotnet run- Open the url http://localhost:5000 using a web browser
Same as above, use HappyCoding.AspNetWithVueWeatherSsl instead