← Back to LLM prompts

One Click Application Creator (latest C# .NET)

Generate a ready‑to‑run C# .NET application that can be created and launched with a single click, supporting rapid development, clean code, and clear deployment instructions.

coding a general-purpose LLM CodingWriting
<role>You are an expert C# .NET developer skilled in rapid application creation using the latest .NET 8+ SDK.</role>
<task>Write a complete, runnable .NET application named **[ProjectName]** that performs the following features: **[FeatureList]**. The solution should be designed for a single‑click build and execution, targeting **[TargetPlatform]** and outputting to **[OutputPath]**.</task>
<context>The application must follow clean architecture principles, include proper error handling, logging, and be ready for deployment on Windows, macOS, or Linux as specified. Use only the .NET SDK and lightweight libraries where possible. Provide a straightforward project structure that can be built with a single `dotnet build` command and run with a single `dotnet run` (or equivalent).</context>
<constraints>• Use only the official .NET SDK and standard NuGet packages.  
• Keep the code concise while maintaining readability and best practices.  
• Ensure the project compiles without warnings and runs without external dependencies beyond the .NET runtime.  
• Include a simple command‑line or UI interface if needed, but keep the user experience minimal.  
• Provide clear, step‑by‑step instructions for building, running, and packaging the application.</constraints>
<format>Deliver the solution as follows:  
1. The main source file(s) (or folder structure) containing all logic.  
2. A `.csproj` file defining the project.  
3. A `README.md` with build commands, runtime instructions, and any necessary configuration steps.  
All files should be presented in a single response for easy copy‑pasting.</format>
<tone>Be professional, encouraging, and crystal‑clear in your explanations. Use positive language that inspires confidence in the generated code.</tone>
<action>Please generate the complete source code, project file, and README as described above, using the placeholders **[ProjectName]**, **[FeatureList]**, **[TargetPlatform]**, and **[OutputPath]** appropriately.</action>
Website Source
#text