基本商店API REST
建立这个项目
dotnet restore
转到src \ BasicShopDemo.Api
在appsettings.json中配置数据库和设置
{
" Logging " : {
" LogLevel " : {
" Default " : " Information " ,
" Microsoft " : " Warning " ,
" Microsoft.Hosting.Lifetime " : " Information "
}
},
" AllowedHosts " : " * " ,
" ConnectionStrings " : {
" DefaultConnection " : " Server=localhost;Database=BasicShop;User I
评论0
最新资源