ASP.NET connection string metadata syntax

前端 未结 3 996
野趣味
野趣味 2021-01-04 07:00

I\'m new to ASP.NET-ville, be gentle.

I have been troubleshooting a ASP.NET setup, where the server/database values are changing, therefore web.config needs to be up

相关标签:
3条回答
  • 2021-01-04 07:26

    A great source of connection string information can be found here:

    http://www.connectionstrings.com/

    0 讨论(0)
  • 2021-01-04 07:38

    I felt the need to post this since i also had some problems with this and later on discovered that there's a difference in connection string requirements for codefirst/model/database approaches:

    MS Blog post about configuration settings for entitiy framework connection strings

    0 讨论(0)
  • 2021-01-04 07:43

    There are two different types of connection strings here. The best bet (IMO) is to have a read up in the docs -

    The first is an ADO.Net connection string: http://msdn.microsoft.com/en-us/library/ms254500.aspx

    The second is an Entity Framework connection string: http://msdn.microsoft.com/en-us/library/cc716756.aspx

    It's all explained in those two links, certainly clearer than I can explain it!

    0 讨论(0)
提交回复
热议问题