Skip to content

Latest commit

 

History

History

README.md

AspNetWithVueWeather

Description

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.

Run the application

  1. Build Vue.js application
cd HappyCoding.AspNetWithVueWeather/ClientApp
npm install
  1. Build and run the ASP.NET Core application (Frontend application is started automatically)
cd HappyCoding.AspNetWithVueWeather
dotnet run
  1. Open the url http://localhost:5000 using a web browser

run the application (Https)

Same as above, use HappyCoding.AspNetWithVueWeatherSsl instead