使用Web应用程序项目并从Web站点调用它 [英] Use web application project and call it from web site
本文介绍了使用Web应用程序项目并从Web站点调用它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经有一个现有的网站项目正在制作中。现在我希望在新页面集中拥有另一种不同的功能。所以我想保留另一个Web应用程序项目,并在我现有的网站中引用它。我没有使用M.V.C
这可能吗?我可以在我的网站上托管我新创建的Web应用程序吗?
什么是最好的方式?
我的尝试:
可以从其他网站拨打电话。但这是正确的方法吗?
解决方案
如果您可以访问IIS,您可以将其设置为您网站中的虚拟目录。
创建虚拟目录(IIS 7) [ ^ ]
了解IIS 7上的站点,应用程序和虚拟目录:官方Microsoft IIS站点 [ ^ ]
I already have one existing website project which is in production. Now i want to have another different functionality with set of new pages. So i want to keep another web application project and refer the same in my existing website. Am not using M.V.C
Is this possible? Can i host my newly creating web application along with my website?
what is the best way?
What I have tried:
Could able to call from another website. But is this the correct way?
解决方案
If you can access IIS you could set it up as a virtual directory within your website.
Create a Virtual Directory (IIS 7)[^]
Understanding Sites, Applications, and Virtual Directories on IIS 7 : The Official Microsoft IIS Site[^]
这篇关于使用Web应用程序项目并从Web站点调用它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文