Does the ASP.NET website publish any additional security benefits?

I come from the background of PHP / Rails, where website deployment often means FTP / Checkout source code in the correct directory on the web server.

However, I was asked to develop an ASP.NET website, and some people advised me to "publish" the site, and not directly copy the source code. This seems to convert the codebehind (.cs) files into a compiled DLL, etc.

My application does not contain any specific secretive business logic. This is a regular shopping app. My question is, what is a good idea? How to make C # code on a server more secure?

+3
source share
4 answers

ASP.NET - :

  • .ASPX .CS . .ASPX .CS . ASP.NET DLL ( Temporary ASP.NET .NET. ).
  • - . , Publish Visual Studio. .ASPX .CS ( ) DLL, -.

, ( DLL).

:

: Rails/PHP .ASPX .CS . , , . , , .

+6

precompiling, , , ; !! , , 13 , , . , asp.net , .

, .

, - .

- , msbuild . , - web.config, http://msdn.microsoft.com/en-us/library/dd465318.aspx. , // web.config .

+2

, , - . - , # , , , .

- , , . , .

ASP.net Windows, .

0

# , script, PHP/Rails.

PHP, ASP xcopy/ftp -. PHP- script , - vs. asp.net, -, , -, .

.exe , .

, .

Btw - : -)

0

Source: https://habr.com/ru/post/1774883/


All Articles