Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » ASP.Net   (RSS)

Required permissions when calling a Web service using client certificate for authentication in an ASP.NET Web application

A Web service requiring Client certificate authentication is a common scenario. You may have a client application which needs to send the Client certificate as part of the web request for accessing the web service. This client application may be a Windows/Console

Visual Studio 2005/2008 IDE: Web Controls in the Toolbox seen grayed out for Asp.Net projects ?

Here is a quick post that may help you save few hours if you get into this problem. Symptoms -- Out of blue you realize that when you try to create and open a new Web site/Web Application project we do not see any of the Web controls in the Toolbox. It
Posted by Saurabh Singh | 2 Comments
Filed under: ,

Automate client certificate one-to-one mapping in IIS 6.0 using C#

In PSS, we occasionally get requests from our customers wherein they want to automatically add entries for client certificate mapping in IIS or Active Directory (AD). That is either a 1-to-1, Many-to-1 or AD mapping for the client certificate authentication

Unable to load DLL 'bcrypt.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I recently had the privilege to get access to a machine from a colleague of mine. It was a Windows server 2003 server and I had to test some ASP.Net application for one of my pet projects. I was focusing completely on the project at hand before I was
Posted by Saurabh Singh | 2 Comments
Filed under:

Asp.Net Request routing implementation fails with Null Reference exception

I recently had the pleasure of working on the implementation of Asp.Net Request Routing feature that comes in bundled with .Net Framework 3.5 SP1. This is a cool stuff wherein care has been taken to ensure it can be used independently of MVC Framework.
Posted by Saurabh Singh | 3 Comments
Filed under: ,

Programmatically managing Virtual Server using C#

Virtual Server 2005 (VS2005) is a well-known tool to manage Virtual Machines (VMs) on a host server. It is a great feature to manage virtualization for hardware/software. Most often one would use the VS2005 Web Admin interface to manage VMs. But at times

Change in IIS MMC setting may cause unwanted restarts of W3SVC

Recently we have discovered an issue with IIS Manager wherein changing settings in a certain way may cause unexpected restart of World wide Web Publishing Service. And this may happen before you realize until you go back to the Application event log and
Posted by Saurabh Singh | 4 Comments
Filed under: , ,

Unable to correctly display Chinese (Unicode) characters in Excel when opened through ASP.Net page

Recently I was working on an issue wherein one of our customers was trying to stream data from their web application in CSV format for it to be recognizable and opened through Excel on the client's end. Basically they were setting content-type and content-disposition

How to achieve a feature similar to single logon for multiple web applications using Basic authentication

Here is something which I recently figured out. This may be very simple to many but thought of sharing it for a wider audience. Let's say you have two ASP.Net web applications running on two different servers. Now, assuming you have a constraint wherein

Accessing Request.CurrentExecutionFilePath property in Response.Redirect Vs Server.Transfer methods

Ok, I understand you might feel lethargic while viewing this blog of mine thinking, here again the same old crap about server.transfer and response.redirect. Don't know how many links you would already have found if you did a Live or Google on the net
Posted by Saurabh Singh | 1 Comments
Filed under:

Getting little deeper: How ASP.Net Forms based authentication flows...

I have been recently supporting Asp.Net apart from IIS in the role of a Microsoft GTSC Developer Support Engineer. I had been a programmer earlier, but had more expertise on C, C++ and other unmanaged non-web stuffs. I am new to Web technology as per
 
Page view tracker