在迁移过程中并行运行的ASP和ASP.NET应用程序 [英] ASP and ASP.NET applications running side by side during a migration

查看:65
本文介绍了在迁移过程中并行运行的ASP和ASP.NET应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们已经与一家拥有大型2层ASP

网站的公司联系,使用SQL Server作为后端。十多年来,这些系统已经到位,并且需要一个小型内部团队进行维护,需要



他们现在想分阶段转向ASP.NET 2.0。首先在ASP.NET中进行任何新的

开发工作,同时仍然在ASP中保留旧代码

,如果需要,只需最少的代码迁移。鉴于他们的b / b
迁移的大小,它似乎是目前最可行的解决方案。


1. ASP页面有卡车加载的会话对象和应用程序

变量我们需要找到一种优雅的方式在我们的ASPX

页面中使用它们。


2由于它是一个2层系统,因此它们将整个业务逻辑封装在不同ASP页面中组合在一起的功能中。每当

页面需要一个函数时,它们都包含含有

函数的ASP页面。我们想找到一种方法从我们的

..NET页面调用这些函数。我们并没有考虑在网点上复制商业逻辑,因为数量很大,因为现有的文件很少或根本没有。


我真的很感激任何正确方向的指示。


TIA

-MW

解决方案



可能知道ASP和ASP.NET之间没有共享会话。但是

以下MSDN链接为其提供了一种解决方法:
http:// msdn2.microsoft.com/en-us/library/aa479313.aspx

您应该找到以下链接也很有用:

[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
-

如果我的回答对你有帮助,那么请按下面的是。

谢谢和问候。

Manish Bafna。

MCP和MCTS。


" lonsharim"写道:


大家好,


我们已经接触过一家拥有大型2层ASP的公司
网站使用SQL Server作为后端。十多年来,这些系统已经到位,并且需要一个小型内部团队进行维护,需要



他们现在想分阶段转向ASP.NET 2.0。首先在ASP.NET中进行任何新的

开发工作,同时仍然在ASP中保留旧代码

,如果需要,只需最少的代码迁移。鉴于他们的b / b
迁移的大小,它似乎是目前最可行的解决方案。


1. ASP页面有卡车加载的会话对象和应用程序

变量我们需要找到一种优雅的方式在我们的ASPX

页面中使用它们。


2由于它是一个2层系统,因此它们将整个业务逻辑封装在不同ASP页面中组合在一起的功能中。每当

页面需要一个函数时,它们都包含含有

函数的ASP页面。我们想找到一种方法从我们的

.NET页面调用这些函数。我们并没有考虑在网点上复制商业逻辑,因为数量很大,因为现有的文件很少或根本没有。


我真的很感激任何正确方向的指示。


TIA

-MW


" Manish Bafna" < Ma ********* @ discussion.microsoft.com写信息

新闻:81 ******************* *************** @ microsof t.com ...


如果我的回答对您有帮助,那么请按是下面。



请停止说...


首先,对于正在查看此内容的人来说,这意味着什么

使用新闻阅读器...


那些有权使用评级按钮的人不需要

告诉哪一个要按

-
http:// www.markrae.net


Manish

永远非常感谢您的帮助。但是,您需要注意很多人使用新闻阅读器软件阅读并发布到

新闻组,并且他们永远不会看到是和是。按钮。

彼得


-

网站: http://www.eggheadcafe.com

UnBlog: http://petesbloggerama.blogspot.com

短网址&更多: http://ittyurl.net


Manish Bafna写道:




可能知道ASP和ASP.NET之间没有共享会话。但是

以下的MSDN链接为它提供了一种解决方法:
http://msdn2.microsoft.com/en-us/library/aa479313.aspx

您应该找到以下链接也很有用:

[ 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

-

如果我的回答对你有帮助,那么请按下面的是。

谢谢和问候。

Manish Bafna。

MCP和MCTS。


" lonsharim"写道:


大家好,


我们已经接触过一家拥有大量2层ASP的公司
网站使用SQL Server作为后端。十多年来,这些系统已经到位,并且需要一个小型内部团队进行维护,需要



他们现在想分阶段转向ASP.NET 2.0。首先在ASP.NET中进行任何新的

开发工作,同时仍然在ASP中保留旧代码

,如果需要,只需最少的代码迁移。鉴于他们的b / b
迁移的大小,它似乎是目前最可行的解决方案。


1. ASP页面有卡车加载的会话对象和应用程序

变量我们需要找到一种优雅的方式在我们的ASPX

页面中使用它们。


2由于它是一个2层系统,因此它们将整个业务逻辑封装在不同ASP页面中组合在一起的功能中。每当

页面需要一个函数时,它们都包含含有

函数的ASP页面。我们想找到一种方法从我们的

.NET页面调用这些函数。我们并没有考虑在网点上复制商业逻辑,因为数量很大,因为现有的文件很少或根本没有。


我真的很感激任何正确方向的指示。


TIA

-MW


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

解决方案

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" 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


"Manish Bafna" <Ma*********@discussions.microsoft.comwrote in message
news:81**********************************@microsof t.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


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


这篇关于在迁移过程中并行运行的ASP和ASP.NET应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆