본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)40k · #7116

containerize-aspnet-framework

하는 일

이 도구는 ASP.NET .NET Framework 프로젝트를 컨테이너로 바꾸는 데 필요한 지침(Dockerfile이라고 부르는)을 만듭니다. 이렇게 하면 애플리케이션을 어디서든 일관되게 실행할 수 있습니다.

사용하는 경우

  • ✓ASP.NET 애플리케이션을 다른 서버에서 실행하고 싶을 때.
  • ✓클라우드 배포를 준비할 때.
  • ✓여러 테스트 환경에서 애플리케이션이 같은 방식으로 작동하도록 하고 싶을 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/containerize-aspnet-framework/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/containerize-aspnet-framework/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“‘C:\myproject\myproject.csproj’에 있는 내 ASP.NET 프로젝트를 Windows Server 2022 Core를 사용하고 포트 80을 노출하도록 컨테이너화해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 프로젝트 경로나 포트 같은 설정을 분석합니다. 그다음 애플리케이션을 격리된 환경(컨테이너) 안에서 빌드하고 실행하는 모든 명령이 담긴 Dockerfile이라는 파일을 만듭니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

ASP.NET .NET Framework Containerization Prompt

Containerize the ASP.NET (.NET Framework) project specified in the containerization settings below, focusing exclusively on changes required for the application to run in a Windows Docker container. Containerization should consider all settings specified here.

REMEMBER: This is a .NET Framework application, not .NET Core. The containerization process will be different from that of a .NET Core application.

Containerization Settings

This section of the prompt contains the specific settings and configurations required for containerizing the ASP.NET (.NET Framework) application. Prior to running this prompt, ensure that the settings are filled out with the necessary information. Note that in many cases, only the first few settings are required. Later settings can be left as defaults if they do not apply to the project being containerized.

Any settings that are not specified will be set to default values. The default values are provided in [square brackets].

Basic Project Information

  1. Project to containerize:

    • [ProjectName (provide path to .csproj file)]
  2. Windows Server SKU to use:

    • [Windows Server Core (Default) or Windows Server Full]
  3. Windows Server version to use:

    • [2022, 2019, or 2016 (Default 2022)]
  4. Custom base image for the build stage of the Docker image ("None" to use standard Microsoft base image):

    • [Specify base image to use for build stage (Default None)]
  5. Custom base image for the run stage of the Docker image ("None" to use standard Microsoft base image):

    • [Specify base image to use for run stage (Default None)]

Container Configuration

  1. Ports that must be exposed in the container image:

    • Primary HTTP port: [e.g., 80]
    • Additional ports: [List any additional ports, or "None"]
  2. User account the container should run as:

    • [User account, or default to "ContainerUser"]
  3. IIS settings that must be configured in the container image:

    • [List any specific IIS settings, or "None"]

Build configuration

  1. Custom build steps that must be performed before building the container image:

    • [List any specific build steps, or "None"]
  2. Custom build steps that must be performed after building the container image:

    • [List any specific build steps, or "None"]

Dependencies

  1. .NET assemblies that should be registered in the GAC in the container image:

    • [Assembly name and version, or "None"]
  2. MSIs that must be copied to the container image and installed:

    • [MSI names and versions, or "None"]
  3. COM components that must be registered in the container image:

    • [COM component names, or "None"]

System Configuration

  1. Registry keys and values that must be added to the container image:

    • [Registry paths and values, or "None"]
  2. Environment variables that must be set in the container image:

    • [Variable names and values, or "Use defaults"]
  3. Windows Server roles and features that must be installed in the container image:

    • [Role/feature names, or "None"]

File System

  1. Files/directories that need to be copied to the container image:

    • [Paths relative to project root, or "None"]
    • Target location in container: [Container paths, or "Not applicable"]
  2. Files/directories to exclude from containerization:

    • [Paths to exclude, or "None"]

.dockerignore Configuration

  1. Patterns to include in the .dockerignore file (.dockerignore will already have common defaults; these are additional patterns):
    • Additional patterns: [List any additional patterns, or "None"]

Health Check Configuration

  1. Health check endpoint:

    • [Health check URL path, or "None"]
  2. Health check interval and timeout:

    • [Interval and timeout values, or "Use defaults"]

Additional Instructions

  1. Other instructions that must be followed to containerize the project:

    • [Specific requirements, or "None"]
  2. Known issues to address:

    • [Describe any known issues, or "None"]

Scope

  • ✅ App configuration modification to ensure config builders are used to read app settings and connection strings from the environment variables
  • ✅ Dockerfile creation and configuration for an ASP.NET application
  • ✅ Specifying multiple stages in the Dockerfile to build/publish the application and copy the output to the final image
  • ✅ Configuration of Windows container platform compatibility (Windows Server Core or Full)

…

자주 묻는 질문

컨테이너란 무엇인가요?

애플리케이션이 실행하는 데 필요한 모든 것(코드, 라이브러리, 설정)을 담은 가볍고 격리된 상자와 같습니다. 어떤 컴퓨터에서든 같은 방식으로 작동하도록 합니다.

.NET Framework와 .NET Core의 차이는 무엇인가요?

.NET Framework는 주로 Windows 시스템에서 사용되는 이전 버전입니다. .NET Core(지금은 그냥 .NET)는 더 현대적이고, 크로스 플랫폼이며, 유연합니다. 이 도구는 .NET Framework에 특화되어 있습니다.

미리 무언가 설치해야 하나요?

네, 프로젝트에 NuGet 패키지 ‘Microsoft.Configuration.ConfigurationBuilders.Environment’가 설치되어 있어야 합니다. 없다면 이 도구를 사용하기 전에 Visual Studio에서 직접 설치해야 합니다.

상세 정보

작성자의 원본 설명

Containerize an ASP.NET .NET Framework project by creating Dockerfile and .dockerfile files customized for the project.

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7116
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬