Microsoft.Restier
0.1.0-pre
Prefix Reserved
Restier RC1 has been released, and this meta-package is no longer used. Please install Microsoft.Restier.AspNet and Microsoft.Restier.EntityFramework instead.
dotnet add package Microsoft.Restier --version 0.1.0-pre
NuGet\Install-Package Microsoft.Restier -Version 0.1.0-pre
<PackageReference Include="Microsoft.Restier" Version="0.1.0-pre" />
paket add Microsoft.Restier --version 0.1.0-pre
#r "nuget: Microsoft.Restier, 0.1.0-pre"
// Install Microsoft.Restier as a Cake Addin
#addin nuget:?package=Microsoft.Restier&version=0.1.0-pre&prerelease
// Install Microsoft.Restier as a Cake Tool
#tool nuget:?package=Microsoft.Restier&version=0.1.0-pre&prerelease
Includes RESTier related packages. RESTier is a RESTful API development framework for building standardized, OData V4 based RESTful services on .NET.
Learn more about Target Frameworks and .NET Standard.
-
- Microsoft.Restier.Conventions (>= 0.1.0-pre)
- Microsoft.Restier.Core (>= 0.1.0-pre)
- Microsoft.Restier.EntityFramework (>= 0.1.0-pre)
- Microsoft.Restier.Security (>= 0.1.0-pre)
- Microsoft.Restier.WebApi (>= 0.1.0-pre)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Microsoft.Restier:
Package | Downloads |
---|---|
Npgsql.Restier
Includes RESTier related packages, and Npgsql. RESTier is a RESTful API development framework for building standardized, OData V4 based RESTful services on .NET. Npgsql is a .NET data provider for PostgreSQL. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Microsoft.Restier:
Repository | Stars |
---|---|
OData/ODataSamples
Samples: For ODataLib, OData Web API, RESTier, etc.
|
|
rbeauchamp/Swashbuckle.OData
Extends Swashbuckle with OData v4 support!
|
Version | Downloads | Last updated |
---|
Features
• Easily build an OData V4 service
o Supported features
- Basic queries for metadata and top level entities.
- System query options $select, $expand, $filter, $orderby, $top, $skip, $orderby, $format.
- Requesting related entities
- Create, Update and Delete on top-level entities
- Batch request
o Leverage attribute routing to fall back to Web API OData for features not directly supported by RESTier
- Requesting entity references with $ref
- Create, Update and Delete on none top-level entities
- Modify relationships between entities.
o EdmModelExtender to support features like operations that currently not directly supported by RESTier.
• Rich domain logic
o Role-based security
You can easily set restrictions for different entity set. For example, you can make users have READ permission on some of the entity sets and INSPECT (only view it on $metadata) on others.
o Imperative views
Customized entity set which are not in data model can be easily added. Currently CUD operations are not allowed on these entity sets yet.
o Entity set filters
With entity set filters, you can easily set filters before entity data show up. For example, you want users to see only part of Customer according to UserID, you can use entity set filters.
o Submit logic
With submit logic, you can customize behavior when / after a specific operation on an entity set.
Document and Tutorials
https://github.com/OData/RESTier/wiki