containerize-aspnet-framework
यह क्या करती है
यह टूल ASP.NET .NET Framework project को container में बदलने के लिए ज़रूरी निर्देश (जिन्हें Dockerfile कहते हैं) बनाता है। इससे आपका application हर जगह एक जैसा चल सकता है।
कब इस्तेमाल करें
- ✓जब आप अपना ASP.NET application किसी दूसरे server पर चलाना चाहते हों।
- ✓application को cloud पर deploy करने की तैयारी करते समय।
- ✓यह सुनिश्चित करने के लिए कि application अलग-अलग testing environments में एक जैसा काम करे।
Skill का लिंक
https://github.com/github/awesome-copilot/blob/main/skills/containerize-aspnet-framework/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे ASP.NET project 'C:\myproject\myproject.csproj' को Windows Server 2022 Core का इस्तेमाल करके containerize करो और port 80 expose करो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल आपकी दी हुई settings, जैसे project का path और ports, का विश्लेषण करता है। फिर यह Dockerfile नाम की file बनाता है, जिसमें application को build और isolated environment (container) में चलाने की सारी commands होती हैं।
तकनीकी सामग्री (मूल 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
Project to containerize:
[ProjectName (provide path to .csproj file)]
Windows Server SKU to use:
[Windows Server Core (Default) or Windows Server Full]
Windows Server version to use:
[2022, 2019, or 2016 (Default 2022)]
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)]
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
Ports that must be exposed in the container image:
- Primary HTTP port:
[e.g., 80] - Additional ports:
[List any additional ports, or "None"]
- Primary HTTP port:
User account the container should run as:
[User account, or default to "ContainerUser"]
IIS settings that must be configured in the container image:
[List any specific IIS settings, or "None"]
Build configuration
Custom build steps that must be performed before building the container image:
[List any specific build steps, or "None"]
Custom build steps that must be performed after building the container image:
[List any specific build steps, or "None"]
Dependencies
.NET assemblies that should be registered in the GAC in the container image:
[Assembly name and version, or "None"]
MSIs that must be copied to the container image and installed:
[MSI names and versions, or "None"]
COM components that must be registered in the container image:
[COM component names, or "None"]
System Configuration
Registry keys and values that must be added to the container image:
[Registry paths and values, or "None"]
Environment variables that must be set in the container image:
[Variable names and values, or "Use defaults"]
Windows Server roles and features that must be installed in the container image:
[Role/feature names, or "None"]
File System
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"]
Files/directories to exclude from containerization:
[Paths to exclude, or "None"]
.dockerignore Configuration
- Patterns to include in the
.dockerignorefile (.dockerignore will already have common defaults; these are additional patterns):- Additional patterns:
[List any additional patterns, or "None"]
- Additional patterns:
Health Check Configuration
Health check endpoint:
[Health check URL path, or "None"]
Health check interval and timeout:
[Interval and timeout values, or "Use defaults"]
Additional Instructions
Other instructions that must be followed to containerize the project:
[Specific requirements, or "None"]
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)
…
अक्सर पूछे जाने वाले सवाल
container क्या है?
container एक हल्के, अलग-थलग डिब्बे जैसा है, जिसमें application को चलाने के लिए ज़रूरी सब कुछ होता है: code, libraries और settings। इससे वह किसी भी computer पर एक जैसा चलता है।
.NET Framework और .NET Core में क्या अंतर है?
.NET Framework पुराना version है, जो आम तौर पर Windows systems पर इस्तेमाल होता है। .NET Core (अब बस .NET) आधुनिक, cross-platform और लचीला है। यह टूल खास तौर पर .NET Framework के लिए है।
क्या पहले से कुछ install करना ज़रूरी है?
हाँ, project में NuGet package 'Microsoft.Configuration.ConfigurationBuilders.Environment' installed होना चाहिए। अगर नहीं है, तो टूल इस्तेमाल करने से पहले इसे Visual Studio में हाथ से install करना होगा।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
acquire-codebase-knowledge
40kआपके एजेंट को किसी मौजूदा code प्रोजेक्ट को समझने और उसका documentation बनाने में मदद करता है। यह नए लोगों को प्रोजेक्ट से जोड़ने या architecture का सार जानने में उपयोगी है।
acreadiness-assess
40kआपके एजेंट को किसी प्रोजेक्ट की AI के लिए तैयारी जाँचने और रिपोर्ट बनाने देता है। यह समझने में उपयोगी है कि प्रोजेक्ट AI tools इस्तेमाल करने के लिए कितना तैयार है।
acreadiness-generate-instructions
40kआपके एजेंट को assessment के आधार पर AI tools के लिए निर्देश बनाने में मदद करता है। यह बताता है कि AI कोड के साथ बेहतर कैसे काम करे और पहचानी गई कमियाँ कैसे दूर हों।
acreadiness-policy
40kआपके एजेंट को AI प्रोजेक्ट assessment के लिए नीतियाँ तय करने या लागू करने में मदद करता है। यह प्रोजेक्ट्स के मूल्यांकन को मानक बनाने और compliance सुनिश्चित करने में उपयोगी है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।