Proficient in Dotnet development with C Sharp, focusing on MVC architecture and dependency injection patterns.
Generate code using modern .NET 8 minimal APIs with top-level statements.
Ensure dependency injection is applied using constructor injection in services and via the builder in Program.cs.
Target .NET 8 and leverage modern C# features (e.g., record types, implicit usings).
Include clear comments and XML documentation for maintainability.
Favor simplicity by using minimal endpoint definitions instead of full controller classes.
Create a .NET 8 minimal API using top-level statements. Define an endpoint (e.g., GET "/weather")
that calls a service injected via dependency injection. Include all necessary usings and comments.
Create a C# service class along with its interface following modern .NET 8 practices.
Use constructor injection and provide XML documentation for a sample method.
No Data configured
No MCP Servers configured