system.web

C#/.NET - Help, I have only three classes in my System.Web namespace..

I discovered the problem when I got a suggestion to use the System.Web.HttpUtility class for a certain task. Looking at the documentation, I should have about 50 classes in System.Web, but I have only these: AspNetHostingPermission AspNetHostingPermissionAttribute AspNetHostingPermissionLevel I make this assumption since they are th...

Can't add System.Data.Linq or System.Web to project

I can't add System.Data.Linq or System.Web to project, each time I do I get a warning symbol yellow !, on the reference Any ideas why? I had it working all okay this morning ...

Does HttpResponse work in a "using" block with out a explicit response.close()

Hi all, I was trying to get clarification on this : Method-1: Dim request = CreateRequest(uri) //some uri Dim response = DirectCast(request.GetResponse, HttpWebResponse) response.Close() Method-2: Dim request = Createrequest(uri) Using response = DirectCast(request.GetResponse, HttpWebResponse) End Using When I used both Method-1...

No System.Web In VS2010

In a WPF project, I'm trying to add System.Web as a reference but in Project -> Add Reference -> .NET there's no System.Web. Any ideas? Thanks. ...

Difference between "InProc" & "stateServer" mode in SessionState on ASP.NET

Hey, like the title shows I want to know what is the difference between "InProc" & "stateServer" mode in SessionState on ASP.NET. Thanks ...

Problem with <system.web.extensions> config group when upgrading to .NET 4.0

Hi Guys, So we've upgraded our site from 3.5 SP1 -> .NET 4. When we ran the site, we got an Internal Server Error (500), stating the following configuration group could not be read: <system.web.extensions> <scripting> <scriptResourceHandler enableCompression="true" enableCaching="true" /> <webServices>...

Can't add a reference to System.Web to my Windows Service aplication

Hi I'm trying to create a Windows Service in VS2010 but can't seem to add System.Web as reference. When I browse for it and add it manually I get an exclamation mark over the reference. I've tried adding it for other projects and it works fine, just not for a windows service project. Is there a reason for this? I need it to call System....

Cannot add System.Web.dll reference

I'm trying to use the HTTP functions contained in the System.Web.dll assembly. However, whilst the dll seems to exist in the same directory as every other dll Visual Studio 2010 references in my project, it fails to link in and raises a warning - "The referenced component 'System.Web' could not be found". The dll, however, is definitely ...

How to access ASP.Net Session object outside the web project (class library)

I am implementing a custom membership and role providers where I need to store all the role/membership information in the user's session. I am implementing these custom providers inside a class library project (different from the website project) and need to access the session in them. The idea is to store the role/membership related in...