Click here to Skip to main content
15,117,719 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
hello Experts!
i developed a website on inventory management System in C# language, it good and works fine!

my director told me to host it to his laptop. laptop has IIS installed but not visual studio. Some of asp Website host it already there and works fine.

Now, in his laptop i paste my folder into d:\\

then open IIS, and made a virtual directory, when i try to open it in browser it throws ERROR!
It advised me to
1. change code in web.config of
HTML
<handlers></handlers>

2. Installed Asp.net

i installed asp.net and it works so fine.

i want to know guys, is it necessary to installed asp.net to run asp.net website in a browser!
Posted

To host an ASP.Net site, yes, you need to have ASP.Net installed. That way IIS knows what to do with things like .aspx.
   
Hello Manish,

ASP.NET is a technology that, should one wish to host ASP.NET websites then YES, the hosting machine has to have it installed.

NOTE: and you have to make sure you install ASP.NET AFTER IIS or you will have to register the ASP.NET to the IIS later manually.

IIS is the tool with which you host websites, all kinds of websites, ASP.NET sites are merely one example). IIS - Internet Information Services (formerly called Internet Information Server)

To simply consume a website - NO, you don't have to install ASP.NET, you just need a browser.
:)

Good luck,
Edo
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900