@@ -92,18 +92,22 @@ If you have other packages like Umbraco Forms installed, upgrade them before upg
9292
93938 . Make sure that your connection string has ` TrustServerCertificate=True ` in order to complete the upgrade successfully:
9494
95+ {% code title="appsettings.json" %}
96+
9597``` csharp
9698" ConnectionStrings" : {
9799 " umbracoDbDSN" : " Server=YourLocalSQLServerHere;Database=NameOfYourDatabaseHere;User Id=NameOfYourUserHere;Password=YourPasswordHere;TrustServerCertificate=True"
98100}
99101```
100102
103+ {% endcode %}
104+
1011059 . Restart your site in IIS, then build and run your project to finish the installation.
102106
103107{% hint style="info" %}
104- In Umbraco 13, we have moved to using the [ Minimal Hosting Model] ( https://github.com/umbraco/Umbraco-CMS/pull/14656 ) .
108+ Umbraco 13 and later versions uses the [ Minimal Hosting Model] ( https://github.com/umbraco/Umbraco-CMS/pull/14656 ) .
105109
106- If you have added custom code to the ` startup.cs ` file, we recommend moving the code into a Composer after upgrading.
110+ If you have added custom code to the ` startup.cs ` file, it is recommended to move that code into a Composer after upgrading.
107111{% endhint %}
108112
109113{% hint style="warning" %}
@@ -129,11 +133,13 @@ For v9: If you are using SQL CE in your project you will need to run `dotnet add
129133When the command completes, open the ** .csproj** file to make sure the package reference was updated:
130134
131135{% code title=".csproj" %}
136+
132137``` xml
133138<ItemGroup >
134139 <PackageReference Include =" Umbraco.Cms" Version =" x.x.x" />
135140</ItemGroup >
136141```
142+
137143{% endcode %}
138144
139145## Run an unattended upgrade
@@ -154,6 +160,7 @@ Check out the section about [Unattended upgrades in a load balanced setup](./#un
1541602 . Set the value of the key to ` true ` .
155161
156162{% code title="appsettings.json" %}
163+
157164``` json
158165{
159166 "Umbraco" : {
@@ -165,6 +172,7 @@ Check out the section about [Unattended upgrades in a load balanced setup](./#un
165172 }
166173}
167174```
175+
168176{% endcode %}
169177
170178### Run the upgrade
0 commit comments