Giter Site home page Giter Site logo

jaryway / coffeeshopper-is4 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codewithiulian/coffeeshopper-is4

0.0 0.0 0.0 3.52 MB

An project integrating ASP.NET Identity with IdentityServer 4

JavaScript 0.05% C# 53.05% CSS 1.16% HTML 5.10% SCSS 31.76% TypeScript 8.84% Less 0.05%

coffeeshopper-is4's Introduction

CoffeeShopper-IS4

A project integrating ASP.NET Identity with IdentityServer 4

NOTE: please check out the different branches based on the 4 stages of this tutorial

Database

1、更新迁移文件

dotnet ef migrations add InitialIdentityDbContextMigration -p Server -c PersistedGrantDbContext dotnet ef migrations add InitialIdentityDbContextMigration -p Server -c ConfigurationDbContext dotnet ef migrations add InitialIdentityDbContextMigration -p Server -c AspNetIdentityDbContext dotnet ef migrations add InitialIdentityDbContextMigration -s API -project DataAccess -c ApplicationDbContext

2、创建数据库

dotnet ef database update --project Server --context PersistedGrantDbContext dotnet ef database update --project Server --context ConfigurationDbContext dotnet ef database update --project Server --context AspNetIdentityDbContext dotnet ef database update --startup-project API --project DataAccess --context ApplicationDbContext

3、初始化数据Ï

dotnet run --project Server /seed

TODO

[x] 添加实体,应用迁移和移除迁移后要更新实体的发布状态 [x] 重命名字段,新增字段,并将原字段标识为 Deprecated [x] 字段删除,不删除表字段,并将该字段标为 Deprecated [ ] 表名添加租户 id 前缀,注意导航属性也要处理 [ ] 增删改查 [ ] 获取导航属性

coffeeshopper-is4's People

Contributors

jaryway avatar codewithiulian avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.