Wrapping old ASP with ASP.NET

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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>
    3. wrapping?
      Sorry the time problem. "ll" <lionelluo@hotmail.com> wrote in message news:%23pmDxcQoDHA.1408@TK2MSFTNGP11.phx.gbl...
    4. 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...
    5. 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...
  3. #2

    Default 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

  4. #3

    Default 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

  5. #4

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139