Tuesday, November 26, 2013

How to enable IIS on window 7 OR Installing the IIS on Window 7

Introduction: In this article I will explain how we can enable the IIS on window 7.
Description:

IIS stand for Internet Information Services. By default IIS is not enabled on window 7. To enable the IIS follow the below mention steps:
Step 1: click on start and then click on Control Panel.
IIS
(Click to enlarge)
Step 2: Control panel will be open and click on Programs and features.
IIS
(Click to enlarge)
Step 3: click on Turn windows features on or off.
IIS
(Click to enlarge)
Step 4: pop up window will be and take some time to load window features.
Step 5: In pop up windows features looks for IIS (Internet Information Services).
IIS
(Click to enlarge)
Step 6: select the IIS checkbox and hit the Ok button.
Step 7: now you see a progress indicator appears it would take some time for configuration. When the configuration complete windows dialog close itself.

IIS is now installed/enabled. To confirm installation is successful or not type the http://localhost/ on browser.
IIS
Default website

Sunday, November 17, 2013

What is Scaffolding in Asp.net MVC?

Introduction: in this article I will explain what is Scaffolding in Asp.net MVC.

Description:

Scaffolding is used by many software technologies. It’s a code generate framework in MVC application. Scaffolding provides as quick way to generate code for CRUD (Create, Read, update and Delete) in MVC application. Scaffolding is time saving to write code for application.

How to hide div element according to screen resolution

Introduction: in this article I am going explain how we can hide a div element according to screen resolution via CSS.

Sometimes we need to hides div element on screen resolution commonly used in responsive websites. Simple we can do it via media query.  Add the below given code in your stylesheet and define your resolution/width as you needed:

@media (min-width: 0px) and (max-width: 480px) {
.sidebar {  display: none; }
}

Thursday, November 14, 2013

HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.

Introduction: In this post I will explain how we can solve the “HTTP Error 403.14 – Forbidden The Web server is configured to not list the contents of this directory.” error when we run the website on IIS.
HTTP Error 403.14 - Forbidden

This error occurs when request URL and directory browsing is not enabled/configured. To solve this error follow the below given steps:
1.       Open IIS manager and select the website for which show the error.
2.       Double click on Directory browsing.

Tuesday, November 12, 2013

HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

Introduction: In this post I am going to explain how we can solve the “HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.” error when we run the website on IIS.
HTTP Error 404.3 - Not Found


To solve this error follow the below given steps:
11.      Open control panel and click on programs and features.
22.      Click on “turn windows features on or off “option.
33.      Pop up window will be open and look for IIS (internet information services).
44.     Expand the IIS.