IdentityServer / IdentityServer2

[deprecated] Thinktecture IdentityServer is a light-weight security token service built with .NET 4.5, MVC 4, Web API and WCF.
Other
410 stars 291 forks source link

Add support for easier renaming of connection string #848

Closed peter-dolkens closed 9 years ago

peter-dolkens commented 9 years ago

In our project, I wanted to easily be able to switch between identity provider databases.

It was currently possible by generating a DbConnection, but that forces us to bind to one particular DB provider.

By allowing the Db Name or ConnectionString to be passed in, we allow a much simpler, and more resilient method by which to specify the connection string

peter-dolkens commented 9 years ago

I was originally going to do these 2 commits as separate pull requests, but it seems github decided to include both in this package.

Let me know if you have any issues with either of the 2, simple changes.

brockallen commented 9 years ago

@leastprivilege any thoughts? seems reasonable to me.

leastprivilege commented 9 years ago

no idea. why not.

brockallen commented 9 years ago

ok, added. thanks.

peter-dolkens commented 9 years ago

Any chance we can get the nuget package updated too?

For now I'm going the long (Provider-bound) way in our project, as I don't want to tear out the existing nuget references.