具有多个项目的虚拟目录 [英] Virtual Directory with multiple projects

查看:57
本文介绍了具有多个项目的虚拟目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,



我有四个不同的项目,比如

1. ASP .Net Application

2. WCF服务

3. ASP .Net WebService

4. Html网站



现在我有一次名为Home的文件夹,其中包含所有这4个项目和结构将是



首页

Web应用程序

WCF服务

ASP .Net WebService

Html网站



我需要创建单个虚拟目录和它将指向主文件夹。



当我试图访问文件时,这些文件位于子文件夹内部,给出错误。



类型......作为服务主机指令中的服务属性值提供,或在配置元素中提供System.servicemodel / serviceHostingEnvironment / ServiceActivations无法找到。 br />


如何解决这个问题?

Dear all,

I have four different projects like
1. ASP .Net Application
2. WCF Service
3. ASP .Net WebService
4. Html website

Now i Have once folder with the name of Home, which is containing all these 4 projects and structure will be

Home
Webapplication
WCF Service
ASP .Net WebService
Html website

I need to create single virtual directory and it will point to the home folder.

and when i am trying to access the files, which are in inside of the subfolders its giving error.

The Type ...... Provided as the service attribute value in the service host directive, or provided in the configuration element System.servicemodel/serviceHostingEnvironment/ServiceActivations could not be found.

How to resolve this?

推荐答案

您不清楚Home文件夹是否包含常规文件或实际的Web应用程序和服务。



如果这些文件夹只是文件夹,那么它应该在单个虚拟目录下工作。



如果它们是个人应用程序或服务,则需要自己的虚拟目录。
You are not clear if the Home folder contains regular files or actual web apps and services.

If these folders are just file folders then it should work under single virtual directory.

If they are individual apps or services they need their own virtuals.


这篇关于具有多个项目的虚拟目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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