From 6c786e4e0e71f5192412fbc936180b7246f0aa86 Mon Sep 17 00:00:00 2001 From: Nicholas Myers Date: Wed, 19 Jul 2017 23:21:44 -0500 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index db157ce..b2f6350 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,19 @@ PaginableCollections.AspNetCore A light weight pagination framework for .NET and .NET Core - now with additional MVC6 support! +### How Do I Use It? +Configure MVC to use PaginableCollections. +````csharp +public void ConfigureServices(IServiceCollection services) +{ + // important stuff... + + services.AddMvc() + .UsePaginableHeaders(u => u.UseCondensed()); + + // important stuff... +} +```` ### Installing PaginableCollections.AspNetCore You should install [PaginableCollections.AspNetCore with NuGet](https://www.nuget.org/packages/paginablecollections.aspnetcore):