Hi,
I am trying to run an ASP.net application. What files do I need to keep in inteup and what files can I put anywhere else on my HDisk.??
Thanks,
Hello Bilalso,
I am not really sure what you mean but maybe this will help you out.
The files needed to run an ASP.NET application are all.aspx pages and the completebin folder. The codebehind files (.aspx.cs) are not necessary to run the application when it is compiled all codebehind code is stored in a.dll file which is stored in thebin folder. When you are using usercontrols you should also store the.ascx files and of course any third parties components should be included (usually in thebin folder).
You can store you're website anywhere on your hardrive as long as you configure IIS correctly. To do this create a virtual website under the Default website using the following steps:
- Open IIS
- Select the Default website and press the right mouse button
- Goto New -> Virtual website
- Submit an Alias for the Virual directory (can be anything you want)
- Now select the directory where your website is located on your harddrive
- Leave the access permissions as they are (unless you have special wishes)
- Hit the Finish button and you are ready
A hope this answers your question.
Cheers, Maurits
Hello:
You need to create a new website with either Visual Studio.NET, WebMatrix, Visual Web Express. They will create the website for you, in the wwwroot folder of the inetpub.
Have you installed .NET om your machine?
Regards
0 comments:
Post a Comment