diff --git a/PoweredSoft.DynamicQuery.AspNetCore/PoweredSoft.DynamicQuery.AspNetCore.csproj b/PoweredSoft.DynamicQuery.AspNetCore/PoweredSoft.DynamicQuery.AspNetCore.csproj index c97bd8c..77e4fd7 100644 --- a/PoweredSoft.DynamicQuery.AspNetCore/PoweredSoft.DynamicQuery.AspNetCore.csproj +++ b/PoweredSoft.DynamicQuery.AspNetCore/PoweredSoft.DynamicQuery.AspNetCore.csproj @@ -2,15 +2,22 @@ netcoreapp2.1 - true + True Powered Softwares Inc. MIT https://github.com/PoweredSoft/DynamicQuery https://github.com/PoweredSoft/DynamicQuery github powered,soft,dynamic,criteria,query,builder,asp,net,core - 1.0.2 + 1.0.3 https://secure.gravatar.com/avatar/4e32f73820c16718909a06c2927f1f8b?s=512&r=g&d=retro + PoweredSoft.DynamicQuery.AspNetCore + This projects makes it easier to use dynamic query in a asp.net core mvc proejct. + PoweredSoft.DynamicQuery.AspNetCore + adding support for async operations. + False + PoweredSoft.DynamicQuery.AspNetCore + PoweredSoft.DynamicQuery.AspNetCore diff --git a/PoweredSoft.DynamicQuery/PoweredSoft.DynamicQuery.csproj b/PoweredSoft.DynamicQuery/PoweredSoft.DynamicQuery.csproj index c85ebf3..a319dc2 100644 --- a/PoweredSoft.DynamicQuery/PoweredSoft.DynamicQuery.csproj +++ b/PoweredSoft.DynamicQuery/PoweredSoft.DynamicQuery.csproj @@ -2,15 +2,22 @@ netstandard2.0 - true + True Powered Softwares Inc. MIT https://github.com/PoweredSoft/DynamicQuery https://github.com/PoweredSoft/DynamicQuery github powered,soft,dynamic,criteria,query,builder - 1.0.6 + 1.0.7 https://secure.gravatar.com/avatar/4e32f73820c16718909a06c2927f1f8b?s=512&r=g&d=retro + PoweredSoft.DynamicQuery + dynamic query based on string path very usefull for network requests. + PoweredSoft.DynamicQuery + adding support for async operations. + False + PoweredSoft.DynamicQuery + PoweredSoft.DynamicQuery diff --git a/README.md b/README.md index cb18635..36cad35 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,21 @@ public IQueryExecutionResult Read( } ``` +> New support for async + +```csharp +[HttpPost] +public async Task Read( + [FromServices]YourContext context, + [FromServices]IQueryHandlerAsync handler, + [FromBody]IQueryCriteria criteria) +{ + IQueryable query = context.Somethings; + var result = await handler.ExecuteAsync(query, criteria); + return result; +} +``` + ### Sample Web Project - ASP.NET CORE + EF Core Visit: https://github.com/PoweredSoft/DynamicQueryAspNetCoreSample