List Info

Thread: C-Sharp (C#) Group: Deployment Mode in ASP.Net 2.0




C-Sharp (C#) Group: Deployment Mode in ASP.Net 2.0
user name
2006-01-13 15:51:38
Hello all,

Here's a dummy question that I could not find an answer.

In ASP.Net 1.0 and 1.1, when you have to deploy your
application you
have to compile it and XCopy everything to the server. In
order to
protect your code, you should only upload .aspx, ascx and
others types
of files but not the .cs or .vb code.

The problem about that is that your had to recompile the
application
everytime your code were changed.

In ASP.Net 2.0, i've read that you don't need to recompile
all the
application, because the .Net Framework 2.0 monitors any
changes in
the code and as it occurs, it recompiles only that part of
the
application.

So, what about the deployment in ASP.Net 2.0? Do I have to
upload the
.vb or .cs code? And, what do I do if I have the code inline
with the
HTML in a single .aspx document? Is my code getting
unprotected, since
anyone could read it? As 'anyone' I'm talking about my
client, for
example. If I have to deploy the application on his server,
my code is
not protected. How can I protect my code? And how can I
deploy my
application and be sure no one is going to have access to
it?

Of course people can decompile my assemblies if I don't get
it
obfuscated but at least is a bigger security than giving all
the code
in ASCII for anyone to read it.

--
Nakahara Sam
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )