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

Version for .NET Core 1.1? #67

Open
FBueckert opened this issue Nov 28, 2017 · 2 comments
Open

Version for .NET Core 1.1? #67

FBueckert opened this issue Nov 28, 2017 · 2 comments

Comments

@FBueckert
Copy link

I've been looking around for a cleaner way of implementing authorizations rather than dumping code into my razor views. Feels too much like classic ASP with VBScript. This tag helper would help immensely with it, but my project is limited to 1.1. Is there a way to use this tag helper with 1.1? I see an issue for upgrading to 2.0, but I can't find a version previous to that.

@dpaquette
Copy link
Owner

I made this tag helper after I moved the samples repo over to 2.0 so I never did have a 1.1 version. I'm not sure if the 1.1 version would be much different. Can you start by trying to copy the code for this tag helper into your project?

@FBueckert
Copy link
Author

Sorry for the late reply.

I tried copying the AuthorizeTagHelper class into my code, and it's missing a few things for it to work. There's no 1.1 version for Microsoft.AspNetCore.Authorization.Policy, which I suspect is the critical issue.

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

No branches or pull requests

2 participants