468,533 Members | 1,947 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,533 developers. It's quick & easy.

multiple framework versions and performance

Hi,
I'm starting to introduce .NET Framework 2.0 into some of my projects,
and I'd like some advice on best practices for running
multiple-framework-version code within a web application.

My current system consists of...

Built with Framework 1.1:
(a) External web application (ASP.NET)
(b) Internal Administrative web application (ASP.NET)
(c) class library of business logic/db access code (VB.NET)
(d) Microsoft.ApplicationBlocks.Data.dll, used by my business logic
code for database access.

I've just starting converting my Internal Administrative web
application (b) to .NET Framework 2.0, to make use of some of the new
features (ATLAS, etc.).

- Does it make sense to convert my business logic class library (and/or
Microsoft.ApplicationBlocks.Data.dll) to Framework 2.0?
- Are there any performance gains to be had by compiling all my DLLs
with the same Framework version?
- Will a v2.0 class library work with my v1.1 web application? I've
been getting IIS server errors whenever I introduced any v2.0 code into
the application domain of the v1.1 projects.

I ask because my new Framework v2.0 web application "feels" a bit more
sluggish in some places. I wondered if this was due to it needing to
utilize a separate VM(?) for the v1.1 components I'm using. Thoughts?

Thanks for any advice,
Frank

Oct 25 '06 #1
1 1081

I'll address what I can:

#1. //Quote (d) Microsoft.ApplicationBlocks.Data.dll, used by my business
logic
code for database access. // End Quote
This was the Sql Server only version. Since that release, there has been a
newer "EnterpriseLibrary" release.
There is a 1.1 version of the EnterpriseLibrary, AND a 2.0 version of the
EnterpriseLibrary.
#2
// Quote"used by my business logic code for database access."// End Quote
Not to nit pick, but that file is a ~helper to your own DataAccessLayer, not
a substitute for it.
Thus its name : SQLHelper.

See
5/24/2006 Custom Objects/Collections and Tiered Development
at
http://sholliday.spaces.live.com/blog/
#3
// QuoteWill a v2.0 class library work with my v1.1 web application?// End
Quote
I'm not sure, but I don't think so. If your 2.0 code relies on an object
from the 2.0 library, the 1.1 cannot use it.
#4
// QuoteDoes it make sense to convert my business logic class library
(and/or
Microsoft.ApplicationBlocks.Data.dll) to Framework 2.0?// End Quote
That's a judgment call. If you're business logic is "pure", then an upgrade
shouldn't be that hard.
You need to find the deprecated 1.1 list and compare.

The ApplicationBlock, see earlier comment about the EnterpriseLibrary
#5
//Quote I ask because my new Framework v2.0 web application "feels" a bit
more sluggish in some places.// End Quote
I agree while in development mode, but compiled code, I dont' get that same
feel.

<di**********@yahoo.comwrote in message
news:11*********************@i3g2000cwc.googlegrou ps.com...
Hi,
I'm starting to introduce .NET Framework 2.0 into some of my projects,
and I'd like some advice on best practices for running
multiple-framework-version code within a web application.

My current system consists of...

Built with Framework 1.1:
(a) External web application (ASP.NET)
(b) Internal Administrative web application (ASP.NET)
(c) class library of business logic/db access code (VB.NET)
(d) Microsoft.ApplicationBlocks.Data.dll, used by my business logic
code for database access.

I've just starting converting my Internal Administrative web
application (b) to .NET Framework 2.0, to make use of some of the new
features (ATLAS, etc.).

- Does it make sense to convert my business logic class library (and/or
Microsoft.ApplicationBlocks.Data.dll) to Framework 2.0?
- Are there any performance gains to be had by compiling all my DLLs
with the same Framework version?
- Will a v2.0 class library work with my v1.1 web application? I've
been getting IIS server errors whenever I introduced any v2.0 code into
the application domain of the v1.1 projects.

I ask because my new Framework v2.0 web application "feels" a bit more
sluggish in some places. I wondered if this was due to it needing to
utilize a separate VM(?) for the v1.1 components I'm using. Thoughts?

Thanks for any advice,
Frank

Oct 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by baylandpark | last post: by
6 posts views Thread by Marc Hoeijmans | last post: by
3 posts views Thread by Rick Elcessor | last post: by
4 posts views Thread by Fred | last post: by
17 posts views Thread by Peter Anthony | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.