Hi,
I tried to migrate my existing Wisej OWIN Self Hosted code to use 2.0 Wisej.Framework. I have noticed the below are not available in the 2.x beta release. Is there any work around to fix the below ones?
Source file: WisejWorkerRequest.cs
(1) Wisej.Core.ResponsiveProfileChangedEventArgs : Does not exist in the namespace
(2) Wisej.Base.ApplicationBase.RestoreSession(HttpContext.Current) : Does not exist in the namespace.
Can you pl help me with it?
Thanks and regards,
Diwakar
Hi,
I found ResponsiveProfileChangedEventArgs is now under “Wisej.Web” and it works ok, thank you for your inputs. Also the ‘Application’ object is now part of the ‘Wisej.Web’ namespace but I could not find ‘RestoreSession‘ method in ‘Application’ object and hence not sure if there is any work around to restore the session in the new Wisej 2.0:
Usage example:
Wisej.Web.Application.RestoreSession(HttpContext.Current);
Does this method exist or any work around? Your help is much appreciated.
Best regards,
Diwakar
Use Application instead of ApplicationBase. See section 10 in the Wisej-WhatsNew-2.0.pdf installed with Wisej 2.
Please login first to submit.