How to use asp pages in asp.net
I want to use asp page in my asp.net application without any changes to asp pages.
next i want to add master page in my .net application. I also need the changes to be displayed in the asp page.
maybe ... anyone how? or any alternative to use this.?
pls suhggest me ..... thanx in advance ...
a source to share
ASP does not have master pages, so you cannot use them. The smartest thing to do is rewrite the ASP page in ASP.NET, while there are still people who understand what the ASP page was supposed to do. Otherwise, there will come a time when no one will understand this page.
The closest I've seen to what you're looking for is to write an ASP.NET page that links to an ASP page via an IFRAME. An ASP.NET page can be a content page referencing the master page, and an ASP page can remain unchanged.
a source to share
Classic ASP files run without any problem on an ASP.NET website. As soon as you want to combine classic ASP and ASP.NET features into one file, you will get errors. Applying master pages to classic ASP files cannot be done.
[EDIT]
An alternative could be to rewrite the functionality of the ASP pages in ASP.NET. There is a SO question about tools to convert from ASP to ASP.NET here .
a source to share
I used asp and asp.net vb together when I was learning my method was to use jquery to put my asp classic generated html in the assigned divs ... as I cant I needed to use this method less and less is a great way to pick up asp.net C # when moving from a VB background when you really don't have time to learn, like at work.
a source to share
I think thousands of developers want the same!
At my company, I have to deal with LOT as we have several large systems written entirely in classic ASP, some of which are written entirely in ASP.NET and some of which are hybrid solutions.
Depending on your environment, the two can coexist peacefully as long as you don't need to share the session state between them. If you need this, there are several solutions for storing sessions in a database, but none of them are very elegant.
Your best bet is to create multiple ASP files to create a similar look and feel on the master page and apply it to your classic ASP pages until you have time to rewrite them.
Also, if you have a lot of business logic that you need to share between the two systems, you can take your DLLs and wrap them in COM so your ASP pages can use them as well.
a source to share