Is it possible to combine asp.net 4.0 with classic asp, or can I convert classic asp to asp.net?

I have a website with Visual Studio 2010 / .net 4 / VB.

I really liked the layout of the frequently asked questions system that I found because it is simple, but it is in classic asp. Therefore, obviously, I cannot include my layouts on the main page, but I think that everything is in order.

But can I convert the FAQ system to asp.net, or is there any tool I can use?

If not, is it possible to have classic asp pages on an asp.net 4.0 website?

Any guidance would be really appreciated!

+6
source share
1 answer

I would be better off if you converted classic ASP pages to asp.net, the reason is obvious and the same as why Microsoft introduced asp.net through ASP

you have more flexibility, simplicity, for creating applications and more features of controls and options for which you need C # / Vb to clear the way for you.

And it would be quick to use the tool to convert the classic asp to asp.net, but this can lead to many problems, since even one conversion hidden with the tool will be difficult to find, and if you convert the code yourself, then for later ones, if there is any change, you can easily do it as you know who sits where.

You can host classic asp pages on asp.net to make some changes to IIS.

http://learn.iis.net/page.aspx/564/classic-asp-script-error-messages-no-longer-shown-in-web-browser-by-default/

but even this is not a good option, since asp may be less supported by Microsoft in IIS.

Hope this provides you some help ....

+7
source

Source: https://habr.com/ru/post/911171/


All Articles