Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbnetlink/dbnetsuitecore.templates
DbNetSuiteCore.Templates
https://github.com/dbnetlink/dbnetsuitecore.templates
Last synced: about 22 hours ago
JSON representation
DbNetSuiteCore.Templates
- Host: GitHub
- URL: https://github.com/dbnetlink/dbnetsuitecore.templates
- Owner: dbnetlink
- Created: 2023-11-03T10:22:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-18T12:13:55.000Z (5 days ago)
- Last Synced: 2024-12-18T13:25:17.743Z (5 days ago)
- Language: HTML
- Size: 53.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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:
```c#
{
using DbNetSuiteCore.Middleware; // <= Add this linevar 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:
```c#
@page
@using DbNetSuiteCore.Enums
@using DbNetSuiteCore.Models@DbNetSuiteCore.Resources.StyleSheet() @* Add the stylesheet *@
@{
GridModel customerGrid = new GridModel(DataSourceType.SQLite, "Northwind", "Customers");
@(await new DbNetSuiteCore.GridControl(HttpContext).Render(customerGrid))
}
@DbNetSuiteCore.Resources.ClientScript() @* Add the client-side library *@```
For demos [click here](https://dbnetsuitecore.com/) and for the documentation [click here](https://dbnetsuitecore.document360.io/docs)