Build modern, intelligent configurations for .NET applications. Leverage async/await, LINQ, and the .NET ecosystem directly from your config files.
Replace static JSON configs with intelligent, async-ready configuration files that leverage C# and .NET power.
Execute C# code, query databases, and leverage async/await directly from configuration files using powerful @ operators.
Native Entity Framework, Dapper, and ADO.NET support. Query your database directly from config files with full .NET integration.
Built for the .NET ecosystem. Native support for dependency injection, configuration providers, and hosting extensions.
Drop-in integration for ASP.NET Core, Blazor, and other .NET frameworks. Configuration providers and middleware included.
Built for modern C# with full async/await support. Non-blocking configuration loading and real-time updates.
Built-in xUnit and NUnit support with test utilities and mocking frameworks for testing configurations and @ operators.
Traditional appsettings.json files are static. TuskLang configs are intelligent, async-ready .NET configurations.
# Smart C# Configuration
AppName: "MyCSharpApp"
Environment: @env("ASPNETCORE_ENVIRONMENT", "Development")
# Database with connection pooling
ConnectionStrings {
DefaultConnection: @env("CONNECTION_STRING")
PoolSize: @query("SELECT COUNT(*) FROM active_connections") + 5
CommandTimeout: @optimize("command_timeout", 30)
}
# SignalR configuration
SignalR {
HubUrl: @env("SIGNALR_HUB_URL", "/chathub")
MaxConnections: @learn("optimal_connections", 1000)
EnableDetailedErrors: @cache("1h", true)
}
# Logging with dynamic levels
Logging {
LogLevel {
Default: @env("ENVIRONMENT") === "Production" ?
"Warning" : "Debug"
}
}
Works seamlessly with your favorite .NET frameworks and libraries
Web framework
Web UI framework
ORM framework
Real-time communication
Actor framework
Message bus framework
Install TuskLang for C# and start building modern, intelligent configurations