Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand

Archive for the ‘IIS’ Category

Manually install .Net 4.0 application pools

Posted by Jean Paul on January 17, 2011

If you are working in old version of IIS, you may not find the latest application pools for .Net 4.0.  This small article provides to install the missing .Net 4.0 application pools.

Manually install the .Net 4.0 Application Pools

Step 1: Open command prompt and locate the 4.0 folder

image

Step 2: Use the command “aspnet_regiis.exe –i”

image

Wait for the installation to complete.

image

Step 3: Open IIS Manager to view the pools

You can click on the Application Pools link on the left to view the installed .Net 4.0 pools

image

Posted in ASP.NET, IIS | Tagged: , , | Leave a Comment »

What is Host Header and how to configure it?

Posted by Jean Paul on January 11, 2011

 

Host Header is a third piece of information to identify a web site.

Thus the web site can be identified by using the following:

    • IP Address
    • Port
    • Host Header

Host Headers was introduced in HTTP 1.1

Eg: http://www.google.com

www.google.com is the host header

Configuration in IIS

We can configure host header in IIS using inetmgr application.

After configuration we need to publish the host header in the WINS (Windows Name Service) or DNS (Domain Name Service) depending on the site is an intranet or internet site.

Posted in ASP.NET, IIS | Tagged: , , | Leave a Comment »

Deploying ASP.NET application to Production Server using FTP

Posted by Jean Paul on November 30, 2010

Visual Studio really makes it simple for deploying web applications.

In this article we are going to use FTP for deployment.

Scenario

Hope you have a web application with multiple folders and dozens of file.  Selecting each item and uploading to the site is really tedious job.  We can simplify it by the following.

Pre-requisites

You should have the following:

  • FTP Server Name
  • Username and Password
  • Folder on server

Deployment

Open the solution and right click on the web project and choose the option Publish.

image

You should see the following dialog window.

image

Click on the “…” button highlighted against the Target location item.

You will be prompted with the dialog box below.

image

Enter your Server name, Directory, Username and Password.

Uncheck the Anonymous Login checkbox.

After entering, cilck the Open button.  This will close the dialog box.

Now you can click Publish to do the deployment.

Posted in ASP.NET, IIS | Tagged: , , , | Leave a Comment »