casbin / Casbin.NET

An authorization library that supports access control models like ACL, RBAC, ABAC in .NET (C#)
https://casbin.org
Apache License 2.0
1.13k stars 110 forks source link

Where can I find ASP.NET 6 examples? #311

Closed ZedZipDev closed 3 months ago

ZedZipDev commented 1 year ago

I'd like to find examples to check how to use Casbin.NET in NET6 Web Services. Are they somewhere?

casbin-bot commented 1 year ago

@sagilio @sociometry @AsakusaRinne

hsluoyz commented 1 year ago

@sagilio

AsakusaRinne commented 1 year ago

Hi, maybe the examples here is what you wanted.

ZedZipDev commented 1 year ago

This example does not work, I have created an issue there https://github.com/casbin-net/casbin-aspnetcore/issues/58

ZedZipDev commented 1 year ago

The question still is: how to use Casbin.NET in NET 6 applications? What service(s), extension(s) need to add?

ZedZipDev commented 1 year ago

@AsakusaRinne Thank you. I have tried, but they do not work, I have added an issue https://github.com/casbin-net/casbin-aspnetcore/issues/58

hsluoyz commented 3 months ago

@ZedZipDev the issue: https://github.com/casbin-net/casbin-aspnetcore/issues/58 has been fixed. So this issue has also been resolved.