Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASP.NET MVC Middleware needs to be developed #24

Closed
hsluoyz opened this issue Mar 12, 2020 · 13 comments
Closed

ASP.NET MVC Middleware needs to be developed #24

hsluoyz opened this issue Mar 12, 2020 · 13 comments
Assignees
Labels
enhancement Enhancement the exist feature

Comments

@hsluoyz
Copy link
Member

hsluoyz commented Mar 12, 2020

https://dotnet.microsoft.com/apps/aspnet/mvc

@hsluoyz hsluoyz self-assigned this Mar 12, 2020
@hsluoyz hsluoyz added the help wanted Extra attention is needed label Mar 12, 2020
@AaqibAhamed
Copy link

I want to contribute for this issue as a GSoC 2020 student contributer.

@hsluoyz
Copy link
Member Author

hsluoyz commented Apr 28, 2020

@AaqibAhamed please find an issue to work on the code. A lot of students have been working on solving our issues these days.

@AaqibAhamed
Copy link

Yeah.Sure I'm looking into issues.Can you point one or some issues to start first from easy to hard.Thanks for the response.

@hsluoyz
Copy link
Member Author

hsluoyz commented Apr 28, 2020

this issue

@AaqibAhamed
Copy link

AaqibAhamed commented May 2, 2020

Hi @hsluoyz
Sorry, I was busy with Casbin EFCore-Adapter.Now I'm start working on this issue #24.I need some more info.Which has been mentioned below.
In which way have to implement ASP.NET MVC Middleware need to be develop?
Please create a Roadmap if it is possible . If any solid reference available from Golang mention here.

@hsluoyz
Copy link
Member Author

hsluoyz commented May 2, 2020

I think ASP.NET MVC supports to develop some sort of request filter middleware? Casbin can be a filter there to check subject, object, action in the request. See top Golang middlewares as example: https://casbin.org/docs/en/middlewares

@AaqibAhamed
Copy link

I think ASP.NET MVC supports to develop some sort of request filter middleware? Casbin can be a filter there to check subject, object, action in the request. See top Golang middlewares as example: https://casbin.org/docs/en/middlewares

Thanks.Alright I will work on it.

@hsluoyz hsluoyz added the enhancement Enhancement the exist feature label Jun 10, 2020
@hsluoyz
Copy link
Member Author

hsluoyz commented Jun 10, 2020

@sagilio we still lack an official authz middleware for the No.1 web framework in C# (I think it is ASP.NET MVC?) . Casbin has the tradition to develop middlewares for various popular web frameworks for easier integration. Can you work on this one?

@hsluoyz hsluoyz pinned this issue Jun 10, 2020
@sagilio
Copy link
Member

sagilio commented Jun 10, 2020

@sagilio we still lack an official authz middleware for the No.1 web framework in C# (I think it is ASP.NET MVC?) . Casbin has the tradition to develop middlewares for various popular web frameworks for easier integration. Can you work on this one?

The ASP.NET MVC is an obsolete framework and the ASP.NET Overview also recommend to use the new ASP.NET Core (Include MVC/Web API and Blazor) framework as an alternative to ASP.NET. There is a comparison between them.
I am planning the extension project about providing a NuGet package for ASP.NET Core to easily use the Casbin.NET. I think we can support it first.

@hsluoyz
Copy link
Member Author

hsluoyz commented Jun 10, 2020

@sagilio sure, let's go ASP.NET Core way first.

@hsluoyz
Copy link
Member Author

hsluoyz commented Jun 10, 2020

What's your next step, if you need any help, like creating repo, please tell me.

@sagilio
Copy link
Member

sagilio commented Jun 10, 2020

I have sent the Implementation plan overview to @huazhikui. When decided the plan and repository name, I will open a new issue and tell you.

@hsluoyz hsluoyz unpinned this issue Jun 11, 2020
@hsluoyz
Copy link
Member Author

hsluoyz commented Jun 11, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement the exist feature
Projects
None yet
Development

No branches or pull requests

3 participants