摘要: 1. create class which is inheirt from DBContext, make sure there is an database connection which is named of xxxx public class SimpleContext : DbConte 阅读全文
posted @ 2021-06-18 10:51 Kevin-xk 阅读(43) 评论(0) 推荐(0)
摘要: 1. add nuget packages below Microsoft.AspNet.WebApi.Owin Owin Microsoft.Owin.Host.SystemWeb Microsoft.Owin.Security.OAuth Microsoft.Owin.Security.Cook 阅读全文
posted @ 2021-06-08 10:27 Kevin-xk 阅读(173) 评论(0) 推荐(0)
摘要: 1. Install thease packages 2. Using migration by package manager console, and you will see 'Data\Migrations\IdentityServer' folder Add-Migration InitC 阅读全文
posted @ 2021-05-31 11:20 Kevin-xk 阅读(149) 评论(0) 推荐(0)
摘要: Crime tools: VS2019 Postman Weather: Cloudy 1. Create another api project for testing client_credentials Install package Microsoft.AspNetCore.Authenti 阅读全文
posted @ 2021-05-27 22:13 Kevin-xk 阅读(76) 评论(0) 推荐(0)
摘要: Crime tools: GW 3.6 (1.2+0.8) Weather: Sunny Temperature: 19°~26° What a nice day, haha. So I'm gonna to go fishing. Arrived after one hour. Now we sh 阅读全文
posted @ 2021-05-23 21:00 Kevin-xk 阅读(68) 评论(0) 推荐(0)
摘要: Crime tools: VS2019 Postman Weather: Rainning Today we continue with the last project. 1. Open the path of the project and type into cmd 2. Install Qu 阅读全文
posted @ 2021-05-20 22:36 Kevin-xk 阅读(176) 评论(0) 推荐(0)
摘要: Crime tools:VS2019 Postman 1. Create Asp.net Core Web Application 2. Install IdentityServer4 by nuget package 3. Create a class used to simulate clien 阅读全文
posted @ 2021-05-18 22:15 Kevin-xk 阅读(53) 评论(0) 推荐(0)