I开发者_如何学Go'd like to implement Dispatching on the host header like stackexchange team did. Any ideas?
This technique is simply taking in HttpContext.Current.Request.Url or another request value and dynamically setting a connection string.
So a user requests horsesaresweet.com and connects to the horsesaresweet database.
Nothing fancy.
精彩评论