Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Console
Hi all, do publish & deploy application is the same?
What is the purpose of publishing?
Posted 8-Nov-12 20:05pm
Comments
Sergey Alexandrovich Kryukov at 9-Nov-12 2:19am
   
What does it mean: "in the same"? What do you call "publishing", exactly?
The best application deployment is this: you simply copy the content of your output directory to some directory of the target computer, and your application starts working immediately. What in your application needs deployment, specifically?
--SA

1 solution

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

Solution 1

You will get a precompiled site by publishing as well as by creating a setup.exe (setup and deployment)
 
The difference between the two is that:
 
Publishing: you right click on the website and click on 'Publish Web Site'. Here you can specify a folder where the precompiled website will be published. Then you can ftp the website. Other option is you can directly specify the ftp location.
 
Setup and Deployment: you create a new setup and deployment project, add the project output and finally create a setup.exe file. You need to login into the server on which you want to install the application. There you need to run the setup.exe file.
 
So, if you are hosting your application on a shared hosting environment, you should use publishing. And if you are creating a web application product to be downloaded from your website, you should ideally create a setup.exe (deploy).
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 235
1 Sergey Alexandrovich Kryukov 144
2 Rob Philpott 100
3 Peter Leow 70
4 CHill60 70
0 OriginalGriff 6,902
1 Sergey Alexandrovich Kryukov 5,623
2 Maciej Los 3,479
3 Peter Leow 3,373
4 DamithSL 2,505


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 9 Nov 2012
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