You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My previous thoughts were correct -> the ICache stuff is crap.
In the nancy bootstrapper, you can define what backstore is used for the Session. As such, I'll make a new CacheData class and store that in the Session and make sure that this class is Serializable.
- Referencing the NancyFX MyGet library for the latest -pre which includes updates to the INancyModule interface.
- Added a NuGet.config file to reference the MyGet api.
- Removed the ICache (fixesSimpleAuthentication#145).
- Removed the HttpClient code. Now uses the WorldDomination.HttpClient.Helpers package instead.
- Provider key is not required to be sent to the Provider. The session now stores this.
- IAuthenticationProviderCallback returns dynamic (closesSimpleAuthentication#155).
- IAuthenticationProviderCallback methods are not async (closesSimpleAuthentication#151).
The Nancy Module has this property :
public ICache Cache { get; set; }
I do this in the Module's ctor...
I have no idea how I can ever pass some
ICache
instance to the module, considering the module is auto created by the nancy framework.In general, I think the crap shit crap I did for Cachig is wrong. Bad. crap.
This needs to be re-visited.
please.
The text was updated successfully, but these errors were encountered: