From e530fc2489338deedc03da5bec3688e474c16cb6 Mon Sep 17 00:00:00 2001 From: Michael Gordeev Date: Mon, 30 Mar 2020 16:22:33 +0300 Subject: [PATCH] Configured project to deploy at both production and debug without errors Updated .gitignore --- .gitignore | 3 +- .../MyWebsite/Properties/launchSettings.json | 48 ++++++++----------- MyWebsite/MyWebsite/web.Release.config | 11 +++++ MyWebsite/MyWebsite/web.config | 6 --- 4 files changed, 34 insertions(+), 34 deletions(-) create mode 100644 MyWebsite/MyWebsite/web.Release.config diff --git a/.gitignore b/.gitignore index 7b84698..ce2c8f9 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ /MyWebsite/.config /MyWebsite/MyWebsite/Properties/PublishProfiles -/MyWebsite/MyWebsite/.config \ No newline at end of file +/MyWebsite/MyWebsite/.config +/MyWebsite/MyWebsite/logs diff --git a/MyWebsite/MyWebsite/Properties/launchSettings.json b/MyWebsite/MyWebsite/Properties/launchSettings.json index 3ad7c0a..6d9e267 100644 --- a/MyWebsite/MyWebsite/Properties/launchSettings.json +++ b/MyWebsite/MyWebsite/Properties/launchSettings.json @@ -1,27 +1,21 @@ -{ - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:55171", - "sslPort": 44386 - } - }, - "profiles": { - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "MyWebsite": { - "commandName": "Project", - "launchBrowser": true, - "applicationUrl": "https://localhost:5001;http://localhost:5000", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} +{ + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:55171", + "sslPort": 44386 + } + }, + "profiles": { + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "ancmHostingModel": "OutOfProcess", + "use64Bit": true + } + } +} \ No newline at end of file diff --git a/MyWebsite/MyWebsite/web.Release.config b/MyWebsite/MyWebsite/web.Release.config new file mode 100644 index 0000000..0d53adf --- /dev/null +++ b/MyWebsite/MyWebsite/web.Release.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/MyWebsite/MyWebsite/web.config b/MyWebsite/MyWebsite/web.config index 087d14b..c6e201a 100644 --- a/MyWebsite/MyWebsite/web.config +++ b/MyWebsite/MyWebsite/web.config @@ -33,12 +33,6 @@ - - - - - -