473,378 Members | 1,623 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,378 software developers and data experts.

using classic asp include files in an asp.net app

I have a classic asp app which is reaching the end of it's lifetime in so
far as being able to maintain it and I want to re-write it in asp.net.

A complete re-write, although desireable, is out of the question for various
reasons. My desire is to convert bits of the classic asp as I go therefore
converting small chunks as part of the normal maintenance..

However the classic asp app has many include files scattered throughout with
much of the buisness logic embedded in them.

I was wondering if there was a way to use the current classic asp include
files from asp.net so that I could modify pages as I go along.

I know this won't give me the best separation in the world but it will give
me a better starting point from which I can then start to better modularize
the logic.

There probably is a nice article about this out on the net but I couldn't
find one.

Any help will be appreciated.
Nov 19 '05 #1
2 1629
You won't be able to use your existing ASP "Classic" include file in your
ASP.NET application.

First, ASP.NET doesn't have include files. Second, even if it did, ASP.NET
doesn't support VB Script, but full VB.NET. And thought there are some
circumstances where you can make VB Script work in VB.NET, those
circumstances are akin to 5-planet alignements: yes, it happens, but not
often.

Now, you can run ASP and ASP.NET applications together in the same virtual
directory. You WILL NOT be able to share Session information without a
significant amount of work (you'd have to create a custom solution for
session information) ... the Session object is not shared.
"chriso" wrote:
I have a classic asp app which is reaching the end of it's lifetime in so
far as being able to maintain it and I want to re-write it in asp.net.

A complete re-write, although desireable, is out of the question for various
reasons. My desire is to convert bits of the classic asp as I go therefore
converting small chunks as part of the normal maintenance..

However the classic asp app has many include files scattered throughout with
much of the buisness logic embedded in them.

I was wondering if there was a way to use the current classic asp include
files from asp.net so that I could modify pages as I go along.

I know this won't give me the best separation in the world but it will give
me a better starting point from which I can then start to better modularize
the logic.

There probably is a nice article about this out on the net but I couldn't
find one.

Any help will be appreciated.

Nov 19 '05 #2
thanks at least if I know it cannot be done then it's an avenue I can close
off

"J Sawyer [Microsoft]" <JS**************@discussions.microsoft.com> wrote in
message news:F4**********************************@microsof t.com...
You won't be able to use your existing ASP "Classic" include file in your
ASP.NET application.

First, ASP.NET doesn't have include files. Second, even if it did, ASP.NET doesn't support VB Script, but full VB.NET. And thought there are some
circumstances where you can make VB Script work in VB.NET, those
circumstances are akin to 5-planet alignements: yes, it happens, but not
often.

Now, you can run ASP and ASP.NET applications together in the same virtual
directory. You WILL NOT be able to share Session information without a
significant amount of work (you'd have to create a custom solution for
session information) ... the Session object is not shared.
"chriso" wrote:
I have a classic asp app which is reaching the end of it's lifetime in so far as being able to maintain it and I want to re-write it in asp.net.

A complete re-write, although desireable, is out of the question for various reasons. My desire is to convert bits of the classic asp as I go therefore converting small chunks as part of the normal maintenance..

However the classic asp app has many include files scattered throughout with much of the buisness logic embedded in them.

I was wondering if there was a way to use the current classic asp include files from asp.net so that I could modify pages as I go along.

I know this won't give me the best separation in the world but it will give me a better starting point from which I can then start to better modularize the logic.

There probably is a nice article about this out on the net but I couldn't find one.

Any help will be appreciated.

Nov 19 '05 #3

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

Similar topics

3
by: ShepardBerry | last post by:
I've been working in .NET for some time now and I don't remember specifically how asp classes are cleaned up in classic asp. I've been put on a Classic ASP project(ugh) and we're having some...
13
by: Squid Seven | last post by:
This is just bizarre. for the following snippet of code: #include <string> using std::string; I get the error message:
7
by: MyndPhlyp | last post by:
I am building up a library of Class'es that represent various columns of table layouts. One often used column is "name" and each occurrence is treated identically. (What a concept, eh?) Part of...
1
by: jason | last post by:
i'm working on a gradual conversion of an ASP classic web site to ASP.NET. a recent body of work involves adding a new asp page to the existing site. i thought this would be a good opportunity to...
4
by: jason | last post by:
i'm working on a gradual conversion of an ASP classic web site to ASP.NET. a recent body of work involves adding a new asp page to the existing site. i thought this would be a good opportunity to...
3
by: Robert Miller | last post by:
I have a quick question. I have a asp.net program but my question is related to classis ASP programming. I am using a .Net component to generate pdf files. I have to create an asp.net program to...
1
by: Zark3 | last post by:
Hi all, Probably not the best place to ask this, but considering I'm more of a ..NET-guy thinking in .NET-patterns, here goes anyway. I was handed an ASP-project to internationalize (read:...
9
by: Charles Law | last post by:
Hi chaps I realise that this is a .NET group, but please don't shoot me down quite yet. I looked in the vb classic groups and there seems to be so little activity there that I was not hopeful of...
0
by: sandeepk84 | last post by:
Hi all... I am facing a problem in getting attachments from Yahoo Classic using JavaMail. My program reads the attachments from gmail and Yahoo Beta. But attachments of type pdf or txt from...
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: 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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.