Thanks
Max
DLL files that reside in the bin directory of the site are not
compiled by the server. They are precompiled on the development
machine using Visual Studio. VS2005 and later have a Publish option
which does this. So the answer is yes you can deploy them pre-
compiled. Make sure that they are in release form not debug which can
lay them open to reverse engineering.
If you are worried about security its worth reading the Microsoft
documentation for guidance on best practices. Beware that some files,
e.g. web.config have to remain in pain text (XML formatted) so avoid
any sensitive stuff there (e.g. use encryption for passwords).
Having said that, there is no need to worry unduly about source code
file or other plain text system file content being freely available to
anyone browsing the site. It isn't. It requires local administrative
access to the web server or special hacking tools for remote access to
get into them. IIS won't touch them.
HTH
> Is it possible for an ASP.net server (like IIS 6) to run web application
> without having available the code behind forms in clear ascii? Can I
> provide a compiled product to the customer, not an exe file of course, but
> some dll compiled by my server ?
This is one of the many features of Web Deployment Projects:
http://weblogs.asp.net/scottgu/archive/2008/01/28/vs-2008-web-deployment-project-support-released.aspx
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
if you develop ASP.NET application with Visual Studio and using web
application project model, you essentially deploy markup files e.g aspx
(ascx,asmx etc) and dll files to the server, and there's no need to deploy
the code-behind files. Idea is that code-behind is compiled to the dll, and
therefore isn't viewable so directly (to add: you can also obfuscate dlls).
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Max" <mm> wrote in message
news:4823510d$0$29596$4faf...@reader1.news.tin.it...
"Teemu Keiski" <jot...@aspalliance.com> ha scritto nel messaggio
news:O1qhcfUs...@TK2MSFTNGP05.phx.gbl...
ASP.NET comes with the tools to compile any .NET code that you
write regardless of the development environment that you prefer to work in.
Sample batch file :
set frmwk=Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
set src=Drive:\vwdsite
set dest=Drive:\vwdsite\compiled
del /F /Q Drive:\vwdsite\compiled\*.*
%frmwk%\aspnet_compiler -v /vwdsite -p %src% %dest% -c
Just substitute your actual boot drive letter anywhere "Drive" appears in the batch file.
After you compile, just upload all the files in Drive:\vwdsite\compiled
Also, you can modify VWD's menu so you can automate
batch compiling your VWD-developed applications.
See this article for the details on how to do that :
http://safari.oreilly.com/9780789736659/ch03lev1sec2
More background info on this process is found at :
http://www.informit.com/articles/article.aspx?p=1073232
As you can see, your gift isn't maimed.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Max" <mm> wrote in message news:4824a1ad$0$29598$4faf...@reader1.news.tin.it...
Thanks
Max
"Juan T. Llibre" <nomail...@nowhere.com> ha scritto nel messaggio
news:e9dSBXis...@TK2MSFTNGP04.phx.gbl...
"Max" <mm> ha scritto nel messaggio
news:4825510e$0$41653$4faf...@reader4.news.tin.it...
You're quite welcome, Max. It's great when obstacles can be removed.
I hope you get a zillion hits a day on your site... ;-)
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Max" <mm> wrote in message news:48255307$0$41664$4faf...@reader4.news.tin.it...