AspNetDebugDashboard 1.0.0
dotnet add package AspNetDebugDashboard --version 1.0.0
NuGet\Install-Package AspNetDebugDashboard -Version 1.0.0
<PackageReference Include="AspNetDebugDashboard" Version="1.0.0" />
<PackageVersion Include="AspNetDebugDashboard" Version="1.0.0" />
<PackageReference Include="AspNetDebugDashboard" />
paket add AspNetDebugDashboard --version 1.0.0
#r "nuget: AspNetDebugDashboard, 1.0.0"
#:package AspNetDebugDashboard@1.0.0
#addin nuget:?package=AspNetDebugDashboard&version=1.0.0
#tool nuget:?package=AspNetDebugDashboard&version=1.0.0
ASP.NET Debug Dashboard
🔍 A beautiful, lightweight debugging dashboard for ASP.NET Core applications
Transform your debugging experience with real-time insights into HTTP requests, database queries, logs, and exceptions - all in a modern, responsive interface inspired by Laravel Telescope.
✨ Features
🌐 HTTP Request Monitoring
- Real-time request tracking with method, path, and status codes
- Request/response body capture with configurable limits
- Performance metrics and slow request detection
- Client information (IP address, user agent)
🗃️ SQL Query Analysis
- Entity Framework Core integration with automatic query interception
- SQL query text with parameters and execution time
- Slow query detection with performance insights
- Success/failure tracking with error details
🚨 Exception Tracking
- Global exception handling with full stack traces
- Exception categorization and frequency analysis
- Request context and route information
- Error trend monitoring
📝 Smart Logging
- Structured logging with custom properties
- Multiple log levels (Info, Warning, Error, Success)
- Searchable entries with powerful filtering
- Performance logging and metrics
🎨 Modern Dashboard
- 🌙 Dark/Light Mode - Beautiful themes with persistent preferences
- 📱 Responsive Design - Perfect on desktop, tablet, and mobile
- ⚡ Real-time Updates - Live data refresh
- 🔍 Advanced Search - Find anything across all data types
- 📊 Performance Charts - Visual insights and trends
- 📤 Export Data - Download data for analysis
🚀 Quick Start
Installation
dotnet add package AspNetDebugDashboard
Basic Setup
using AspNetDebugDashboard.Extensions;
var builder = WebApplication.CreateBuilder(args);
// Add Debug Dashboard
builder.Services.AddDebugDashboard();
// Add Entity Framework with Debug Dashboard integration
builder.Services.AddDbContext<YourDbContext>(options =>
{
options.UseSqlServer(connectionString);
options.AddDebugDashboardInterceptor();
});
var app = builder.Build();
// Enable Debug Dashboard (development only by default)
app.UseDebugDashboard();
app.Run();
Access Dashboard
Navigate to https://localhost:5001/_debug
to view your dashboard! 🎉
⚙️ Configuration
Environment-Based Configuration
builder.Services.AddDebugDashboard(options =>
{
// Automatically enabled in Development, disabled in Production
options.IsEnabled = builder.Environment.IsDevelopment();
// Request/Response logging
options.LogRequestBodies = true;
options.LogResponseBodies = true;
options.MaxBodySize = 1024 * 1024; // 1MB
// SQL query monitoring
options.LogSqlQueries = true;
options.SlowQueryThresholdMs = 1000;
// Performance settings
options.SlowRequestThresholdMs = 2000;
options.MaxEntries = 10000;
// Security & Privacy
options.ExcludedPaths = new[] { "/health", "/metrics" };
options.ExcludedHeaders = new[] { "Authorization", "Cookie" };
});
Production Configuration
{
"DebugDashboard": {
"Enabled": false,
"LogRequestBodies": false,
"LogResponseBodies": false,
"MaxEntries": 1000,
"RetentionPeriod": "06:00:00"
}
}
💡 Usage Examples
Custom Logging
public class OrderService
{
private readonly IDebugLogger _debugLogger;
public OrderService(IDebugLogger debugLogger)
{
_debugLogger = debugLogger;
}
public async Task<Order> CreateOrderAsync(CreateOrderRequest request)
{
_debugLogger.LogInfo("Order creation started", new {
CustomerId = request.CustomerId,
ItemCount = request.Items.Count
});
try
{
var order = await ProcessOrderAsync(request);
_debugLogger.LogSuccess("Order created successfully", new {
OrderId = order.Id,
Total = order.Total
});
return order;
}
catch (Exception ex)
{
_debugLogger.LogError($"Order creation failed: {ex.Message}", new {
CustomerId = request.CustomerId,
Error = ex.GetType().Name
});
throw;
}
}
}
Static Logging
public class PaymentProcessor
{
public async Task ProcessPaymentAsync(Payment payment)
{
DebugLogger.Log("Payment processing started", "info", new {
PaymentId = payment.Id,
Amount = payment.Amount
});
// Your payment logic here
DebugLogger.Log("Payment processed successfully", "success");
}
}
🔒 Security & Privacy
Built-in Security Features
- Development-only by default - Automatically disabled in production
- Sensitive data exclusion - Filters headers like Authorization, Cookie
- Path-based exclusions - Skip monitoring for specific endpoints
- Size limits - Prevent large payloads from impacting performance
- Data sanitization - Clean and validate all captured information
Privacy Controls
options.ExcludedHeaders = new[] {
"Authorization", "Cookie", "X-API-Key", "X-Auth-Token"
};
options.ExcludedPaths = new[] {
"/admin", "/api/auth", "/health"
};
options.LogRequestBodies = false; // Disable for sensitive data
options.LogResponseBodies = false; // Disable for sensitive data
📊 Performance
- < 5ms overhead per request on average
- Async processing for non-blocking operation
- Configurable data collection to control performance impact
- Background cleanup to prevent storage bloat
- Memory efficient with automatic resource management
📚 Documentation
- Getting Started - Detailed setup guide
- Configuration - Complete configuration reference
- API Documentation - REST API endpoints
- Security Guide - Security best practices
- Troubleshooting - Common issues and solutions
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
📦 Requirements
- .NET 7.0 or 8.0
- ASP.NET Core 7.0+
- Entity Framework Core 7.0+ (optional, for SQL query monitoring)
🌟 Why Choose ASP.NET Debug Dashboard?
✅ Easy to Use
- Zero-configuration setup with intelligent defaults
- Beautiful, intuitive interface
- Works out of the box in development environments
✅ Powerful Features
- Real-time monitoring and updates
- Comprehensive data capture and analysis
- Advanced search and filtering capabilities
✅ Production Ready
- Security-first design with privacy controls
- Performance optimized with minimal overhead
- Comprehensive test coverage
✅ Modern Technology
- Built with latest ASP.NET Core and React
- Responsive design with dark/light themes
- Real-time capabilities with SignalR
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Inspired by Laravel Telescope
- Built with ❤️ for the ASP.NET Core community
📞 Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: GitHub Wiki
<div align="center">
⭐ Star this repository if you find it helpful!
Made with ❤️ for .NET developers worldwide
Documentation • Examples • Changelog
</div>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- LiteDB (>= 5.0.21)
- Microsoft.EntityFrameworkCore (>= 8.0.11)
- Microsoft.EntityFrameworkCore.Relational (>= 8.0.11)
- System.Text.Json (>= 8.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.0 | 139 | 7/8/2025 |
Version 1.0.0 - Production-ready release with comprehensive features:
✨ Features:
- HTTP request monitoring with real-time tracking
- SQL query analysis with Entity Framework Core integration
- Exception tracking with full stack traces
- Custom logging with structured data
- Beautiful modern dashboard with dark/light themes
- Real-time updates with SignalR integration
- Export/import capabilities
- Performance metrics and insights
- Advanced search and filtering
- Background cleanup services
- Health monitoring and checks
- Comprehensive security controls
- Zero-configuration setup with extensive customization
🔧 Technical:
- .NET 8.0 support for modern features and performance
- LiteDB storage for lightweight operation
- Comprehensive test coverage
- Production-ready with minimal performance impact
- SignalR for real-time dashboard updates
- Background services for data cleanup
- Health checks for monitoring
📚 Documentation:
- Complete setup and configuration guide
- API documentation
- Docker deployment examples
- Security best practices
- Performance optimization tips