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: articles/static-web-apps/apis-functions.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: API support in Azure Static Web Apps with Azure Functions
3
-
description: Learn how to use Azure Functions with Azure Static Web Apps
3
+
description: Learn how to use Azure Functions with Azure Static Web Apps.
4
4
services: static-web-apps
5
5
author: craigshoemaker
6
6
ms.service: static-web-apps
@@ -11,20 +11,20 @@ ms.author: cshoe
11
11
12
12
# API support in Azure Static Web Apps with Azure Functions
13
13
14
-
Front end web applications often call back end APIs for data and services. By default, Azure Static Web Apps provides built-in serverless API endpoints via [Azure Functions](apis-functions.md).
14
+
Front end web applications often callback end APIs for data and services. By default, Azure Static Web Apps provides built-in serverless API endpoints via [Azure Functions](apis-functions.md).
15
15
16
-
Azure Functions APIs in Static Web Apps are supported by two possible configurations depending on the [hosting plan](plans.md#features):
16
+
Azure Functions APIs in Static Web Apps are available in two possible configurations depending on the [hosting plan](plans.md#features):
17
17
18
18
-**Managed functions**: By default, the API of a static web app is an Azure Functions application managed and deployed by Azure Static Web Apps associated with some restrictions.
19
19
20
-
-**Bring your own functions**: Optionally, you can [provide an existing Azure Functions application](functions-bring-your-own.md) of any plan type, which is accompanied by all the features of Azure Functions. With this configuration, you're responsible to handle a separate deployment for the Functions app.
20
+
-**Bring your own functions**: Optionally, you can [provide an existing Azure Functions application](functions-bring-your-own.md) of any plan type, which includes all the features of Azure Functions. With this configuration, you're responsible to handle a separate deployment for the Functions app.
21
21
22
22
The following table contrasts the differences between using managed and existing functions.
23
23
24
24
| Feature | Managed Functions | Bring your own Functions |
25
25
|---|---|---|
26
26
| Access to Azure Functions [triggers and bindings](../azure-functions/functions-triggers-bindings.md#supported-bindings)| HTTP only | All |
|[Integrated security](user-information.md) with direct access to user authentication and role-based authorization data | ✔ | ✔ |
30
30
|[Routing integration](./configuration.md?#routes) that makes the `/api` route available to the web app securely without requiring custom CORS rules. | ✔ | ✔ |
@@ -64,7 +64,7 @@ In addition to the Static Web Apps API [constraints](apis-overview.md#constraint
64
64
65
65
| Managed functions | Bring your own functions |
66
66
|---|---|
67
-
| <ul><li>Triggers and bindings are limited to [HTTP](../azure-functions/functions-bindings-http-webhook.md).</li><li>The Azure Functions app must either be in Node.js 12, Node.js 14, Node.js 16, Node.js 18 (public preview), .NET Core 3.1, .NET 6.0, Python 3.8, Python 3.9 or Python 3.10.</li><li>Some application settings are managed by the service, therefore the following prefixes are reserved by the runtime:<ul><li>*APPSETTING\_, AZUREBLOBSTORAGE\_, AZUREFILESSTORAGE\_, AZURE_FUNCTION\_, CONTAINER\_, DIAGNOSTICS\_, DOCKER\_, FUNCTIONS\_, IDENTITY\_, MACHINEKEY\_, MAINSITE\_, MSDEPLOY\_, SCMSITE\_, SCM\_, WEBSITES\_, WEBSITE\_, WEBSOCKET\_, AzureWeb*</li></ul></li><li>Some application tags are internally used by the service. Therefore, the following tags are reserved:<ul><li> *AccountId, EnvironmentId, FunctionAppId*.</li></ul></li></ul> | <ul><li>You are responsible to manage the Functions app deployment.</li></ul> |
67
+
| <ul><li>Triggers and bindings are limited to [HTTP](../azure-functions/functions-bindings-http-webhook.md).</li><li>The Azure Functions app must either be in Node.js 12, Node.js 14, Node.js 16, Node.js 18 (public preview), .NET Core 3.1, .NET 6.0, Python 3.8, Python 3.9, or Python 3.10.</li><li>Some application settings are managed by the service, therefore the following prefixes are reserved by the runtime:<ul><li>*APPSETTING\_, AZUREBLOBSTORAGE\_, AZUREFILESSTORAGE\_, AZURE_FUNCTION\_, CONTAINER\_, DIAGNOSTICS\_, DOCKER\_, FUNCTIONS\_, IDENTITY\_, MACHINEKEY\_, MAINSITE\_, MSDEPLOY\_, SCMSITE\_, SCM\_, WEBSITES\_, WEBSITE\_, WEBSOCKET\_, AzureWeb*</li></ul></li><li>Some application tags are internally used by the service. Therefore, the following tags are reserved:<ul><li> *AccountId, EnvironmentId, FunctionAppId*.</li></ul></li></ul> | <ul><li>You're responsible to manage the Functions app deployment.</li></ul> |
Copy file name to clipboardExpand all lines: articles/static-web-apps/languages-runtimes.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: static-web-apps
5
5
author: craigshoemaker
6
6
ms.service: static-web-apps
7
7
ms.topic: conceptual
8
-
ms.date: 08/30/2022
8
+
ms.date: 04/24/2024
9
9
ms.author: cshoe
10
10
---
11
11
@@ -35,9 +35,9 @@ You can specify the runtime version that builds the front end of your static web
35
35
36
36
## API
37
37
38
-
The APIs in Azure Static Web Apps are supported by Azure Functions. Refer to the [Azure Functions supported languages and runtimes](../azure-functions/supported-languages.md) for details.
38
+
The underlying support for APIs in Azure Static Web Apps is provided by Azure Functions. Refer to the [Azure Functions supported languages and runtimes](../azure-functions/supported-languages.md) for details.
39
39
40
-
The following versions are supported for managed functions in Static Web Apps. If your application requires a version not listed, considering[bringing your own functions](./functions-bring-your-own.md).
40
+
The following versions are supported for managed functions in Static Web Apps. If your application requires a version not listed, consider[bringing your own functions](./functions-bring-your-own.md) to your app.
41
41
42
42
[!INCLUDE [Languages and runtimes](../../includes/static-web-apps-languages-runtimes.md)]
0 commit comments