ASP and ASP.NET

G

Gilgamesh

Hi there,
We have a legacy ASP application which we would need to continue to support.
There's a need to add new functionality to the application, which I intend
to implement it in ASP.NET if possible. The asp application is hosted in a
secured environment with users connecting to the app using SSL. I was
wondering if there's a way to do this without creating a separate asp.net
web application.

I appreciate any comment.
 
K

Kevin Spencer

Both ASP and ASP.Net pages can be hosted together. They are handled by
different ISAPIs.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
C

Cowboy \(Gregory A. Beamer\) [MVP]

You can start building the ASP.NET functionality in the same application and
go back and forth. NOTE that session state is not the same, so you have to
migrate over any session variables when you go back and forth. MSDN online
has an article on session state sharing between the two.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
 
S

Steve C. Orr [MVP, MCSD]

The main problem is that there is no single great way to share session state
between ASP and ASP.NET.
But that doesn't mean you don't have options.

Here are some common ways:
* Store the data in a common database
* Pass data from page to page on the QueryString
* Store the data in cookies
* Use a 3rd party session sharing component
(Here's one:
http://www.consonica.com/solutions/dotnet/statestitch/index.html)
* Use COM Interop to provide an object that both sides can access that
handles the data.
Here's an example of the latter:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/ConvertToASPNET.asp

Eventually you'll likely want to convert your old ASP stuff to ASP.NET.
Here's more info on good ways to do that:
http://www.able-consulting.com/dotnet/aspnet/asp_aspnet_files/frame.htm
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/ConvertToASPNET.asp
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top