The difference between generating a website and publishing a website in VS, and between generating and publishing a website in
VSDifference between website generation and website publishing
Website generation: compile a website project.
We know that C # compilation languages like the same must be compiled into computer-recognized binary code before running a program. After the website is compiled, you can directly run the pre-compiled program when browsing the website, improving the browsing speed.
Website publishing: Compile the executable files on the website, write the results to the specified folder, and upload the files to the server or create settings in ISS for LAN browsing and access.
Summary:
The publishing website generates the corresponding DLL file for all CS files on the website, and the CS file will automatically disappear;
Generate a website. All CS files exist.