-
Create a webapi starter project or you can directly use my demo project
git clone https://github.com/xcaptain/CasbinTestProj
-
Clone this library (when this package get published this step would omitted)
git clone https://github.com/casbin-net/EFCore-Adapter
-
Create a local nuget package
cd EFCore-Adapter dotnet packthen you can see package file at
bin/Debug/ -
Modify the csproj file at
CasbinTestProjto find the location ofEFCore-Adapter, e.g.<RestoreSources>$(RestoreSources);~/github/EFCore-Adapter/bin/Debug/</RestoreSources> -
run the demo project to see how to get roles of a user
samchenws/EFCore-Adapter
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|