user35443
user35443

Reputation: 6403

Is it possible to use .asp extension for ASP.NET code?

I want to ask if it's possible to configure server to work with .asp extensioned files as with ASP.NET pages. Or it's absolutly denied to not mix new code with old ASP?

Upvotes: 0

Views: 455

Answers (3)

krishna.nambala
krishna.nambala

Reputation: 1

It is not possible to mix both *.asp and *.aspx pages because the configuration differs for both and my suggestion is to convert everything to .asp /.aspx.

Upvotes: -1

Mike Cole
Mike Cole

Reputation: 14713

You could place a *.asp file on your server that redirects to your final destination. I've had to do this a few times when we didn't want to break legacy hyperlinks.

Upvotes: 5

JB King
JB King

Reputation: 11910

Configuring Handler Mappings in IIS 7 would be the section that in theory you could specify which handler to use though this presumes you are using IIS 7.

Upvotes: 3

Related Questions