473,385 Members | 1,582 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1252

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: baylandpark | last post by:
I've written Windows shareware applications using MFC for several years. Now I'm standing at the point to choose a language and platform for a new small application much less than 1MB of footprint....
2
by: Peter Bär | last post by:
A Question to the C#/.Net Gods of this forum: are there performance penalties when i compile (C#, FW1.1, ASP.NET, Studio2003) a central baseclass in a different assembly than all the derived...
2
by: g | last post by:
we are evaluating CRM packages and are looking for information on the differences/simliarities, pros and cons of these architectures used by various CRM Vendors. We have been searching for more...
6
by: Marc Hoeijmans | last post by:
Can any one tell me if the performance in the 2.0 framework is improved? An 1.1 ASP.NET application performce bad once a moth we are thinking of upgrading 2.0, should this help ore is it more...
11
by: Olie | last post by:
This post is realy to get some opinions on the best way of getting fast comunication between multiple applications. I have scowered the web for imformation on this subject and have just found...
3
by: Rick Elcessor | last post by:
If I develop an app in 2.0 and install it on a machine running an existing app on 1.1, both versions are installed on the machine. Are there any possibilities of version conflicts between the two...
1
by: bg_ie | last post by:
Hi, I created a COM object using C# and I installed it with a batch that looks something like this - ECHO OFF PATH = C:\WINNT\Microsoft.NET\Framework\v2.0.50727 set target=C:\mydll.dll echo...
4
by: Fred | last post by:
Is there any disadvantages to having more than one versions of the .net framework installed on the same computer? would that reduce the performance of the computer? or are they just a bunch of...
17
by: Peter Anthony | last post by:
Can the 3.5 version of .NET Framework (currently Beta 2) be installed on pre-Vista machines? Or is it Vista-only? And, why doesn't .NET Framework come pre-installed with the operating system? I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.