Enable content expiration under IIS 7

In IIS6, it was with the website properties –> HTTP Headers. Here in IIS7, you can do this on the “HTTP Response Headers” feature on the website.

  • Select the website in the Connections pane.
  • Double click on the “HTTP Response Headers” feature in the features pane
  • In the action pane, click on the “Set Common Headers…”


  • You will see the following popup


Now, you know what to select. You should enable the HTTP Keep-Alive on this popup only.


Source : http://blogs.msdn.com/b/rakkimk/archive/2007/07/10/iis7-how-to-enable-content-expiration.aspx

Run CGI program under IIS 7.0

Looking around I didn’t find a good documentation on how to get good old CGI’s running on IIS 7 or 7.5. Here is a quick walkthrough:

1. Let’s write a quick CGI:
Take the following code and save it as simplecgi.cs in the directory c:\inetpub\wwwroot\cgi

using System;
using System.Collections;

class SimpleCGI
    static void Main(string[] args)
        Console.WriteLine("<h1>Environment Variables</h1>");
        foreach (DictionaryEntry var in Environment.GetEnvironmentVariables())
            Console.WriteLine("<hr><b>{0}</b>: {1}", var.Key, var.Value);

2. Change into the C:\inetpub\wwwroot\cgi directory and compile the source by using the following command-line:

%windir%\Microsoft.NET\Framework\v2.0.50727\csc.exe SimpleCGI.cs

Read more of this post

Making your own portfolio web page

Need personal web page? In this tutorial we will learn to create nice personal portfolio web page.

Start working by creating a new file (File>New), having 770×750 px and 72 dpi. We shall use on this new made file the Rectangle Tool (U) to represent the background of the site’s page to be.

Making your own portfolio web page in Photoshop CS3

Set the next parameters for this layer by making a mouse click on the layer we work with on the layers’ panel: Blending Options>Gradient Overlay

Making your own portfolio web page in Photoshop CS3

Gradient’s parameters:

Making your own portfolio web page in Photoshop CS3

Making your own portfolio web page in Photoshop CS3

Choose again the Rectangle Tool (U) to represent that place reserved for the author’s portrait and the lateral menu. Firstly we have to represent the common primary layer and then press Alt button to divide the zones, applying the same tool, used before. Read more of this post

Define Version of .Net Framework in IIS 7 Web Server (Under Windows 7)

To define version of .Net Framework that we use in IIS 7 Webserver (depend on what .Net technology we use for our web apps), we can setup our IIS 7 webserver setting, it’s not much that we have to do, the only thing we have to change is just adjust setting of the .net version in our IIS webserver, the whole steps will be explain below :

–          Go to the “Control Panel “, Start > Control Panel

–          Choose “Administrative Tools”

–          Then choose “Internet Information Services”

–          After the IIS 7 windows appear go to the right menu, then choose “Change .Net Framework Version”

–          After new windows appeared, we can choose which the .Net Framework that we want to use for our IIS 7 Web server

–          Then Press “OK”

That’s All, just keep it simple

Installing IIS 5.1 Web Server on Windows XP

IIS web server is a web server provided by Microsoft, which is used as a server for the website based on asp or asp.net. to install a web server in our computer, follow the steps :

1. Go to the control panel > Add/Remove Programs > Add/Remove Windows Components

Internet Information Services (IIS) part 1

2. After windows Component wizard appears, find check box “Internet Information Services” and checked that options.
Read more of this post