You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/walkthroughs/deploy-to-azure-app-service-from-visual-studio.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ To deploy the eShopOnWeb sample application to an Azure App Service (assuming yo
28
28
29
29
In the upper-right corner of the dialog, select your Microsoft account. Then, select your **Subscription name**. For this walkthrough, we'll create a new App Service, so select **+ Create new**.
30
30
31
-

31
+

32
32
33
33
## 7. Add the app services details.
34
34
@@ -54,11 +54,15 @@ In order to populate the seed data, we need to set the `ASPNETCORE_ENVIRONMENT`
54
54
55
55
1. In the **App settings** section, add a new key `ASPNETCORE_ENVIRONMENT` with value `Development`.
56
56
57
+
1. Select **Apply**.
58
+
57
59
1. Add another key for `UseOnlyInMemoryDatabase` with the value of `true`.
58
60
59
61
1. Select **Apply**.
60
62
61
-

63
+

64
+
65
+
1. Finally, select **Apply** to apply all of these changes to the App Service.
62
66
63
67
## 9. Publish the app.
64
68
@@ -79,11 +83,6 @@ Once the publish process has completed, your deployed app will launch in your br
79
83
[Learn more about Azure deployment options in the official documentation](https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-deploy).
80
84
81
85
82
-
83
-
At this point, you should be able to refresh the site and see it loaded with data (if not, publish once more from Visual Studio).
- You may need to ensure you have the [Bundler and Minifier extension](https://docs.microsoft.com/en-us/aspnet/core/client-side/bundling-and-minification) installed in Visual Studio, otherwise your CSS may not be minified and referenced correctly in the deployed version of the application. Alternately, you can modify `_Layout.cshtml` to use app.css instead of `app.css.min` in Production.
0 commit comments