Casbin.NET icon indicating copy to clipboard operation
Casbin.NET copied to clipboard

Use exist well-established configurion parser

Open sagilio opened this issue 3 years ago • 4 comments

the model file is a standard ini format, we can use the existing configuration interface to more easily to integrate to .NET.

ref: https://www.nuget.org/packages/Microsoft.Extensions.Configuration.Ini #263 #258

sagilio avatar Jun 19 '22 09:06 sagilio

@sagilio @xcaptain @huazhikui

casbin-bot avatar Jun 19 '22 09:06 casbin-bot

@sociometry

hsluoyz avatar Jun 19 '22 13:06 hsluoyz

@sagilio will this std lib API align with our commenting style? https://casbin.org/docs/en/syntax-for-models#docsNav:~:text=A%20model%20CONF%20can%20contain%20comments.%20The%20comments%20start%20with%20%23%2C%20and%20%23%20will%20comment%20the%20rest%20of%20the%20line.

hsluoyz avatar Jun 19 '22 13:06 hsluoyz

@hsluoyz Yes, they have the same style.

sagilio avatar Jun 19 '22 13:06 sagilio