-
Notifications
You must be signed in to change notification settings - Fork 39
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
Suggestion: Using StrongName instead #11
Conversation
Thanks for bringing this to my attention! I don't want to maintain two separate Nuget releases because it's a hack, confuses people and causes the double-package problem. Even though I'm personally against strong naming (it should be deprecated all together), what should happen is StackExchange.Redis should not have two separate packages (because it causes problems like this). It forces every library that has a dependency on StackExchange.Redis to also have two separate libraries. If the library wants to support strong naming, it should just be a single library with a frozen assembly version. I'll leave this open and continue the discussion on StackExchange/StackExchange.Redis#146. |
@Tazer I'm sure you're getting updates on the other issue, but right now without having to rebuild/change any libraries/dependencies, you can do the following in your project.
Because you don't need to use StackExchange.Redis directly when you configure Microsoft.Web.RedisSessionStateProvider, you can change its alias to anything other than |
Great, Thanks for the update. I did solve it in the meantime with a custom built version with StackExchange.Redis.StrongName as a Reference, But will use your suggestion when I have some time over |
But guess your comment would be great to have in the README.md ? :) |
Yup - I've added a link back to this PR in the README. Thanks! |
I have to use strong naming due to policy in my company. To be able to use this library i had to compile sources with my own key(as well as redis lib). Now i will not be able to use updates from this lib('cause they will not appear in my nuget and i'll miss them). Such a pity.... |
@dobryanskyy Your company needs to review it's policy because strong naming is not guaranteed and is not recommended for sandboxing anymore. If you submit a PR that automatically does the strong naming, I'd be happy to include it for those that need it. |
@dobryanskyy Have you seen this: https://github.com/dsplaisted/strongnamer |
Yes, I've seen that. I even tried it. But for some reason - it crashed upon working on this package. |
Should this be done ?
The problem is with: http://blogs.msdn.com/b/webdev/archive/2014/05/12/announcing-asp-net-session-state-provider-for-redis-preview-release.aspx also made an issue here: StackExchange/StackExchange.Redis#146