Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends
I am create the website application in asp.net framework 3.5.
here not create the exe file like webapplication.

How am added the exe file to this site application..

please help me friends..
Posted
Comments
Sandeep Mewara 16-Jan-13 10:20am    
Elaborate:
i want to add the exe file like normal webapplication

1 solution

Create a new application. On the main form drop a web browser control and set it to fill the form. Set the target URL property to the URL of your web application. Test the app to make sure it opens and runs your web application correctly. Change the build configuration to Release and build the project.

Open the project folder on your computer, find the Bin/Release folder... in it will be your .exe file.

Alternately, you could write a console app that shells out the user's default browser passing in the URL of your web app. The process is relatively the same in that when you change the build to release you will get an .exe in the Bin/Release folder that you can distribute.

You should realize that this doesn't turn your ASP web application into a desktop application... it just wraps your web site in an exe. Web apps and desktop apps are two totally different things and there is no way to convert one to the other.
 
Share this answer
 

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