Skip to content

Commit 9f72b7b

Browse files
authored
Change references of Web.config to be appsettings.json (#11244)
1 parent bea143f commit 9f72b7b

File tree

2 files changed

+25
-26
lines changed

2 files changed

+25
-26
lines changed

src/Umbraco.Web.UI/umbraco/config/lang/en.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@
811811
</area>
812812
<area alias="installer">
813813
<key alias="databaseErrorCannotConnect">The installer cannot connect to the database.</key>
814-
<key alias="databaseErrorWebConfig">Could not save the web.config file. Please modify the connection string manually.</key>
814+
<key alias="databaseErrorWebConfig">Could not save the appsettings.json file. Please modify the connection string manually.</key>
815815
<key alias="databaseFound">Your database has been found and is identified as</key>
816816
<key alias="databaseHeader">Database configuration</key>
817817
<key alias="databaseInstall">
@@ -820,12 +820,12 @@
820820
]]>
821821
</key>
822822
<key alias="databaseInstallDone"><![CDATA[Umbraco %0% has now been copied to your database. Press <strong>Next</strong> to proceed.]]></key>
823-
<key alias="databaseNotFound"><![CDATA[<p>Database not found! Please check that the information in the "connection string" of the "web.config" file is correct.</p>
824-
<p>To proceed, please edit the "web.config" file (using Visual Studio or your favourite text editor), scroll to the bottom, add the connection string for your database in the key named "UmbracoDbDSN" and save the file. </p>
823+
<key alias="databaseNotFound"><![CDATA[<p>Database not found! Please check that the information in the "ConnectionStrings" property of the "appsettings.json" file is correct.</p>
824+
<p>To proceed, please edit the "appsettings.json" file (using Visual Studio or your favourite text editor), add the connection string for your database in the key named "umbracoDbDSN" and save the file. </p>
825825
<p>
826826
Click the <strong>retry</strong> button when
827-
done.<br /><a href="https://our.umbraco.com/documentation/Reference/Config/webconfig/" target="_blank" rel="noopener">
828-
More information on editing web.config here</a>.</p>]]></key>
827+
done.<br /><a href="https://our.umbraco.com/documentation/Reference/V9-Config/ConnectionStringsSettings/" target="_blank" rel="noopener">
828+
More information on editing appsettings.json here</a>.</p>]]></key>
829829
<key alias="databaseText"><![CDATA[To complete this step, you must know some information regarding your database server ("connection string").<br />
830830
Please contact your ISP if necessary.
831831
If you're installing on a local machine or server you might need information from your system administrator.]]></key>
@@ -844,7 +844,7 @@
844844
<key alias="defaultUserPassChanged"><![CDATA[<strong>The Default user's password has been successfully changed since the installation!</strong></p><p>No further actions needs to be taken. Click <strong>Next</strong> to proceed.]]></key>
845845
<key alias="defaultUserPasswordChanged">The password is changed!</key>
846846
<key alias="greatStart">Get a great start, watch our introduction videos</key>
847-
<key alias="licenseText">By clicking the next button (or modifying the umbracoConfigurationStatus in web.config), you accept the license for this software as specified in the box below. Notice that this Umbraco distribution consists of two different licenses, the open source MIT license for the framework and the Umbraco freeware license that covers the UI.</key>
847+
<key alias="licenseText">By clicking the next button, you accept the license for this software as specified in the box below. Notice that this Umbraco distribution consists of two different licenses, the open source MIT license for the framework and the Umbraco freeware license that covers the UI.</key>
848848
<key alias="None">Not installed yet.</key>
849849
<key alias="permissionsAffectedFolders">Affected files and folders</key>
850850
<key alias="permissionsAffectedFoldersMoreInfo">More information on setting up permissions for Umbraco here</key>
@@ -907,8 +907,8 @@ You installed Runway, so why not see how your new website looks.]]></key>
907907
<key alias="theEndFurtherHelp"><![CDATA[<h3>Further help and information</h3>
908908
Get help from our award winning community, browse the documentation or watch some free videos on how to build a simple site, how to use packages and a quick guide to the Umbraco terminology]]></key>
909909
<key alias="theEndHeader">Umbraco %0% is installed and ready for use</key>
910-
<key alias="theEndInstallFailed"><![CDATA[To finish the installation, you'll need to
911-
manually edit the <strong>/web.config file</strong> and update the AppSetting key <strong>UmbracoConfigurationStatus</strong> in the bottom to the value of <strong>'%0%'</strong>.]]></key>
910+
<key alias="theEndInstallFailed"><![CDATA[Installation failed, check the logs for more details.]]></key>
911+
912912
<key alias="theEndInstallSuccess"><![CDATA[You can get <strong>started instantly</strong> by clicking the "Launch Umbraco" button below. <br />If you are <strong>new to Umbraco</strong>,
913913
you can find plenty of resources on our getting started pages.]]></key>
914914
<key alias="theEndOpenUmbraco"><![CDATA[<h3>Launch Umbraco</h3>
@@ -2044,8 +2044,8 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
20442044
<key alias="httpsCheckExpiringCertificate">Your website's SSL certificate is expiring in %0% days.</key>
20452045
<key alias="healthCheckInvalidUrl">Error pinging the URL %0% - '%1%'</key>
20462046
<key alias="httpsCheckIsCurrentSchemeHttps">You are currently %0% viewing the site using the HTTPS scheme.</key>
2047-
<key alias="httpsCheckConfigurationRectifyNotPossible">The appSetting 'Umbraco.Core.UseHttps' is set to 'false' in your web.config file. Once you access this site using the HTTPS scheme, that should be set to 'true'.</key>
2048-
<key alias="httpsCheckConfigurationCheckResult">The appSetting 'Umbraco.Core.UseHttps' is set to '%0%' in your web.config file, your cookies are %1% marked as secure.</key>
2047+
<key alias="httpsCheckConfigurationRectifyNotPossible">The appSetting 'Umbraco:CMS:Global:UseHttps' is set to 'false' in your appsettings.json file. Once you access this site using the HTTPS scheme, that should be set to 'true'.</key>
2048+
<key alias="httpsCheckConfigurationCheckResult">The appSetting 'Umbraco:CMS:Global:UseHttps' is set to '%0%' in your appsettings.json file, your cookies are %1% marked as secure.</key>
20492049
<!-- The following keys don't get tokens passed in -->
20502050
<key alias="compilationDebugCheckSuccessMessage">Debug compilation mode is disabled.</key>
20512051
<key alias="compilationDebugCheckErrorMessage">Debug compilation mode is currently enabled. It is recommended to disable this setting before go live.</key>
@@ -2071,10 +2071,10 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
20712071
-->
20722072
<key alias="excessiveHeadersFound"><![CDATA[The following headers revealing information about the website technology were found: <strong>%0%</strong>.]]></key>
20732073
<key alias="excessiveHeadersNotFound">No headers revealing information about the website technology were found.</key>
2074-
<key alias="smtpMailSettingsNotFound">In the Web.config file, system.net/mailsettings could not be found.</key>
2075-
<key alias="smtpMailSettingsHostNotConfigured">In the Web.config file system.net/mailsettings section, the host is not configured.</key>
2074+
<key alias="smtpMailSettingsNotFound">In the appsettings.json file, Umbraco:CMS:Global:Smtp could not be found.</key>
2075+
<key alias="smtpMailSettingsHostNotConfigured">In the appsettings.json file Umbraco:CMS:Global:Smtp section, the host is not configured.</key>
20762076
<key alias="smtpMailSettingsConnectionSuccess">SMTP settings are configured correctly and the service is operating as expected.</key>
2077-
<key alias="smtpMailSettingsConnectionFail">The SMTP server configured with host '%0%' and port '%1%' could not be reached. Please check to ensure the SMTP settings in the Web.config file system.net/mailsettings are correct.</key>
2077+
<key alias="smtpMailSettingsConnectionFail">The SMTP server configured with host '%0%' and port '%1%' could not be reached. Please check to ensure the SMTP settings in the appsettings.json file Umbraco:CMS:Global:Smtp are correct.</key>
20782078
<key alias="notificationEmailsCheckSuccessMessage"><![CDATA[Notification email has been set to <strong>%0%</strong>.]]></key>
20792079
<key alias="notificationEmailsCheckErrorMessage"><![CDATA[Notification email is still set to the default value of <strong>%0%</strong>.]]></key>
20802080
<key alias="scheduledHealthCheckEmailBody"><![CDATA[<html><body><p>Results of the scheduled Umbraco Health Checks run on %0% at %1% are as follows:</p>%2%</body></html>]]></key>

src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -830,19 +830,19 @@
830830
</area>
831831
<area alias="installer">
832832
<key alias="databaseErrorCannotConnect">The installer cannot connect to the database.</key>
833-
<key alias="databaseErrorWebConfig">Could not save the web.config file. Please modify the connection string manually.</key>
833+
<key alias="databaseErrorWebConfig">Could not save the appsettings.json file. Please modify the connection string manually.</key>
834834
<key alias="databaseFound">Your database has been found and is identified as</key>
835835
<key alias="databaseHeader">Database configuration</key>
836836
<key alias="databaseInstall"><![CDATA[
837837
Press the <strong>install</strong> button to install the Umbraco %0% database
838838
]]></key>
839839
<key alias="databaseInstallDone"><![CDATA[Umbraco %0% has now been copied to your database. Press <strong>Next</strong> to proceed.]]></key>
840-
<key alias="databaseNotFound"><![CDATA[<p>Database not found! Please check that the information in the "connection string" of the "web.config" file is correct.</p>
841-
<p>To proceed, please edit the "web.config" file (using Visual Studio or your favourite text editor), scroll to the bottom, add the connection string for your database in the key named "UmbracoDbDSN" and save the file. </p>
840+
<key alias="databaseNotFound"><![CDATA[<p>Database not found! Please check that the information in the "ConnectionStrings" property of the "appsettings.json" file is correct.</p>
841+
<p>To proceed, please edit the "appsettings.json" file (using Visual Studio or your favourite text editor), add the connection string for your database in the key named "umbracoDbDSN" and save the file. </p>
842842
<p>
843843
Click the <strong>retry</strong> button when
844-
done.<br /><a href="https://our.umbraco.com/documentation/Reference/Config/webconfig/" target="_blank" rel="noopener">
845-
More information on editing web.config here</a>.</p>]]></key>
844+
done.<br /><a href="https://our.umbraco.com/documentation/Reference/V9-Config/ConnectionStringsSettings/" target="_blank" rel="noopener">
845+
More information on editing appsettings.json here</a>.</p>]]></key>
846846
<key alias="databaseText"><![CDATA[To complete this step, you must know some information regarding your database server ("connection string").<br />
847847
Please contact your ISP if necessary.
848848
If you're installing on a local machine or server you might need information from your system administrator.]]></key>
@@ -861,7 +861,7 @@
861861
<key alias="defaultUserPassChanged"><![CDATA[<strong>The Default user's password has been successfully changed since the installation!</strong></p><p>No further actions needs to be taken. Click <strong>Next</strong> to proceed.]]></key>
862862
<key alias="defaultUserPasswordChanged">The password is changed!</key>
863863
<key alias="greatStart">Get a great start, watch our introduction videos</key>
864-
<key alias="licenseText">By clicking the next button (or modifying the umbracoConfigurationStatus in web.config), you accept the license for this software as specified in the box below. Notice that this Umbraco distribution consists of two different licenses, the open source MIT license for the framework and the Umbraco freeware license that covers the UI.</key>
864+
<key alias="licenseText">By clicking the next button, you accept the license for this software as specified in the box below. Notice that this Umbraco distribution consists of two different licenses, the open source MIT license for the framework and the Umbraco freeware license that covers the UI.</key>
865865
<key alias="None">Not installed yet.</key>
866866
<key alias="permissionsAffectedFolders">Affected files and folders</key>
867867
<key alias="permissionsAffectedFoldersMoreInfo">More information on setting up permissions for Umbraco here</key>
@@ -924,8 +924,7 @@ You installed Runway, so why not see how your new website looks.]]></key>
924924
<key alias="theEndFurtherHelp"><![CDATA[<h3>Further help and information</h3>
925925
Get help from our award winning community, browse the documentation or watch some free videos on how to build a simple site, how to use packages and a quick guide to the Umbraco terminology]]></key>
926926
<key alias="theEndHeader">Umbraco %0% is installed and ready for use</key>
927-
<key alias="theEndInstallFailed"><![CDATA[To finish the installation, you'll need to
928-
manually edit the <strong>/web.config file</strong> and update the AppSetting key <strong>UmbracoConfigurationStatus</strong> in the bottom to the value of <strong>'%0%'</strong>.]]></key>
927+
<key alias="theEndInstallFailed"><![CDATA[Installation failed, check the logs for more details.]]></key>
929928
<key alias="theEndInstallSuccess"><![CDATA[You can get <strong>started instantly</strong> by clicking the "Launch Umbraco" button below. <br />If you are <strong>new to Umbraco</strong>,
930929
you can find plenty of resources on our getting started pages.]]></key>
931930
<key alias="theEndOpenUmbraco"><![CDATA[<h3>Launch Umbraco</h3>
@@ -2102,8 +2101,8 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
21022101
<key alias="httpsCheckExpiringCertificate">Your website's SSL certificate is expiring in %0% days.</key>
21032102
<key alias="healthCheckInvalidUrl">Error pinging the URL %0% - '%1%'</key>
21042103
<key alias="httpsCheckIsCurrentSchemeHttps">You are currently %0% viewing the site using the HTTPS scheme.</key>
2105-
<key alias="httpsCheckConfigurationRectifyNotPossible">The configuration value 'Umbraco:CMS:Global:UseHttps' is set to 'false' in your web.config file. Once you access this site using the HTTPS scheme, that should be set to 'true'.</key>
2106-
<key alias="httpsCheckConfigurationCheckResult">The configuration value 'Umbraco:CMS:Global:UseHttps' is set to '%0%' in your web.config file, your cookies are %1% marked as secure.</key>
2104+
<key alias="httpsCheckConfigurationRectifyNotPossible">The appSetting 'Umbraco:CMS:Global:UseHttps' is set to 'false' in your appsettings.json file. Once you access this site using the HTTPS scheme, that should be set to 'true'.</key>
2105+
<key alias="httpsCheckConfigurationCheckResult">The appSetting 'Umbraco:CMS:Global:UseHttps' is set to '%0%' in your appsettings.json file, your cookies are %1% marked as secure.</key>
21072106
<!-- The following keys don't get tokens passed in -->
21082107
<key alias="compilationDebugCheckSuccessMessage">Debug compilation mode is disabled.</key>
21092108
<key alias="compilationDebugCheckErrorMessage">Debug compilation mode is currently enabled. It is recommended to disable this setting before go live.</key>
@@ -2129,10 +2128,10 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
21292128
-->
21302129
<key alias="excessiveHeadersFound"><![CDATA[The following headers revealing information about the website technology were found: <strong>%0%</strong>.]]></key>
21312130
<key alias="excessiveHeadersNotFound">No headers revealing information about the website technology were found.</key>
2132-
<key alias="smtpMailSettingsNotFound">The 'Umbraco:CMS:Global:Smtp' configuration could not be found.</key>
2133-
<key alias="smtpMailSettingsHostNotConfigured">The 'Umbraco:CMS:Global:Smtp:Host' configuration could not be found.</key>
2131+
<key alias="smtpMailSettingsNotFound">In the appsettings.json file, Umbraco:CMS:Global:Smtp could not be found.</key>
2132+
<key alias="smtpMailSettingsHostNotConfigured">In the appsettings.json file Umbraco:CMS:Global:Smtp section, the host is not configured.</key>
21342133
<key alias="smtpMailSettingsConnectionSuccess">SMTP settings are configured correctly and the service is operating as expected.</key>
2135-
<key alias="smtpMailSettingsConnectionFail">The SMTP server configured with host '%0%' and port '%1%' could not be reached. Please check to ensure the SMTP settings in the configuration 'Umbraco:CMS:Global:Smtp' are correct.</key>
2134+
<key alias="smtpMailSettingsConnectionFail">The SMTP server configured with host '%0%' and port '%1%' could not be reached. Please check to ensure the SMTP settings in the appsettings.json file Umbraco:CMS:Global:Smtp are correct.</key>
21362135
<key alias="notificationEmailsCheckSuccessMessage"><![CDATA[Notification email has been set to <strong>%0%</strong>.]]></key>
21372136
<key alias="notificationEmailsCheckErrorMessage"><![CDATA[Notification email is still set to the default value of <strong>%0%</strong>.]]></key>
21382137
<key alias="scheduledHealthCheckEmailBody"><![CDATA[<html><body><p>Results of the scheduled Umbraco Health Checks run on %0% at %1% are as follows:</p>%2%</body></html>]]></key>

0 commit comments

Comments
 (0)