Managing A Debug and Release Connection String

前端 未结 9 1327
北海茫月
北海茫月 2021-01-30 18:41

What is a good approach to managing a debug and release connection string in a .NET / SQLServer application?

I have two SQL Servers, a production and a build/debug and I

9条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-30 19:37

    The good news is that .NET4 has a provision for just that, you can have separate configs for each Configuration (web.Release.config, web.Debug.config).

    The bad news is ... you're probably not using that yet.

提交回复
热议问题