Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

Compile versus not compile (VS 2005)??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
stupid48@gmail.com - 11 Apr 2008 21:16 GMT
Ok,

I'm just a server guy with a bit a VS 2005 experience.  I know that
you can deploy asp.net apps either compiled or not compiled.  My
developer says that he prefers not to compile.  I have to ask about
the pro's and con's of both.  I'm especially concerned about
performance of each and the security pros and cons of each.  Does
anyone have a theory on this and\or a link to a site that I can read?

Thanks very much and sorry if this was already asked before.  I
couldn't find anything on it...

Thanks, Chris
Cowboy (Gregory A. Beamer) - 11 Apr 2008 21:24 GMT
The main difference between compiled and not is a short hit to turn the
page(s) into IL when they are hit. It is a very small perf bump and only
occurs once per deploy.

The bigger issue is having to deploy all of your source to the server. While
MS states it is safe, I would not personally risk it. Of course, the
compiled bits are not much better if one can compromise the bin folder, so
it is only marginally better. With publish (precompile) you can obfuscate
the assemblies, however.

I see absolutely no reason not to precompile, unless the developer is
writing his code in the ASPX page insstead of in code behind.

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************

| Think outside the box!

*************************************************
> Ok,
>
[quoted text clipped - 9 lines]
>
> Thanks, Chris

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.