views:

47

answers:

1

Hi, I'd like to implement Dispatching on the host header like stackexchange team did. Any ideas?

A: 

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.

jfar