A simple starter kit for asp.net core project using VueJS as client framework and IdentityServer4 for authentication.
- ASP.NET Core 2.1
- NodeJS 10.8.0
- AspNetCoreSk.IdentityServer is the IdentityServer4 asp.net core project
- AspNetCoreSk.Vue is the asp.net core client project
- AspNetCoreSk.Endpoints is the webapi app which contains all the api invoked by the client.
- Run EntityFrameworkCore update-database for the AspNetCoreSk.IdentityServer project.
- Run npm install for the AspNetCoreSk.Vue project to install all the npm dependencies.
- Run webpack to create the client's bundles.
- Be sure to run all the 3 projects AspNetCoreSk.IdentityServer, AspNetCoreSk.Endpoints and AspNetCoreSk.Vue projects.
The client application will run on the https://localhost:44388/ address.
You will be redirected to the IdentityServer login page. Here you could login or register a new user (if it's the first time you run the application).
After authentication you will be redirected to client app and you should see a list of 2 items in home page.
- IdentityServer4 https://identityserver4.readthedocs.io/en/release/
- Using IdentityServer4 with ASP.NET Identity https://identityserver4.readthedocs.io/en/release/quickstarts/6_aspnet_identity.html
- Add IdentityServer4 Javascript client https://identityserver4.readthedocs.io/en/release/quickstarts/7_javascript_client.html
- VueJS official docs https://vuejs.org/v2/guide/