473,799 Members | 3,810 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP and ASP.NET applications running side by side during a migration

Hi all,

We have been approached by a company that have large 2 tier ASP based
website using SQL Server as the backend. These systems have been in place
for well over a decade with a small inhouse team doing any maintainance
required.

They now want to move to ASP.NET 2.0 in phases. Starting by doing any new
development work in ASP.NET while still maintaining their old code in ASP
with a minimal migration of code if required. Given the size of their
migration it seems to be the most workable solution for the moment.

1. The ASP pages have a truck load of session objects and application
variables and we need to find an elegant way to make use of them in our ASPX
pages.

2. As it is a 2 tier system, they have their entire business logic
encapsulated in functions grouped together in different ASP pages. Whenever
a page requires a function, they include the ASP page containing the
function. We want to find a way to make calls to these functions from our
..NET pages. We are not considering duplicating the business logic on the dot
net side because of the volume and because there is little or no
documentation available on hand.

I would really appreciate any pointers in the right direction.

TIA
-MW
May 10 '07 #1
10 1418
Hi,
As might be knowing that sessions are not shared between ASP and ASP.NET.But
below MSDN link provides a workaround for it:
http://msdn2.microsoft.com/en-us/library/aa479313.aspx
you should find following links also useful:
[1]http://msevents.micros oft.com/cui/eventdetail.asp x?eventid=10322 44102&culture=e n-us
[2]http://msevents.micros oft.com/cui/eventdetail.asp x?eventid=10322 43971&culture=e n-us
[3]http://msdn2.microsoft .com/en-us/library/ms973813.aspx
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"lonsharim" wrote:
Hi all,

We have been approached by a company that have large 2 tier ASP based
website using SQL Server as the backend. These systems have been in place
for well over a decade with a small inhouse team doing any maintainance
required.

They now want to move to ASP.NET 2.0 in phases. Starting by doing any new
development work in ASP.NET while still maintaining their old code in ASP
with a minimal migration of code if required. Given the size of their
migration it seems to be the most workable solution for the moment.

1. The ASP pages have a truck load of session objects and application
variables and we need to find an elegant way to make use of them in our ASPX
pages.

2. As it is a 2 tier system, they have their entire business logic
encapsulated in functions grouped together in different ASP pages. Whenever
a page requires a function, they include the ASP page containing the
function. We want to find a way to make calls to these functions from our
.NET pages. We are not considering duplicating the business logic on the dot
net side because of the volume and because there is little or no
documentation available on hand.

I would really appreciate any pointers in the right direction.

TIA
-MW

May 10 '07 #2
"Manish Bafna" <Ma*********@di scussions.micro soft.comwrote in message
news:81******** *************** ***********@mic rosoft.com...
If my answer helped you,then please do press Yes below.
Please stop saying that...

For one thing, it means nothing whatever to people who are viewing this
using a newsreader...

And those people who do have access to the rating buttons won't need to be
told which one to press
--
http://www.markrae.net

May 10 '07 #3
Manish
Everbody really does appreciate your help. However, you need to be aware
that lots of people use newsreader software to read and post to the
newsgroups, and they never get to see a "Yes" button.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Manish Bafna" wrote:
Hi,
As might be knowing that sessions are not shared between ASP and ASP.NET.But
below MSDN link provides a workaround for it:
http://msdn2.microsoft.com/en-us/library/aa479313.aspx
you should find following links also useful:
[1]http://msevents.micros oft.com/cui/eventdetail.asp x?eventid=10322 44102&culture=e n-us
[2]http://msevents.micros oft.com/cui/eventdetail.asp x?eventid=10322 43971&culture=e n-us
[3]http://msdn2.microsoft .com/en-us/library/ms973813.aspx
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"lonsharim" wrote:
Hi all,

We have been approached by a company that have large 2 tier ASP based
website using SQL Server as the backend. These systems have been in place
for well over a decade with a small inhouse team doing any maintainance
required.

They now want to move to ASP.NET 2.0 in phases. Starting by doing any new
development work in ASP.NET while still maintaining their old code in ASP
with a minimal migration of code if required. Given the size of their
migration it seems to be the most workable solution for the moment.

1. The ASP pages have a truck load of session objects and application
variables and we need to find an elegant way to make use of them in our ASPX
pages.

2. As it is a 2 tier system, they have their entire business logic
encapsulated in functions grouped together in different ASP pages. Whenever
a page requires a function, they include the ASP page containing the
function. We want to find a way to make calls to these functions from our
.NET pages. We are not considering duplicating the business logic on the dot
net side because of the volume and because there is little or no
documentation available on hand.

I would really appreciate any pointers in the right direction.

TIA
-MW
May 10 '07 #4
I voted for yours. I found it! :-)
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Mark Rae" wrote:
"Manish Bafna" <Ma*********@di scussions.micro soft.comwrote in message
news:81******** *************** ***********@mic rosoft.com...
If my answer helped you,then please do press Yes below.

Please stop saying that...

For one thing, it means nothing whatever to people who are viewing this
using a newsreader...

And those people who do have access to the rating buttons won't need to be
told which one to press
--
http://www.markrae.net

May 10 '07 #5
"Peter Bromberg [C# MVP]" <pb*******@yaho o.yabbadabbadoo .comwrote in
message news:F3******** *************** ***********@mic rosoft.com...
I voted for yours. I found it! :-)
LOL!
--
http://www.markrae.net

May 10 '07 #6
Hi,
ok i am extemely sorry for it.I was not aware that it will be taken so badly.
--
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"Peter Bromberg [C# MVP]" wrote:
Manish
Everbody really does appreciate your help. However, you need to be aware
that lots of people use newsreader software to read and post to the
newsgroups, and they never get to see a "Yes" button.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Manish Bafna" wrote:
Hi,
As might be knowing that sessions are not shared between ASP and ASP.NET.But
below MSDN link provides a workaround for it:
http://msdn2.microsoft.com/en-us/library/aa479313.aspx
you should find following links also useful:
[1]http://msevents.micros oft.com/cui/eventdetail.asp x?eventid=10322 44102&culture=e n-us
[2]http://msevents.micros oft.com/cui/eventdetail.asp x?eventid=10322 43971&culture=e n-us
[3]http://msdn2.microsoft .com/en-us/library/ms973813.aspx
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"lonsharim" wrote:
Hi all,
>
We have been approached by a company that have large 2 tier ASP based
website using SQL Server as the backend. These systems have been in place
for well over a decade with a small inhouse team doing any maintainance
required.
>
They now want to move to ASP.NET 2.0 in phases. Starting by doing any new
development work in ASP.NET while still maintaining their old code in ASP
with a minimal migration of code if required. Given the size of their
migration it seems to be the most workable solution for the moment.
>
1. The ASP pages have a truck load of session objects and application
variables and we need to find an elegant way to make use of them in our ASPX
pages.
>
2. As it is a 2 tier system, they have their entire business logic
encapsulated in functions grouped together in different ASP pages. Whenever
a page requires a function, they include the ASP page containing the
function. We want to find a way to make calls to these functions from our
.NET pages. We are not considering duplicating the business logic on the dot
net side because of the volume and because there is little or no
documentation available on hand.
>
I would really appreciate any pointers in the right direction.
>
TIA
-MW
>
>
May 10 '07 #7
Hi Manish,

Thanks for the links below. I have already read the MSDN article on the
session objects between ASP and .NET world although I havent seen the
webcast yet. I was looking for more options to choose from, hence my
question on the forum hoping there would be more ideas thrown around. I
still dont know what to do with the multitude of asp functions.

Will keep looking, thanks for all the responses.

Cheers,
MW

BTW- I use a newsreader
"Manish Bafna" <Ma*********@di scussions.micro soft.comwrote in message
news:81******** *************** ***********@mic rosoft.com...
Hi,
As might be knowing that sessions are not shared between ASP and
ASP.NET.But
below MSDN link provides a workaround for it:
http://msdn2.microsoft.com/en-us/library/aa479313.aspx
you should find following links also useful:
[1]http://msevents.micros oft.com/cui/eventdetail.asp x?eventid=10322 44102&culture=e n-us
[2]http://msevents.micros oft.com/cui/eventdetail.asp x?eventid=10322 43971&culture=e n-us
[3]http://msdn2.microsoft .com/en-us/library/ms973813.aspx
--
If my answer helped you,then please do press Yes below.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

"lonsharim" wrote:
>Hi all,

We have been approached by a company that have large 2 tier ASP based
website using SQL Server as the backend. These systems have been in place
for well over a decade with a small inhouse team doing any maintainance
required.

They now want to move to ASP.NET 2.0 in phases. Starting by doing any new
development work in ASP.NET while still maintaining their old code in ASP
with a minimal migration of code if required. Given the size of their
migration it seems to be the most workable solution for the moment.

1. The ASP pages have a truck load of session objects and application
variables and we need to find an elegant way to make use of them in our
ASPX
pages.

2. As it is a 2 tier system, they have their entire business logic
encapsulated in functions grouped together in different ASP pages.
Whenever
a page requires a function, they include the ASP page containing the
function. We want to find a way to make calls to these functions from our
.NET pages. We are not considering duplicating the business logic on the
dot
net side because of the volume and because there is little or no
documentatio n available on hand.

I would really appreciate any pointers in the right direction.

TIA
-MW

May 10 '07 #8
You are proposing to build a hybrid system. This is not going to be desireable for the long term. I believe it would be better to
convert all now, rather than having to live with a hybrid and then converting remainder later.


"lonsharim" <mu************ @trellisys.netw rote in message news:22******** *************** ***********@mic rosoft.com...
Hi all,

We have been approached by a company that have large 2 tier ASP based website using SQL Server as the backend. These systems have
been in place for well over a decade with a small inhouse team doing any maintainance required.

They now want to move to ASP.NET 2.0 in phases. Starting by doing any new development work in ASP.NET while still maintaining
their old code in ASP with a minimal migration of code if required. Given the size of their migration it seems to be the most
workable solution for the moment.

1. The ASP pages have a truck load of session objects and application variables and we need to find an elegant way to make use of
them in our ASPX pages.

2. As it is a 2 tier system, they have their entire business logic encapsulated in functions grouped together in different ASP
pages. Whenever a page requires a function, they include the ASP page containing the function. We want to find a way to make calls
to these functions from our .NET pages. We are not considering duplicating the business logic on the dot net side because of the
volume and because there is little or no documentation available on hand.

I would really appreciate any pointers in the right direction.

TIA
-MW


May 10 '07 #9
Jon,

Thanks for your response.

I agree with you. The problem is my client doesnt have the kind of resources
to convert the entire system. The size of the project is extremly large and
they dont want to invest in a full scale migration. Thats a huge limitation
when we are entrusted to suggest a way forward.

-MW


"Jon Paal [MSMD]" <Jon[ nospam ]Paal @ everywhere dot comwrote in message
news:eH******** ******@TK2MSFTN GP04.phx.gbl...
You are proposing to build a hybrid system. This is not going to be
desireable for the long term. I believe it would be better to convert all
now, rather than having to live with a hybrid and then converting
remainder later.


"lonsharim" <mu************ @trellisys.netw rote in message
news:22******** *************** ***********@mic rosoft.com...
>Hi all,

We have been approached by a company that have large 2 tier ASP based
website using SQL Server as the backend. These systems have been in place
for well over a decade with a small inhouse team doing any maintainance
required.

They now want to move to ASP.NET 2.0 in phases. Starting by doing any new
development work in ASP.NET while still maintaining their old code in ASP
with a minimal migration of code if required. Given the size of their
migration it seems to be the most workable solution for the moment.

1. The ASP pages have a truck load of session objects and application
variables and we need to find an elegant way to make use of them in our
ASPX pages.

2. As it is a 2 tier system, they have their entire business logic
encapsulated in functions grouped together in different ASP pages.
Whenever a page requires a function, they include the ASP page containing
the function. We want to find a way to make calls to these functions from
our .NET pages. We are not considering duplicating the business logic on
the dot net side because of the volume and because there is little or no
documentatio n available on hand.

I would really appreciate any pointers in the right direction.

TIA
-MW


May 11 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2464
by: JuanR | last post by:
Hi I have a Add-In por Office and i need to detect what applications is running during installation.
3
1607
by: SHC | last post by:
Hi all, 1) I have used VC++.NET 2002 (v7.0) for a while. Recently I just installed VC++.NET 2003 (v7.1) - I saw the message "Settings were not migrated from Visual Studio.NET 2002 to Visual Studio,NET 2003" during the installation. Do I have to do the migration of the "Settings" if I want to use the both versions of VC++.NET in the Side-by-Side fashion? 2) I ran the "Build" of the example 'Chapter5_Example1' of 'Beginning DirectX 9' by...
7
1424
by: Mrkrich | last post by:
I have one procedure that will take very long time before it finishs. During its running, I provide users a button to cancel this process if they don't want it to run anymore. I have one varible for process status if user click the cancel button this variable will change to False and the procedure will check this variable during it run The problem is I don't know how the program receive the button's event during this procedure running.
1
1145
by: Peter | last post by:
I have written several programs that need to run on different schedules. The schedules consist of multiple business rules. Until yesterday I was scheduling most of these applications through the NT scheduler, but now I can no longer do that. My Administer only will allow me to have one scheduled task that launches. So my thought was that I need to create a program that will launch all my applications at different times during the day....
14
2143
by: John | last post by:
My friend told me that his company will migrate the VC++ win32 applications to C++ .NET windows applications. I don't understand why since currently Microsoft only supports .NET on windows platforms. If Win32 applications and .NET application both will run on windows only, what's the advantages for the migration? Or maybe this type of migration is not common in practice?
14
23173
by: lmttag | last post by:
Hello. We're developing an ASP.NET 2.0 (C#) application and we're trying to AJAX-enable it. We're having problem with a page not showing the page while a long-running process is executing. So, we're looking for a way to display the page with a "please wait..." message while the process is running, and then, when the process is done, update the page with the actual results/page content. We have a page that opens another browser/page...
4
3102
by: Chris Asaipillai | last post by:
Hi there My compay has a number of Visual Basic 6 applications which are front endeed onto either SQL Server or Microsoft Access databases. Now we are in process of planning to re-write these applications into Visual Basic.Net. My managers main thought is that Visual Basic 6 is (or has!) stopped being supported by Microsoft.
5
3488
by: This | last post by:
I have a pretty basic emailing script that sends a relatively small number (150) of html emails. The emails are compiled, personalised from a mysql db subscribers list, and sent using mail() - after sending, a small summary html page is sent to the user with number sent, time taken and a simple navigation choice. Up to about 100 emails it all works fine - this takes the server about 27 secs . Any more than that and although the emails are...
0
1031
by: David Jackson | last post by:
Hello, I first posted this several weeks ago but didn't get any replies so I'm trying again in the hope that someone might be able to help. We are in the process of upgrading our internal web applications from v2.0 to v3.5. A colleague has built a machine with 4GB RAM, 64-bit Vista Business Edition and Visual Studio.NET 2008.
0
9687
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9543
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10488
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10257
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10237
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7567
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6808
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4144
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.