Click here to Skip to main content
15,899,026 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: What is best way to convert desktop app to web app? Pin
peterchen23-Jul-10 20:05
peterchen23-Jul-10 20:05 
GeneralRe: What is best way to convert desktop app to web app? Pin
Ray Cassick24-Jul-10 3:29
Ray Cassick24-Jul-10 3:29 
GeneralRe: What is best way to convert desktop app to web app? Pin
bobishkindaguy27-Jul-10 10:06
bobishkindaguy27-Jul-10 10:06 
AnswerRe: What is best way to convert desktop app to web app? Pin
MattRhoades22-Jul-10 2:22
MattRhoades22-Jul-10 2:22 
GeneralRe: What is best way to convert desktop app to web app? Pin
kmoorevs22-Jul-10 4:54
kmoorevs22-Jul-10 4:54 
GeneralRe: What is best way to convert desktop app to web app? Pin
bobishkindaguy22-Jul-10 6:02
bobishkindaguy22-Jul-10 6:02 
GeneralRe: What is best way to convert desktop app to web app? Pin
bobishkindaguy22-Jul-10 5:57
bobishkindaguy22-Jul-10 5:57 
GeneralRe: What is best way to convert desktop app to web app? Pin
MattRhoades22-Jul-10 6:47
MattRhoades22-Jul-10 6:47 
This is a good overview of what a Smart Client is:
http://msdn.microsoft.com/en-us/library/ms998468.aspx[^]

This is a starter how-to:
Click Once Deployment Technique[^]

This article is missing one huge step though - Signing your app with a certificate and running the MAGE.EXE command on the deployment server. It'll work in VS, but then when you move it to a real web server, you have to include the certificate file and then run the MAGE commands to "certify" it on that machine.

For instance; Say your application is called "BobsApplication"

You would copy up the deployment files that VS outputs AND the certificate file (.pfx) that you need to generate under the "signing" tab. (in the Project->Properties->Signing tab), and the MAGE.EXE program up to your web server. You can put the cert. file and mage.exe in the same folder as your application. Then run the following MAGE commands at the DOS command line:

mage.exe -Update BobsApplication.application -pu http://YourServerName/BobsApp/BobsApplication.application

mage.exe -sign BobsApplication.application -cf BobsApplication_TemporaryKey.pfx

** Where BobsApplication_TemporaryKey.pfx is the certificate file that you generated under the Project->Properties->Signing tab. I also assumed you created an aliased folder in IIS call BobsApp in the first mage command. MAGE.EXE comes with Visual Studio, you can find it in the SDK folder (C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin)

Then, to Run your application, you would go to the browser and type:
http://YourServerName/BobsApp/BobsApplication.application

I would also search Google for something like:
"Building your first ClickOnce application"
or
"Building your first SmartClient application"

Hope that helps!
GeneralRe: What is best way to convert desktop app to web app? Pin
bobishkindaguy22-Jul-10 7:16
bobishkindaguy22-Jul-10 7:16 
AnswerRe: What is best way to convert desktop app to web app? Pin
Ralph.Popp22-Jul-10 2:25
Ralph.Popp22-Jul-10 2:25 
GeneralRe: What is best way to convert desktop app to web app? Pin
bobishkindaguy22-Jul-10 7:46
bobishkindaguy22-Jul-10 7:46 
AnswerRe: What is best way to convert desktop app to web app? Pin
ely_bob22-Jul-10 4:01
professionalely_bob22-Jul-10 4:01 
GeneralRe: What is best way to convert desktop app to web app? Pin
bobishkindaguy22-Jul-10 5:32
bobishkindaguy22-Jul-10 5:32 
GeneralRe: What is best way to convert desktop app to web app? Pin
ely_bob22-Jul-10 6:27
professionalely_bob22-Jul-10 6:27 
GeneralRe: What is best way to convert desktop app to web app? [modified] Pin
bobishkindaguy22-Jul-10 10:10
bobishkindaguy22-Jul-10 10:10 
GeneralRe: What is best way to convert desktop app to web app? Pin
ely_bob23-Jul-10 4:07
professionalely_bob23-Jul-10 4:07 
GeneralRe: What is best way to convert desktop app to web app? Pin
bobishkindaguy27-Jul-10 9:33
bobishkindaguy27-Jul-10 9:33 
AnswerRe: What is best way to convert desktop app to web app? Pin
tedmondson22-Jul-10 4:07
tedmondson22-Jul-10 4:07 
AnswerRe: What is best way to convert desktop app to web app? Pin
Machaira22-Jul-10 5:13
Machaira22-Jul-10 5:13 
GeneralRe: What is best way to convert desktop app to web app? Pin
bobishkindaguy22-Jul-10 5:24
bobishkindaguy22-Jul-10 5:24 
GeneralRe: What is best way to convert desktop app to web app? Pin
MatrixDud22-Jul-10 5:56
MatrixDud22-Jul-10 5:56 
GeneralRe: What is best way to convert desktop app to web app? Pin
bobishkindaguy22-Jul-10 6:35
bobishkindaguy22-Jul-10 6:35 
AnswerRe: What is best way to convert desktop app to web app? Pin
George from Saanichton22-Jul-10 5:40
George from Saanichton22-Jul-10 5:40 
GeneralRe: What is best way to convert desktop app to web app? Pin
MatrixDud22-Jul-10 5:49
MatrixDud22-Jul-10 5:49 
GeneralRe: What is best way to convert desktop app to web app? Pin
bobishkindaguy22-Jul-10 6:31
bobishkindaguy22-Jul-10 6:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.