What is IIS Metabase

IIS Metabase is a structure where IIS configuration settings are stored. The metabase configuration and schema for IIS 4.0 and IIS 5.0 were stored in a binary file, but from IIS6.0 the configuration and setting is stored in single binary file (MetaBase.bin), with plain text, Extensible Markup Language (XML)-formatted files… Continue reading

Steps to Deploy the WCF service to IIS on Windows XP

On the Windows Start menu, click Run. In the Run dialog box, type inetmgr, and then click OK. The Internet Information Services console starts. In the Internet Information Services console, expand the node corresponding to your computer in the tree-view, and then expand Web sites. Right-click Default Web Site, point to New,… Continue reading

Steps to Deploy the WCF service to IIS on Windows Vista

In the Windows Control Panel, click System and Maintenance, click Administrative Tools, and then double-click Internet Information Services (IIS) Manager. The Internet Information Services (IIS) Manager starts. In the Internet Information Services (IIS) Manager, expand the node corresponding to your computer in the tree-view, and then expand Web sites. Right-click Default Web Site,… Continue reading

How to Set Up SSL on a Server

In IIS Manager, expand the local computer, and then expand the Web Sites folder. Right-click the Web site or file that you want to protect with SSL, and then click Properties. Under Web site identification, click Advanced. In the Advanced Web site identification box, under Multiple identities for this Web… Continue reading

How to block a website using the Hosts file in Windows OS

The location of the hosts file depends on your operation system. Windows XP, Vista and Windows 7 C:\WINDOWS\system32\drivers\etc\hosts Windows 2000 C:\WINNT\system32\drivers\etc\hosts Note! Make a backup of the hosts file and put it somewhere safe, in case you mess up. Open the hosts file using Notepad or other plain text editor…. Continue reading

How can we host a Silverlight Application?

When you create a Silverlight project, it asks you to create a Web Application project. This project is responsible for hosting your XAP file. Generally Silverlight application doesn’t require any server to host it to run, but if you are planning to host it in web you must need a… Continue reading

What is Web Gardening? How would using it affect a design?

The Web Garden Model: The Web garden model is configurable through the section of the machine.config file. Notice that the section is the only configuration section that cannot be placed in an application-specific web.config file. This means that the Web garden mode applies to all applications running on the machine…. Continue reading

Can we handle the error and redirect to some pages using web.config?

Yes, we can do this, but to handle errors, we must know the error codes; only then we can take the user to a proper error message page, else it may confuse the user. CustomErrors Configuration section in web.config file: <customErrors mode=”RemoteOnly” defaultRedirect=”Customerror.aspx”> <error statusCode=”404″ redirect=”Notfound.aspx” /> </customErrors> If mode… Continue reading