DbNetSuiteCore 1.0.10

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global DbNetSuiteCore --version 1.0.10                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local DbNetSuiteCore --version 1.0.10                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=DbNetSuiteCore&version=1.0.10                
nuke :add-package DbNetSuiteCore --version 1.0.10                

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

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
2.0.15 80 11/18/2024
2.0.14 68 11/18/2024
2.0.13 79 11/4/2024
2.0.12 84 10/31/2024
2.0.11 82 10/25/2024
2.0.10 86 10/24/2024
2.0.8 86 10/23/2024
2.0.3 81 10/22/2024
2.0.1 68 10/22/2024
2.0.0 76 10/22/2024
1.0.19 195 5/24/2024
1.0.18 115 5/24/2024
1.0.17 134 5/22/2024
1.0.16 668 2/18/2024
1.0.15 163 2/4/2024
1.0.14 196 12/16/2023
1.0.12 152 12/11/2023
1.0.11 265 12/11/2023
1.0.10 300 12/11/2023
1.0.4 157 11/13/2023
1.0.3 126 11/13/2023
1.0.2 192 10/28/2023
1.0.1 144 10/28/2023
0.9.478-beta 120 10/27/2023
0.9.474-beta 129 10/20/2023
0.9.471-beta 130 9/20/2023
0.9.470-beta 122 9/20/2023
0.9.469-beta 128 9/17/2023
0.9.463-beta 117 8/25/2023
0.9.462-beta 104 8/25/2023
0.9.46-beta 117 8/25/2023
0.9.43-beta 118 6/28/2023
0.9.42-beta 130 6/26/2023
0.9.41-beta 126 6/23/2023
0.9.40-beta 95 6/19/2023
0.9.39-beta 120 6/16/2023
0.9.38-beta 120 6/7/2023
0.9.37-beta 120 6/7/2023
0.9.36-beta 125 5/30/2023
0.9.34-alpha 118 5/22/2023
0.9.33-alpha 135 5/17/2023
0.9.32-alpha 112 5/13/2023
0.9.31-alpha 104 5/5/2023
0.9.3-alpha 123 5/2/2023
0.9.2-alpha 112 4/27/2023
0.9.1-alpha 117 4/27/2023
0.9.0-alpha 110 4/6/2023

Includes DbNetGridCore (grid), DbNetEditCore (form), DbNetComboCore (drop-down list) and DbNetFile (file system)