I have written a simple REST API in WCF, and the authentication mechanism uses an API key. Once the client submits the API key in the request header, I check it on the server side (in the BaseService
I have create a WCF service using the WCF REST stater kit. I am using a RequestInterceptor to do authentication(API Key validation).Inside of the RequestInterceptor(ProcessRequest method) I want to ge
How are threads created and managed by the HttpApplication in ASP.NET? What determines if an HttpContext opens a new thread or uses an existing thread?How can this be controlled?
Well, it seems like I\'m stuck in my application structure. Here\'s what I want to do: UI layer: An ASP.NET webforms website.
I am trying to write a unit test for a controller that has a dependency on a type whose lifestyle is \"PerWebRequest\".
We wanted to upgrade our projects from ASP.NET MVC 2 to 3. Most of our tests succeeded, but there are some that fail on ValueProviderFactories.Factories.GetValueProvider(context).
I have the following assemblies in my ASP.NET app: Website - this is an ASP.NET website ClassLib - this is just a class lib that contains all the business logic
I am facing a strange issue while authorizing myself via HttpContext.Current.User.IsI开发者_运维技巧nRole(\"DOMAIN\\\\RoleName\").
I have a question. I\'ve built custom class in my project that contains开发者_高级运维 public static property ctx and assingn HttpContext.Current object to it. In runtime that property seem to referen
How can i add th开发者_如何学运维e session to a fakeContext ? This function have we build for partial request where the content must be returned as a string.