Open skgithubtest[bot] opened 1 month ago
{ "steps": [ { "step": "1", "description": "Design the architecture of the Student Management application", "subtasks": [ { "subtask": "Define the overall architecture", "description": "Create a detailed architecture diagram including components such as the web server, database, and external APIs.", "prompt": "Write code comments explaining a detailed architecture diagram for a Student Management application that involves a web server, database, and external APIs." }, { "subtask": "Choose the technology stack", "description": "Decide on C# for the backend, Azure SQL Database for data storage, and ASP.NET Core for the web framework.", "prompt": "Write code comments outlining the chosen technology stack for a Student Management application. Include C#, Azure SQL Database, and ASP.NET Core." } ] }, { "step": "2", "description": "Set up the development environment", "subtasks": [ { "subtask": "Install Visual Studio and related tools", "description": "Download and install Visual Studio with ASP.NET and Azure development features.", "prompt": "Write a script that outlines the steps to download and install Visual Studio with ASP.NET and Azure development features." }, { "subtask": "Create a new ASP.NET Core project", "description": "Initialize a new ASP.NET Core web application project for managing student details.", "prompt": "Write a command to create a new ASP.NET Core web application project named 'StudentManagementApp'." } ] }, { "step": "3", "description": "Implement authentication and authorization", "subtasks": [ { "subtask": "Add Identity framework", "description": "Integrate ASP.NET Identity for user management.", "prompt": "Write the code to integrate ASP.NET Identity into an existing ASP.NET Core project for user authentication." }, { "subtask": "Configure authorization policies", "description": "Set up role-based access control for different user roles.", "prompt": "Write the code to define role-based authorization policies in an ASP.NET Core application." } ] }, { "step": "4", "description": "Build the Student API", "subtasks": [ { "subtask": "Define the Student model", "description": "Create a C# class that represents the Student entity.", "prompt": "Write the C# code for a Student model class with properties such as Id, Name, Age, and EnrollmentDate." }, { "subtask": "Create the Student controller", "description": "Develop a controller to handle HTTP requests for student operations.", "prompt": "Write the C# code for a StudentController class with actions for Create, Read, Update, and Delete (CRUD) operations." } ] }, { "step": "5", "description": "Set up the database with Entity Framework Core", "subtasks": [ { "subtask": "Configure DbContext", "description": "Create a DbContext class for managing the database operations.", "prompt": "Write the C# code for a DbContext class named 'StudentDbContext' that includes a DbSet for students." }, { "subtask": "Add Database Migration", "description": "Generate and apply a migration to create the database schema.", "prompt": "Write the commands to generate a migration and apply it to create the database schema for the Student entity." } ] }, { "step": "6", "description": "Implement logging and monitoring", "subtasks": [ { "subtask": "Configure Application Insights", "description": "Set up Application Insights for monitoring application performance.", "prompt": "Write the code to configure Application Insights in an ASP.NET Core application for logging and monitoring." }, { "subtask": "Add logging middleware", "description": "Implement middleware for logging HTTP requests and responses.", "prompt": "Write the C# code for middleware that logs incoming HTTP requests and outgoing responses in an ASP.NET Core application." } ] }, { "step": "7", "description": "Deploy the application to Azure", "subtasks": [ { "subtask": "Create an Azure App Service", "description": "Set up an Azure App Service for hosting the application.", "prompt": "Write a script that creates an Azure App Service instance for hosting the Student Management application." }, { "subtask": "Deploy via Azure DevOps", "description": "Set up Azure DevOps pipelines for continuous integration and deployment.", "prompt": "Write the YAML configuration for an Azure DevOps pipeline to deploy the ASP.NET Core application to Azure App Service." } ] } ] }
I want to create an application to manage Student details using the Student API Catalog in C#