我可以将asp.net 4.0与经典asp结合使用,还是可以将经典asp转换为asp.net? [英] Can I combine asp.net 4.0 with classic asp, or can I convert classic asp to asp.net?

查看:95
本文介绍了我可以将asp.net 4.0与经典asp结合使用,还是可以将经典asp转换为asp.net?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Visual Studio 2010/.net 4/VB创建的网站.

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

我真的很喜欢我发现的FAQ系统的布局,因为它很简单,但是它是经典的asp.因此,显然,我不能包括我的母版版式,但是我想那是可以的.

I really liked the layout of a FAQ system I found because it's simple, but it's in classic asp. So, obviously, I cannot include my master page layouts, but I guess that's okay.

但是我可以将FAQ系统转换为asp.net,还是可以使用一些工具?

But can I convert the FAQ system to asp.net, or is there some tool out there I can utilize?

如果没有,可以在asp.net 4.0网站上拥有经典的ASP页面吗?

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

任何指导将不胜感激!

推荐答案

如果将经典的ASP页面转换为asp.net,我会更好 原因很明显,与微软通过ASP引入asp.net的原因相同.

I would be better if you convert classic ASP pages to asp.net the reason is obvious and same as why Microsoft introduced asp.net over ASP

您具有更大的灵活性,更简单的功能,更易于构建的应用程序以及更广泛的控件选择和选项,并且拥有c#/Vb为您扫清了道路.

you have more flexibility, simplicity, to build application and wider options of controls and options to go for and you have c#/Vb to clear the road for you.

使用工具将经典的asp转换为asp.net会很快,但这可能会导致许多问题,因为即使是通过工具进行转义的单个转换也很难找到,如果您自己转换代码,那么稍后,如果有任何更改,您可以轻松地做到这一点,因为您知道谁坐在哪里.

And it would be quick to use a tool convert classic asp to asp.net, but that can lead you to many problems as even a single conversion escaped by tool would be hard to find and if you convert the code by yourself then for later, if any changes, you can easily do it as you know who is sitting where.

您可以在asp.net中托管经典的ASP页面,需要在IIS中进行一些更改.

You can host classic asp pages in asp.net need to do some changes in IIS.

但是,即使那样也不是一个好选择,因为Microsoft在IIS中对ASP的支持可能较少.

but even that is not a good option as asp might be less supported by Microsoft in IIS.

希望这会为您提供一些帮助....

Hope this would provide you with some help....

这篇关于我可以将asp.net 4.0与经典asp结合使用,还是可以将经典asp转换为asp.net?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆