Connection strings settings

    The connection strings settings section contains the connection string to the database Umbraco will connect to. This section is very similar to what is used by default in .Netcore. The important thing is that the key for the connection string Umbraco will use is "umbracoDbDSN". It is also important to note that this section is outside the Umbraco.CMS section, and is therefore in the root of the config.

    A connection strings config can look like this:

    "ConnectionStrings": {
      "umbracoDbDSN": "Server=.;Database=DocsSite;Integrated Security=true"

    The connection string used here is an SQL Server 2019 connection string, that will connect to DocsSite database running on the locally hosted SQL Server using integrated security.

    Umbraco currently supports using either a Microsoft SQL Server, or a SQL Server Compact database, both of these will look different.

    For more information about the specific connection strings see: