DbNetSuiteCore.Templates 2.0.82

dotnet new install DbNetSuiteCore.Templates::2.0.82
                    
This package contains a .NET Template Package you can call from the shell/command line.

DbNetSuiteCore

DbNetSuiteCore is a set of ASP.Net Core application UI development components for Razor pages, MVC and Blazor Server and are designed to enable the rapid development of data driven web applications. DbNetSuiteCore currently supports the following data sources MSSQL, MySQL, MariaDB, PostgreSQL, Oracle, MongoDB and SQLite databases along with JSON (files and API), CSV and Excel files and the file system itself.

Simply add DbNetSuiteCore to your pipeline as follows:

{
    using DbNetSuiteCore.Middleware;                    // <= Add this line

    var builder = WebApplication.CreateBuilder(args);

    builder.Services.AddDbNetSuiteCore();               // <= Add this line

    builder.Services.AddRazorPages();

    var app = builder.Build();

    app.UseDbNetSuiteCore();                            // <= Add this line

    app.UseHttpsRedirection();
    app.UseStaticFiles();
    app.UseRouting();
    app.UseAuthorization();
    app.MapRazorPages();
    app.Run();
}

You can then add a component to your Razor page or MVC view as follows:

@page
@using DbNetSuiteCore.Enums
@using DbNetSuiteCore.Models

<!DOCTYPE html>
<html lang="en">
<head>
    @DbNetSuiteCore.Resources.StyleSheet() @* Add the stylesheet *@
</head>
<body>
    <main>
@{
    GridModel customerGrid = new GridModel(DataSourceType.SQLite, "Northwind", "Customers");
    @(await DbNetSuiteCore.Control.Create(HttpContext).Render(customerGrid))
}
    </main>
    @DbNetSuiteCore.Resources.ClientScript() @* Add the client-side library *@
</body>
</html>

MVC view should use Context instead of HttpContext
...
@{
    GridModel customerGrid = new GridModel(DataSourceType.SQLite, "Northwind", "Customers");
    @(await DbNetSuiteCore.Control.Create(Context).Render(customerGrid))
}
...

For demos click here and for the documentation click here

  • net8.0

    • No dependencies.

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
2.0.82 24 2/13/2026
2.0.73 307 11/9/2025
2.0.65 312 10/26/2025
2.0.64 297 10/26/2025
2.0.62 257 10/11/2025
2.0.47 388 5/28/2025
2.0.38 720 3/24/2025
2.0.31 397 2/4/2025
2.0.28 382 1/21/2025
2.0.27 367 1/16/2025
2.0.18 363 12/18/2024
2.0.16 352 11/20/2024
2.0.15 374 11/19/2024
2.0.12 420 11/4/2024
2.0.10 374 10/24/2024
2.0.8 358 10/24/2024
1.0.20 638 5/26/2024
1.0.19 458 5/24/2024
1.0.17 394 5/24/2024
1.0.16 2,192 1/13/2024
Loading failed