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
1.0.16 401 2/18/2024
1.0.15 124 2/4/2024
1.0.14 165 12/16/2023
1.0.12 124 12/11/2023
1.0.11 184 12/11/2023
1.0.10 213 12/11/2023
1.0.4 119 11/13/2023
1.0.3 101 11/13/2023
1.0.2 159 10/28/2023
1.0.1 114 10/28/2023
0.9.478-beta 88 10/27/2023
0.9.474-beta 93 10/20/2023
0.9.471-beta 115 9/20/2023
0.9.470-beta 92 9/20/2023
0.9.469-beta 96 9/17/2023
0.9.463-beta 103 8/25/2023
0.9.462-beta 76 8/25/2023
0.9.46-beta 88 8/25/2023
0.9.43-beta 88 6/28/2023
0.9.42-beta 95 6/26/2023
0.9.41-beta 96 6/23/2023
0.9.40-beta 81 6/19/2023
0.9.39-beta 91 6/16/2023
0.9.38-beta 92 6/7/2023
0.9.37-beta 90 6/7/2023
0.9.36-beta 87 5/30/2023
0.9.34-alpha 92 5/22/2023
0.9.33-alpha 108 5/17/2023
0.9.32-alpha 99 5/13/2023
0.9.31-alpha 76 5/5/2023
0.9.3-alpha 96 5/2/2023
0.9.2-alpha 98 4/27/2023
0.9.1-alpha 89 4/27/2023
0.9.0-alpha 97 4/6/2023

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