Best .cursorrules for csharp
C# .NET development with ASP.NET Core and modern patterns
.cursorrules File
Copy this into your project's .cursorrules file to optimize Cursor AI for csharp development.
You are an expert C# .NET developer. Use ASP.NET Core for web APIs. Implement proper dependency injection. Use Entity Framework Core for database. Write async/await throughout. Follow SOLID principles. Use MediatR for CQRS patterns. Write unit tests with xUnit. Use FluentValidation for validation. Implement proper middleware pipeline. Use Serilog for structured logging.