Open skgithubtest[bot] opened 1 month ago
{ "steps": [ { "step": "1", "description": "Set up the development environment for the ToDo application using C#.", "subtasks": [ { "subtask": "Install Visual Studio", "description": "Download and install Visual Studio 2022 Community Edition.", "prompt": "Write a script to download and install Visual Studio 2022 Community Edition with default settings." }, { "subtask": "Create a new C# project", "description": "Create a new ASP.NET Core Web API project for the ToDo application.", "prompt": "Write the code to create a new ASP.NET Core Web API project named 'ToDoApp'." } ] }, { "step": "2", "description": "Implement the core functionality of the ToDo application.", "subtasks": [ { "subtask": "Design the ToDo model", "description": "Create a ToDo model class representing the ToDo item.", "prompt": "Write the C# code for a ToDo model class with properties: Id, Title, Description, IsCompleted." }, { "subtask": "Create a database context", "description": "Set up Entity Framework Core for database access.", "prompt": "Write the C# code to create a DbContext class for Entity Framework Core, including a DbSet for ToDo items." }, { "subtask": "Implement CRUD operations", "description": "Develop API endpoints to create, read, update, and delete ToDo items.", "prompt": "Write the C# code for a ToDoController class with actions for creating, reading, updating, and deleting ToDo items." } ] }, { "step": "3", "description": "Set up Application Insights for monitoring and performance management.", "subtasks": [ { "subtask": "Add Application Insights SDK", "description": "Install the Application Insights SDK for ASP.NET Core.", "prompt": "Write the command to install the Application Insights SDK for ASP.NET Core using NuGet." }, { "subtask": "Configure Application Insights", "description": "Add Application Insights configuration in Startup.cs.", "prompt": "Write the C# code to configure Application Insights in the Startup.cs file of the ASP.NET Core application." }, { "subtask": "Implement Telemetry", "description": "Integrate telemetry for tracking requests and exceptions.", "prompt": "Write the C# code to log custom telemetry for requests and exceptions in the ToDo application." } ] }, { "step": "4", "description": "Implement security best practices for the application.", "subtasks": [ { "subtask": "Secure API endpoints", "description": "Use authentication and authorization for the API endpoints.", "prompt": "Write the C# code to implement JWT authentication for the API endpoints in the ToDo application." }, { "subtask": "Review data capture", "description": "Ensure no sensitive customer data is logged in Application Insights.", "prompt": "Write a review checklist to ensure that sensitive customer data is not captured in Application Insights." } ] }, { "step": "5", "description": "Deploy the ToDo application to Azure.", "subtasks": [ { "subtask": "Create an Azure Web App", "description": "Set up a new Azure Web App for hosting the application.", "prompt": "Write the Azure CLI commands to create a new Azure Web App to host the ToDo application." }, { "subtask": "Configure CI/CD pipeline", "description": "Set up CI/CD for deploying the application using Azure DevOps.", "prompt": "Write the YAML configuration for an Azure DevOps pipeline to build and deploy the ToDo application." } ] } ] }
I want to create a simple ToDo Application using C#