From 497511872e56d3a307885f2a4cb404acbc373871 Mon Sep 17 00:00:00 2001 From: Nicholas Myers Date: Wed, 19 Jul 2017 23:43:04 -0500 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b2f6350..cc9a0d4 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ A light weight pagination framework for .NET and .NET Core - now with additional ### How Do I Use It? Configure MVC to use PaginableCollections. -````csharp +```csharp public void ConfigureServices(IServiceCollection services) { // important stuff... @@ -19,7 +19,27 @@ public void ConfigureServices(IServiceCollection services) // important stuff... } -```` +``` +#### Condensed Headers +``` +Content-Type →application/json; charset=utf-8 +Date →Thu, 20 Jul 2017 04:31:01 GMT +Server →Kestrel +Transfer-Encoding →chunked +X-Paginable →{"itemCountPerPage":20,"pageNumber":1,"totalItemCount":14,"totalPageCount":1} +``` +#### Expanded Headers +``` +Content-Type →application/json; charset=utf-8 +Date →Thu, 20 Jul 2017 04:35:13 GMT +Server →Kestrel +Transfer-Encoding →chunked +X-Paginable-ItemCountPerPage →20 +X-Paginable-PageNumber →1 +X-Paginable-TotalItemCount →14 +X-Paginable-TotalPageCount →1 +``` + ### Installing PaginableCollections.AspNetCore You should install [PaginableCollections.AspNetCore with NuGet](https://www.nuget.org/packages/paginablecollections.aspnetcore):