472,958 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 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 1234

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: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.