It’s now possible to add the MVC pager to your own project with NuGet.
![image image](/martijn/_astro/image_thumb4.BlgeKk_3_BQcp0.webp)
Or from Visual Studio with ‘Manage NuGet Packages…’ and then search for ‘MvcPaging’.
After installing, you can immediately use the Pager HtmlHelper in your views:
![image image](/martijn/_astro/image_thumb5.CB2CSiLj_1w6ecy.webp)
et voilà!
![image image](/martijn/_astro/image_thumb6.Lap8BZ89_rdFB4.webp)
We also have include the IPagedList for your convenience:
![image image](/martijn/_astro/image_thumb7.CBQkuw6q_Z1t4AWA.webp)
For more info, check out the original blogpost that started it or the github project page.
Enjoy!