unosquare / tubular-dotnet

Tubular .NET Library

Home Page:https://unosquare.github.io/tubular/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NuGet Quality Gate Status NuGet version

Tubular DotNet

Tubular provides .NET Framework and .NET Core Library to create REST service to use with Tubular Angular Components easily with any WebApi library (ASP.NET Web API for example).

Please visit the Tubular GitHub Page to learn how quickly you can start coding. See Related projects below to discover more Tubular libraries and backend solutions.

Installation

PM> Install-Package Tubular.ServerSide

Sample

The following snippet shows how to use Tubular Helper to create a basic response grid using Entity Framework and ASP.NET Web API.

 [RoutePrefix("api/users")]
 public class UsersController : ApiController
 {
     [HttpPost, Route("paged")]
     public IHttpActionResult GridData([FromBody] GridDataRequest request)
     {
         using (var context = new SampleDbContext(false)) {
             return Ok(request.CreateGridDataResponse(context.SystemUsers));
         }
     }
 }

About

Tubular .NET Library

https://unosquare.github.io/tubular/

License:MIT License


Languages

Language:C# 63.5%Language:HTML 30.8%Language:JavaScript 4.8%Language:CSS 1.0%