引用另一个Web应用程序 [英] Reference Another Web Application

查看:75
本文介绍了引用另一个Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我目前正在开发一个Web应用程序,并且正在创建一个新的Web应用程序,我想在其中访问我以前在Web应用程序中已经编写的一些代码.如何添加对旧代码的引用?我试图添加Web参考,但是当我输入原始应用的Web地址时,它告诉我"HTML文档不包含Web服务发现信息.".我是否不想添加网络参考?任何帮助将不胜感激.

在此先感谢,

Brad

解决方案

使用添加引用而不是添加网络引用并找到 bin \ *.dll 旧的Web应用程序并将其添加到新的应用程序中.启用这是不可能的.


Hello All,

I currently have a web application developed and am creating a new one in which I would like to access some of the code that I already have written in the previous web application. How do I go about adding a reference to my old code? I tried to add web reference, but when I entered the web address of my original app it tells me "The HTML document does not contain Web service discovery information.". Am I not wanting to add web reference? Any help would be appreciated.

Thanks In Advance,

Brad

解决方案

use add reference instead of add web reference and locate bin\*.dll of old web application and add that dll to new application.


Unless you have put the reuseable code in dll''s instead of directly in your web project or you have webservices enabled this is not possible.


这篇关于引用另一个Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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