Microsoft.Restier.Conventions
0.1.0-pre
Prefix Reserved
Restier RC1 has been released, and this package is no longer supported. Please use Microsoft.Restier.Core instead.
dotnet add package Microsoft.Restier.Conventions --version 0.1.0-pre
NuGet\Install-Package Microsoft.Restier.Conventions -Version 0.1.0-pre
<PackageReference Include="Microsoft.Restier.Conventions" Version="0.1.0-pre" />
paket add Microsoft.Restier.Conventions --version 0.1.0-pre
#r "nuget: Microsoft.Restier.Conventions, 0.1.0-pre"
// Install Microsoft.Restier.Conventions as a Cake Addin
#addin nuget:?package=Microsoft.Restier.Conventions&version=0.1.0-pre&prerelease
// Install Microsoft.Restier.Conventions as a Cake Tool
#tool nuget:?package=Microsoft.Restier.Conventions&version=0.1.0-pre&prerelease
A module that defines a set of coding conventions for the RESTier.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Microsoft.OData.Edm (>= 6.7.0)
- Microsoft.Restier.Core (>= 0.1.0-pre)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
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