Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET4.0
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 16-Jan-13 4:06am
onpavan649
Comments
Sandeep Mewara at 16-Jan-13 10:20am
   
Elaborate:
i want to add the exe file like normal webapplication

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  

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

  Print Answers RSS
0 Nirav Prabtani 288
1 OriginalGriff 254
2 Sergey Alexandrovich Kryukov 224
3 _Amy 165
4 Richard MacCutchan 145
0 OriginalGriff 7,744
1 Sergey Alexandrovich Kryukov 6,956
2 Maciej Los 3,994
3 Peter Leow 3,708
4 CHill60 2,742


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 16 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100