Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Publishing vs Copying

What is the difference between publishing a website with visual studio and just copying the files over to the server? Is the only difference that the publish files are pre-compiled?

like image 536
Ethan Gunderson Avatar asked Aug 31 '25 17:08

Ethan Gunderson


1 Answers

There is not much difference between "publish", and copying the files. Publish appears in a webapplication. The only difference really is publishing gives you the option to only include html and dll's, where as copying you would need to parse out source code manually. There is no full precompiling in the publish option, as Fully precompiled means no HTML at all; The aspx files are just placeholders; All html is in the compiled binaries.

like image 80
mattlant Avatar answered Sep 02 '25 10:09

mattlant