473,385 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Rendering classic ASP into ASP.NET applications

Ok, so I have a predicament where I need to build a page harness using
ASP.NET 2.0 that will render classic asp pages.

What I am looking for is any information on being able to
programatically render out a classic ASP page to the browser correctly
from within a aspx page. So basically the user visits 'default.aspx'
and the page spits out correctly rendered content that is actually
written in classic ASP. I know the above sounds a little dumb, but my
reason is that I am porting an old classic ASP application that is
extremely large to .NET and the new system needs to interact with the
old ASP seemlessly.

I have tried using Page.WriteFile but that doesn't work too well as it
just spit the code unparsed.

Of course I could be approaching the problem from a wrong angle. Any
help on this would be appriciated and hopefully a learning experiance.

Thanks!
-Craig

Apr 5 '06 #1
1 1300
Wouldn't it be smarter to just come up with a session sharing
mechanism (tons of examples out there) and use both
the .asp pages and the .aspx pages until you get them
converted over one by one?

--
Robbe Morris - 2004-2006 Microsoft MVP C#
Earn money answering .NET questions
http://www.eggheadcafe.com/forums/merit.asp

<yo********@gmail.com> wrote in message
news:11**********************@g10g2000cwb.googlegr oups.com...
Ok, so I have a predicament where I need to build a page harness using
ASP.NET 2.0 that will render classic asp pages.

What I am looking for is any information on being able to
programatically render out a classic ASP page to the browser correctly
from within a aspx page. So basically the user visits 'default.aspx'
and the page spits out correctly rendered content that is actually
written in classic ASP. I know the above sounds a little dumb, but my
reason is that I am porting an old classic ASP application that is
extremely large to .NET and the new system needs to interact with the
old ASP seemlessly.

I have tried using Page.WriteFile but that doesn't work too well as it
just spit the code unparsed.

Of course I could be approaching the problem from a wrong angle. Any
help on this would be appriciated and hopefully a learning experiance.

Thanks!
-Craig

Apr 5 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: eeyimaya | last post by:
Hello, I read from sun site about fullscreen mode and active rendering and now I am in doubt! is active rendering for only fullscreen applications? I am planning to develop an windowed application...
99
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
8
by: Bf | last post by:
I was creating test projects using c# and was surprised that there seems to be only a form based windows applications available. Is it safe to assume that classic window applications that utilize a...
3
by: bill | last post by:
I need to open a asp.net web form from a classic asp page, and pass a username and password to the asp.net page. The username and password exist as session variables in the classic asp...
3
by: MartyNg | last post by:
I have been looking online for pointers, and read mixed things. I was hoping if I post direct questions here, I could get some solid answers. I work for a small company with less than 10 web...
4
by: tobfon | last post by:
I'm creating a scientific visualization application with rather high demands on performance. I've created a nice rendering engine for it in C++/OpenGL and a python interface to the rendering...
11
by: mase | last post by:
I've built a new ASP.NET web app with the CSLA framework. The site runs fine with a small number of users, but once there is any traffic the CPU spikes at 100%. I went through and made many updates...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.