Re: Call ASP.NET application pages from old ASP page

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: IPGrunt (me_at_privacy.net)
Date: 01/19/05


Date: 19 Jan 2005 05:06:25 GMT


"=?Utf-8?B?d2lsbGlhbQ==?=" <william@discussions.microsoft.com> confessed in
news:D739A4AD-C097-4C38-933C-0B0B03D3E4D3@microsoft.com:

> Hi All,
>
> How can I call a page of ASP.NET application from old ASP page? Is there
> anything about deployment I should be aware to make it happen?
>
> Thanks.
> william
>

You can coexist asp and asp.net code, but you better have an asp.net web app
in place before you call it.

<% Response.Redirect("ASPDOTNETPAGE.ASPX") %>

IIS through ISAPI knows how to deal with ASPX files.

Remember that ASP.NET is managed code, and the runtime is looking for the
classes (the /bin folder with the appropos DLL) associated with
ASPDOTNETPAGE.ASPX, as well as perhaps a web.config page, a global.asax page,
etc. in other words, whatever the .net app requires.

Not to mention, the .NET Framework in place on the server!

-- ipgrunt



Relevant Pages

  • COM+ app does not shut down when idle if created from an ASP page
    ... Classic ASP pages: accept HTTP requests, forward them on to the Web App ... server is next rebooted. ... Set obj = Server.CreateObject ...
    (microsoft.public.inetserver.asp.components)
  • Re: SQL, XML, and ASP.NET: Upgrading from a client-side heavy classic ASP app
    ... ASP and ASP.NET are so COMPLETELY different because of the .NET Framework ... web app as a prototype, ... ADO.NET or SQLXML managed classes and scrap the data enabled virtual ... look at the new schema model in SQL Server 2005 and adopt that rather ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Launching Local EXEs
    ... It's my own .NET app and I am working with a partner company to integrate it ... I supplied an ASP or a web component it could point to my app on a local ... >> I have been unable to find a way to contact the local registry and get ... >> needed information. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: asp to C#
    ... > I have to convert an ASP web app to a asp.net web app using C#, ... The way the html file is built in asp.net differs radically from the way it worked ... in old asp, so to get benefits from using asp.net you need to rewrite everything. ... In asp.net you work with an object-model where you have random access to all ...
    (microsoft.public.dotnet.languages.csharp)
  • CE 4.2 Web Server - ASP How to
    ... I am a web app developer and have basically been dropped into the ... I cannot for the life of me figure out how to get asp running on the ... to run ASP do i need to use platform builder ...
    (microsoft.public.windowsce.platbuilder)