Can you mix ASP and ASP.NET?

前端 未结 2 2057
傲寒
傲寒 2020-12-06 12:35

I am working on a mobile site that uses .aspx for the pages; however, I am transferring information from older .asp pages. These .asp pages

2条回答
  •  时光取名叫无心
    2020-12-06 13:27

    You can have the two running together. It's not necessarily a bad practice to mix the two, but here can be some technical things that you'll have to work out. Since it sounds like you're trying to convert a classic ASP site to ASP.NET, if there are not too many pages, I'd probably try to figure out the conversion issues so that all of your pages are running on ASP.NET.

    Otherwise if you do want to run ASP and ASP.NET side by side, if your website has session state or authentication and you need that shared by both asp and asp.net pages, then you need to ensure that you have a strategy to handle that kind of stuff. This thread details session management issues to consider when running ASP with ASP.NET, for example: Classic ASP and ASP.NET Integration.

提交回复
热议问题