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
<!-- #customer intent: As a developer, I want to learn how to deploy my web applications to Azure App Service so that I can take advantage of its managed platform and easily scale my applications. -->
10
11
---
11
12
12
13
# Getting started with Azure App Service
13
14
14
-
## Introduction
15
+
[Azure App Service](./overview.md) is a fully managed platform as a service (PaaS) for hosting web applications.
16
+
15
17
::: zone pivot="stack-net"
16
-
[Azure App Service](./overview.md) is a fully managed platform as a service (PaaS) for hosting web applications. Use the following resources to get started with .NET.
18
+
19
+
## ASP.NET or ASP.NET Core
20
+
21
+
Use the following resources to get started with .NET.
|**Connect to a database**| - [.NET with Azure SQL Database](./app-service-web-tutorial-dotnet-sqldatabase.md)<br>- [.NET Core with Azure SQL DB](./tutorial-dotnetcore-sqldb-app.md)|
|**Review best practices**| - [Scale your app](./manage-scale-up.md)<br>- [Deployment](./deploy-best-practices.md)<br>- [Security](/security/benchmark/azure/baselines/app-service-security-baseline?toc=/azure/app-service/toc.json)<br>- [Virtual Network](./configure-vnet-integration-enable.md)|
32
+
27
33
::: zone-end
28
34
::: zone pivot="stack-python"
29
-
[Azure App Service](./overview.md) is a fully managed platform as a service (PaaS) for hosting web applications. Use the following resources to get started with Python.
35
+
36
+
## Python
37
+
38
+
Use the following resources to get started with Python.
|**Connect to a database**| - [Postgres - CLI](./tutorial-python-postgresql-app.md?tabs=flask%2Cwindows&pivots=deploy-azd)<br>- [Postgres - Azure portal](./tutorial-python-postgresql-app.md?tabs=flask%2Cwindows&pivots=deploy-portal)|
38
47
|**Custom containers**|- [Linux - Visual Studio Code](./quickstart-custom-container.md?tabs=python&pivots=container-linux-vscode)|
39
48
|**Review best practices**| - [Scale your app](./manage-scale-up.md)<br>- [Deployment](./deploy-best-practices.md)<br>- [Security](/security/benchmark/azure/baselines/app-service-security-baseline?toc=/azure/app-service/toc.json)<br>- [Virtual Network](./configure-vnet-integration-enable.md)|
49
+
40
50
::: zone-end
41
51
::: zone pivot="stack-nodejs"
42
-
[Azure App Service](./overview.md) is a fully managed platform as a service (PaaS) for hosting web applications. Use the following resources to get started with Node.js.
52
+
53
+
## Node.js
54
+
55
+
Use the following resources to get started with Node.js.
|**Connect to a database**| - [MongoDB](./tutorial-nodejs-mongodb-app.md)|
51
64
|**Custom containers**|- [Linux - Visual Studio Code](./quickstart-custom-container.md?tabs=node&pivots=container-linux-vscode)|
52
65
|**Review best practices**| - [Scale your app](./manage-scale-up.md)<br>- [Deployment](./deploy-best-practices.md)<br>- [Security](/security/benchmark/azure/baselines/app-service-security-baseline?toc=/azure/app-service/toc.json)<br>- [Virtual Network](./configure-vnet-integration-enable.md)|
66
+
53
67
::: zone-end
54
68
::: zone pivot="stack-java"
55
-
[Azure App Service](./overview.md) is a fully managed platform as a service (PaaS) for hosting web applications. Use the following resources to get started with Java.
69
+
70
+
## Java
71
+
72
+
Use the following resources to get started with Java.
|**Connect to a database**|- [Java Spring with Cosmos DB](./tutorial-java-spring-cosmosdb.md)|
64
81
|**Custom containers**|- [Linux - Visual Studio Code](./quickstart-custom-container.md?tabs=python&pivots=container-linux-vscode)|
65
82
|**Review best practices**| - [Scale your app](./manage-scale-up.md)<br>- [Deployment](./deploy-best-practices.md)<br>- [Security](/security/benchmark/azure/baselines/app-service-security-baseline?toc=/azure/app-service/toc.json)<br>- [Virtual Network](./configure-vnet-integration-enable.md)|
83
+
66
84
::: zone-end
67
85
::: zone pivot="stack-php"
68
-
[Azure App Service](./overview.md) is a fully managed platform as a service (PaaS) for hosting web applications. Use the following resources to get started with PHP.
86
+
87
+
## PHP
88
+
89
+
Use the following resources to get started with PHP.
Copy file name to clipboardExpand all lines: articles/app-service/includes/deploy-intelligent-apps/deploy-intelligent-apps-linux-java-pivot.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,11 @@ You can use Azure App Service to create applications using Azure OpenAI and Open
17
17
18
18
### Set up web app
19
19
20
+
<<<<<<< HEAD
20
21
For this Spring Boot application, we're building off the [quickstart](../../quickstart-java.md?tabs=springboot&pivots=java-maven-javase) app and adding an extra feature to make a request to an Azure OpenAI or OpenAI service. Add the following code to your application:
22
+
=======
23
+
For this Spring Boot application, we're building off the [quickstart](../../quickstart-java.md?tabs=springboot&pivots=java-javase) app and adding an extra feature to make a request to an Azure OpenAI or OpenAI service. Add the following code to your application:
24
+
>>>>>>> 186f85b0178b (acrolinx and template errors)
21
25
22
26
```bash
23
27
@RequestMapping("/")
@@ -147,7 +151,7 @@ Before you can create the client, you first need to add the Azure SDK dependency
147
151
</dependency>
148
152
```
149
153
150
-
Once the package is created, we can start working on the client that will make our calls.
154
+
Once the package is created, we can start working on the client that makes our calls.
Now that our OpenAI service is created we can use the chat completions method to send our request message to OpenAI and return a response. Here's where we add our chat message prompt to the code to be passed to the chat completions method. Use the following code to set up the chat completions method:
186
190
@@ -285,9 +289,9 @@ public class Application {
285
289
286
290
### Deploy to App Service
287
291
288
-
If you completed the steps above, you can deploy to App Service as you normally would. If you run into any issues, remember that you need to complete the following: grant your app access to your Key Vault, and add the app settings with key vault references as your values. App Service resolves the app settings in your application that match what you've added in the portal.
292
+
If you completed the steps above, you can deploy to App Service as you normally would. If you run into any issues, remember that you need to complete the following steps: grant your app access to your Key Vault, and add the app settings with key vault references as your values. App Service resolves the app settings in your application that match what you added in the portal.
289
293
290
-
Once deployed, you can visit your site URL and you are greeted with the text that contains the response from your chat message prompt.
294
+
Once the app is deployed, you can visit your site URL and you're greeted with the text that contains the response from your chat message prompt.
0 commit comments