

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 常見問答集
<a name="faq"></a>

本節提供有關現代化舊版 ASP.NET Web 服務之常見問題的解答。

## 是否 AWS 支援 Windows 容器？
<a name="q1"></a>

是，Amazon Elastic Container Service (Amazon ECS) 和 Amazon Elastic Kubernetes Service (Amazon EKS) 都支援 Windows 容器。若要使用 Windows 容器開始使用 AWS 這些服務，請參閱以下內容：
+ [使用 Amazon EC2 Windows 容器開始使用 Amazon ECS 主控台](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_Windows_getting_started.html) (Amazon ECS 文件）
+ [Amazon EKS Windows Container Support 現在全面推出](https://aws.amazon.com/blogs/aws/amazon-eks-windows-container-support-now-generally-available/) (AWS 新聞部落格）

## 我可以在 Linux 上執行 ASP.NET 服務嗎？
<a name="q2"></a>

是，以 .NET Core 撰寫的 ASP.NET 服務 (APIs) 可以在 Linux 上執行。若要使用 在 Linux 上執行 .NET Core 應用程式 AWS Elastic Beanstalk，請參閱 Elastic Beanstalk 文件中的[在 Linux 上使用 .NET Core](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-dotnet-core-linux.html)。

## 我可以在 上執行 Windows 容器 AWS Fargate嗎？
<a name="q3"></a>

自本指南撰寫起，僅支援 Amazon EC2 啟動類型的 Windows 容器。Windows 容器目前不支援 Fargate 啟動類型。如需詳細資訊，請參閱 [Amazon ECS 文件中的 Amazon EC2 Windows 容器](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_Windows.html)。

## Amazon API Gateway 是否支援 Windows 整合身分驗證？ 它是否支援 OAuth 2.0？
<a name="q4"></a>

根據預設，不是 。不過，API Gateway 透過使用 Amazon Cognito 使用者集區支援 OAuth 2.0，並透過使用自訂授權方支援其他身分驗證和授權提供者。若要開始使用這些選項，請參閱下列內容：
+ 在 [Amazon API Gateway 中介紹自訂授權方](https://aws.amazon.com/blogs/compute/introducing-custom-authorizers-in-amazon-api-gateway/) (AWS 電腦部落格）
+ [使用 Amazon Cognito 使用者集區做為授權方控制對 REST API 的存取](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-integrate-with-cognito.html) (API Gateway 文件）