CoderWannaBe
.Net blog

What's up with compile of ASP.Net apps in 2.0?

August 25, 2006 21:23 by bstinson

A guy named Eric Gavitt asked the following question on the aspnet@aspadvice.com newsgroup:

I have an old 2003 asp.net web app that was converted to 2005. When ever I publish, I have these dll files with names like App_Web_hvxriyzk.dll and App_Web_xem5grjb.dll in the bin directory that are never the same name twice.

What are they?

Are they there normally?

Can I get rid of them?

I answered the question and felt I should post my answer somewhere for the sake of cataloging the information....

I am by no means an expert on this, but I ran into the same issues when I started with 2.0 and found some interesting info that might help you as well.

In answer to your question and in order to help facilitate deployment efforts, Microsoft came out with a merge utility that you can use to merge

those dlls into one for deployment:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/aspnet_merge_exe.asp

The text of the article also explains some of the reasons behind the way the compiler works.

Rick Strahl also discusses the entire gamut of things he had issue with when he first started using 2.0 here (Code Mag Article):
http://www.code-magazine.com/Article.aspx?quickid=060013

The last 3 sections of the article deal with your questions.

(I don't agree with all of it, but he does provide some insights that I feel would be helpful to anyone just starting out with 2.0)

 

 

For me however, I decided this was the way to go...

Microsoft has provided a way to go back to compiling and working with projects just like we did in 1.1 called

Web Application Projects:

http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/default.aspx

And Scott Guthrie (who was apparently very instrumental in this effort) provided an excellent tutorial here:

http://webproject.scottgu.com/Default.aspx

Scotts blog detailing the release of WAP:

http://weblogs.asp.net/scottgu/archive/2006/05/08/445742.aspx

If you read through this material and gain an understanding of the differences, you can then determine your best course of action.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories:
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Related posts

Comments are closed