什么是在IIS7 + ASP.NET中重现PACKED页面的最佳方法
-
14-11-2019 - |
题
我通过为不同的域添加到一个IIS7网站条目并动态更改页面的内容来创建像过去的PARKED页面。我想知道他们是否不是一种不同或更好的方法来处理指向一个代码库的许多域。他们是IIS7网站的主机标题数量的任何限制吗?它通过拥有这么多主机标题来影响性能或稳定性吗?
解决方案
Well, I guess I have to answer this one myself...
I can say with certainty now that IIS7 will handle serving many hundreds of host headers pointing to the same website codebase. We've been running a setup like this for the better part of a year and it performs well. You can write a script to import the host headers from a CSV file, then turn around and import them into your database.
不隶属于 StackOverflow