httpcontext
HttpContext namespace
I need to write a NUnit script to test the cache data. I added a project(Class libray) in my project and add reference to NUnit.Framework. But i am not getting the \"HttpContext\" in my code. Please t[详细]
2023-03-19 02:37 分类:问答ASP.NET Website HttpContext.Items is empty at random in HTTPHANDLER
I am having trouble accessing the HttpContext.Items[typeof(UserProfile)] object sometimes when the Http Handler is called, where UserProfile is the object stored in the session cookie via forms authen[详细]
2023-03-16 21:19 分类:问答What, exactly, is the "Context" naming convention
I am trying to defi开发者_开发问答ne when to name a class as a Context and I am having a very difficult time. Could someone please define \"Context\" for me and explain when to name a class \"Context\[详细]
2023-03-16 05:36 分类:问答get application url from current request
I am writing a c# application. I am accessing a page eg http://dev.mysite.com/page.a开发者_StackOverflowspx[详细]
2023-03-14 07:26 分类:问答HttpContext.Request.Form has value, null when assigned to variable
I am at a loss. We have a class that handles callbacks from client-side actions jQuery开发者_如何学Python.ajax({data: data, error: null, success: null, type: \"POST\", dataType: \'json\', url: \"/myl[详细]
2023-03-14 05:29 分类:问答Get/Set HttpContext Session Methods in BaseController vs Mocking HttpContextBase to create Get/Set methods
I created Get/Set HttpContext Session Methods in BaseController class and also Mocked HttpContextBase and created Get/Set methods.[详细]
2023-03-12 08:46 分类:问答How could I access the ViewState of the current page using HttpContext?
How could I access the ViewState of the current page using HttpContext I have a ViewStateUtil class that I\'d need to implement:[详细]
2023-03-12 05:48 分类:问答HttpContext.Current.Request.Url.Authority giving wrong Authority names
I have two production web servers that are load balanced and that sit in a DMZ.I have a form that needs to open another form based on certain criteria.One of the servers works fine and gives the full[详细]
2023-03-11 16:20 分类:问答Can you in code find out what OutputCache VaryByParams values have been set on a page/control in .NET?
Given an outputcache directive like this on a page <%@ OutputCache Duration=\"3600\" VaryByParam=\"Id\" %>[详细]
2023-03-10 17:07 分类:问答ASP.NET Send Cookies to client Browser
I\'m integrating a single sign on over 2 ASP.Net applications. For that matter i have a web service that is called by the main app. when a user logs in. this web service authenticates the user in my s[详细]
2023-03-09 19:31 分类:问答