Why can\'t I use HttpContext
or HttpCookie
?
Is there a special using?
My actual usings:
using System;
using System.Collecti
The namespace for HttpContext
and HttpCookie
is System.Web
which is part of the System.Web.dll
library.
Go right click the projects References
and select Add References...
. In the newly opened window click on Assemblies
and then search (via the search bar in the upper right) for System.Web
.
Then you should be able to use it via
using System.Web;
So Hello guys
I found a solution, try to use this wonderful blog entry.
Note: Make sure you install the nuget-packages via the nuget installer and make also sure you checked the checkbox “include prerelease”.
Hope my poste was helpful