ASP.NET 部署 - 如何跨多个 WebApp 项目共享 BIN? [英] ASP.NET deployment - How to share BIN across multiple WebApp Projects?

查看:32
本文介绍了ASP.NET 部署 - 如何跨多个 WebApp 项目共享 BIN?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

What is the best practice for sharing the assemblies of a bin folder across multiple ASP.net websites in IIS 7?

I've got several sites, each with slightly different HTML front ends, but all with the same middle tier logic and DB. I don't want to redploy the same dlls to each of the many site's bin folders everytime I make a change.

Thanks.

解决方案

Another option is to make your .Net code smart enough so that it can load the correct HTML front end based on the URL. That way you could deploy your code to one location, then have multiple virtual directories use the same code.

这篇关于ASP.NET 部署 - 如何跨多个 WebApp 项目共享 BIN?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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