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
|**Baseline**| Native `<cors>`| Static XML attribute list | Same origins for all APIs; cannot vary per API |
54
-
|**Phase 1**|`DynamicCorsHardcoded` fragment | Inline `switch/case` in C# | Per-API control; requires redeploying the fragment to change origins |
55
-
|**Phase 2**|`DynamicCorsNamedValues` fragment | JSON string in a Named Value | Updateable in the portal; **4,096-char limit** per Named Value |
56
-
|**Phase 3**|`DynamicCorsCached` fragment + admin API | APIM internal cache | No size limit; updated via admin API; fail-closed when cache is empty; can swap to external Redis |
|**Baseline**| Native `<cors>`| Static XML attribute list | Same origins for all APIs; cannot vary per API|
54
+
|**Phase 1**|`DynamicCorsHardcoded` fragment | Inline `switch/case` in C# | Per-API control; requires redeploying the fragment to change origins|
55
+
|**Phase 2**|`DynamicCorsNamedValues` fragment | JSON string in a Named Value | Updateable in the portal; **4,096-char limit** per Named Value|
56
+
|**Phase 3**|`DynamicCorsCached` fragment + admin API | APIM internal cache| No size limit; updated via admin API; fail-closed when cache is empty; can swap to external Redis |
@@ -16,12 +16,12 @@ Sets up an APIM instance that demonstrates load balancing and circuit breaking a
16
16
17
17
This lab integrates into an existing Azure Container Apps architecture and sets up the following:
18
18
19
-
- One container app that serves multiple mock Web API endpoints returning 429 error codes.
19
+
- One container app that serves multiple mock Web API endpoints returning 429 error codes.
20
20
- Three separate backends are set up in APIM that each point to a different endpoint on this container app (e.g. /api/0, /api/1, etc.).
21
21
- Four separate backend pool with varying load balancer setups are configured using these three backends.
22
22
23
23
## ⚙️ Configuration
24
24
25
25
1. Decide which of the [Infrastructure Architectures](../../README.md#infrastructure-architectures) you wish to use.
26
-
1. If the infrastructure _does not_ yet exist, navigate to the desired [infrastructure](../../infrastructure/) folder and follow its README.md.
27
-
1. If the infrastructure _does_ exist, adjust the `user-defined parameters` in the _Initialize notebook variables_ below. Please ensure that all parameters match your infrastructure.
26
+
1. If the infrastructure *does not* yet exist, navigate to the desired [infrastructure](../../infrastructure/) folder and follow its README.md.
27
+
1. If the infrastructure *does* exist, adjust the `user-defined parameters` in the *Initialize notebook variables* below. Please ensure that all parameters match your infrastructure.
0 commit comments