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

L

lonsharim

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
 
M

Mark Rae

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
 
G

Guest

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 said:
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.microsoft.com/cui/eventdetail.aspx?eventid=1032244102&culture=en-us
[2]http://msevents.microsoft.com/cui/eventdetail.aspx?eventid=1032243971&culture=en-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 said:
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
 
G

Guest

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 said:
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 said:
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.microsoft.com/cui/eventdetail.aspx?eventid=1032244102&culture=en-us
[2]http://msevents.microsoft.com/cui/eventdetail.aspx?eventid=1032243971&culture=en-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 said:
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
 
L

lonsharim

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 said:
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.microsoft.com/cui/eventdetail.aspx?eventid=1032244102&culture=en-us
[2]http://msevents.microsoft.com/cui/eventdetail.aspx?eventid=1032243971&culture=en-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 said:
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
 
J

Jon Paal [MSMD]

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.
 
L

lonsharim

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
 
J

Jon Paal [MSMD]

I think you've answered your own question. You can't be expected to do good work with huge limitations.

You can suggest a way forward, doing the job correctly now. They can accept the recommendation or not.

But when the customer starts to dictate how to do the programming, there can only be problems and dissatisfaction, or worse, a bad
reference on your work.

The customer should not constrain you to do things in a less-than-correct way. If they don't have the money to do the job right, or
you can't meet their budget constraints and do the job right, then it will not be a win-win situation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top