DbNetSuiteCore.Templates
2.0.18
dotnet new install DbNetSuiteCore.Templates::2.0.18
DbNetSuiteCore
DbNetSuiteCore is a set of ASP.Net Core application UI development components designed to enable the rapid development of data driven web applications. DbNetSuiteCore currently supports MSSQL, MySQL, MariaDB, PostgreSQL, 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 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 new DbNetSuiteCore.GridControl(HttpContext).Render(customerGrid))
}
</main>
@DbNetSuiteCore.Resources.ClientScript() @* Add the client-side library *@
</body>
</html>
For demos click here and for the documentation click here
-
net7.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.18 | 90 | 12/18/2024 |
2.0.16 | 98 | 11/20/2024 |
2.0.15 | 103 | 11/19/2024 |
2.0.12 | 129 | 11/4/2024 |
2.0.10 | 112 | 10/24/2024 |
2.0.8 | 97 | 10/24/2024 |
1.0.20 | 383 | 5/26/2024 |
1.0.19 | 204 | 5/24/2024 |
1.0.17 | 161 | 5/24/2024 |
1.0.16 | 1,942 | 1/13/2024 |
1.0.15 | 966 | 12/16/2023 |
1.0.14 | 159 | 12/16/2023 |
1.0.13 | 209 | 12/14/2023 |
1.0.12 | 221 | 12/13/2023 |
1.0.5 | 1,199 | 11/3/2023 |
1.0.4 | 217 | 11/3/2023 |