Ask a Question related to ASP.NET General, Design and Development.
-
Michael Dyremo #1
Wrapping old ASP with ASP.NET
Hello.
We have a web-application built in ASP.NET using WebForms
and Remoting. When selling this application we always
incorporate it into the customers existing web-site. Our
latest
customer wishes to do some more advanced integration
between our application and their
existing site, namely using asp-includes to get the
menusystem of their external site integrated with our
applications WebForms.
Their existing site is written in old ASP and VisualBasic
and a lot of code is present in their asp-files. The
question is:
Is there any way to wrap the old ASP-code, allowing their
pages to execute the old VB code and still include them
using asp-includes in our ASP.NET WebForms ? When we've
tried it we get a lot of parse-errors, and we're assuming
this is because the .NET Framework tries to execute their
ASP-files in the .NET enviroment.
/md
Michael Dyremo Guest
-
Wrapping a web service with another
I have an external (Intranet) web service which requires that Soap message header be signed and Body should be encrypted. The service works fine... -
FORM wrapping
We're migrating a website to the Content Mgmt Server 2002. I've noticed all the pages look like so: <body> <form> ... ... </form> </body> -
wrapping?
Sorry the time problem. "ll" <lionelluo@hotmail.com> wrote in message news:%23pmDxcQoDHA.1408@TK2MSFTNGP11.phx.gbl... -
Wrapping ENV
I just wrote a little piece of code. Is it useful to anyone but me? And/or do you see a more elegant way to do it, or any problems with it? I... -
Wrapping CGI and PHP Scripts
Hi, I have just recently begun using Debian and am in the process of migrating a FreeBSD 4.4 server over to it. This server had many different... -
SStory #2
Re: Wrapping old ASP with ASP.NET
How about using frames....
Top frame--put their asp page
maybe left frame the same,
Main frame use your ASP.NET
Would this work for you?
HTH
Shane
"Michael Dyremo" <michaeld@somewhere.nu> wrote in message
news:074e01c35d94$368d9fe0$a601280a@phx.gbl...> Hello.
>
> We have a web-application built in ASP.NET using WebForms
> and Remoting. When selling this application we always
> incorporate it into the customers existing web-site. Our
> latest
> customer wishes to do some more advanced integration
> between our application and their
> existing site, namely using asp-includes to get the
> menusystem of their external site integrated with our
> applications WebForms.
>
> Their existing site is written in old ASP and VisualBasic
> and a lot of code is present in their asp-files. The
> question is:
>
> Is there any way to wrap the old ASP-code, allowing their
> pages to execute the old VB code and still include them
> using asp-includes in our ASP.NET WebForms ? When we've
> tried it we get a lot of parse-errors, and we're assuming
> this is because the .NET Framework tries to execute their
> ASP-files in the .NET enviroment.
>
> /md
SStory Guest
-
Natty Gur #3
Re: Wrapping old ASP with ASP.NET
Hi,
Shane is right Frame/IFrame is the cleanest solution. Note that it’s not
trivial to share asp.net session with asp session (and vice versa).
There are some solutions and products. Let me know if you need this
info.
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest
-
Yan-Hong Huang[MSFT] #4
RE: Wrapping old ASP with ASP.NET
Hello Michael,
Shane and Natty are right. You can work with and run existing ASP pages (.asp files) as-is in Visual Studio. You can use ASP
pages and ASP.NET pages in the same project. You can edit ASP files in the Web Forms Designer and run them as you
would other pages in your project.
However, some ASP and Visual InterDev 6.0 features are not supported by ASP.NET, because these features require a
different run-time environment. For example, Structural Compatibility, ( Presents the differences in page layout and coding
style between ASP and ASP.NET), ASP.NET Security, (Provides a brief discussion of ASP.NET security)...
For details, please refer to MSDN topic: "Migrating ASP Pages to Web Forms Pages" at
[url]http://msdn.microsoft.com/library/en-us/vbcon/html/vbtskMigratingASPPageToASP.asp?frame=true[/url].
Hope it helps.
Best regards,
Yanhong Huang
Microsoft Online Partner Support
Get Secure! - [url]www.microsoft.com/security[/url]
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!Content-Class: urn:content-classes:message
!From: "Michael Dyremo" <michaeld@somewhere.nu>
!Sender: "Michael Dyremo" <michaeld@somewhere.nu>
!Subject: Wrapping old ASP with ASP.NET
!Date: Fri, 8 Aug 2003 03:02:44 -0700
!Lines: 24
!Message-ID: <074e01c35d94$368d9fe0$a601280a@phx.gbl>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Thread-Index: AcNdlDaLhztp7zyfTqqZfMiZ8XN/1w==
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:166062
!NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!Hello.
!
!We have a web-application built in ASP.NET using WebForms
!and Remoting. When selling this application we always
!incorporate it into the customers existing web-site. Our
!latest
!customer wishes to do some more advanced integration
!between our application and their
!existing site, namely using asp-includes to get the
!menusystem of their external site integrated with our
!applications WebForms.
!
!Their existing site is written in old ASP and VisualBasic
!and a lot of code is present in their asp-files. The
!question is:
!
!Is there any way to wrap the old ASP-code, allowing their
!pages to execute the old VB code and still include them
!using asp-includes in our ASP.NET WebForms ? When we've
!tried it we get a lot of parse-errors, and we're assuming
!this is because the .NET Framework tries to execute their
!ASP-files in the .NET enviroment.
!
!/md
!
Yan-Hong Huang[MSFT] Guest



Reply With Quote

