DbNetSuiteCore.Templates 1.0.16

There is a newer version of this package available.
See the version list below for details.
dotnet new install DbNetSuiteCore.Templates::1.0.16                
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 development components designed to enable the rapid development of database driven web applications. DbNetSuiteCore currently supports MS SQL, MySQL, MariaDB, PostgreSQL and SQLite databases.

Simply add DbNetSuiteCore to your pipeline as follows:

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

    using Microsoft.AspNetCore.Builder;
    using Microsoft.Extensions.DependencyInjection;
    
    WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
    builder.Services.AddRazorPages();
    builder.Services.AddDbNetSuiteCore(); // <= Add this line
    
    WebApplication app = builder.Build();
    app.UseHttpsRedirection();
    app.UseStaticFiles();
    app.UseRouting();
    app.UseAuthorization();
    app.UseDbNetSuiteCore();              // <= Add this line
       
    app.UseEndpoints(endpoints =>
    {
	    endpoints.MapRazorPages();
    });

    app.Run();
}

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

@page
@using DbNetSuiteCore.Components;
<!DOCTYPE html>
<html lang="en">
<head>
    <title>Customers</title>
    @DbNetSuiteCore.StyleSheet()
</head>
<body>
    <div>
        <main>
            @{
                DbNetGridCore customersGrid = new DbNetGridCore("northwind","customers");
                @customersGrid.Render()
            }
        </main>
    </div>
    @DbNetSuiteCore.ClientScript()
</body>
</html>

For a comprehensive set of 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.16 73 11/20/2024
2.0.15 84 11/19/2024
2.0.12 113 11/4/2024
2.0.10 92 10/24/2024
2.0.8 87 10/24/2024
1.0.20 370 5/26/2024
1.0.19 195 5/24/2024
1.0.17 152 5/24/2024
1.0.16 1,936 1/13/2024
1.0.15 960 12/16/2023
1.0.14 153 12/16/2023
1.0.13 203 12/14/2023
1.0.12 215 12/13/2023
1.0.5 1,194 11/3/2023
1.0.4 212 11/3/2023