Lib.Web.Mvc
Lib.Web.Mvc is a library which contains some helper classes for ASP.NET MVC such as strongly typed jqGrid helper, attribute and helper providing support for HTTP/2 Server Push with Cache Digest, attribute and helpers providing support for Content Security Policy Level 2, FileResult providing support for Range Requests, action result and helper providing support for XSL transformation and more.
Install / Use
/learn @tpeczek/Lib.Web.MvcREADME
Lib.Web.Mvc
Lib.Web.Mvc is a library which contains some helper classes for ASP.NET MVC such as strongly typed jqGrid helper, attribute and helper providing support for HTTP/2 Server Push with Cache Digest, attribute and helpers providing support for Content Security Policy Level 2, FileResult providing support for Range Requests, action result and helper providing support for XSL transformation and more.
ASP.NET Core
The ASP.NET Core version of this library has been splitted into several independent libraries:
- Lib.AspNetCore.Mvc.Security - security features like Content Security Policy and Strict Transport Security
- Lib.AspNetCore.Mvc.JqGrid - support for jqGrid usage in ASP.NET Core
Getting Started
Lib.Web.Mvc is available on NuGet.
PM> Install-Package Lib.Web.Mvc
Alpha packages are available on MyGet.
Documentation
The library documentation is available as a part of the release (chm file).
There is also a series of blog posts describing key features of the library:
- jqGrid Strongly Typed Helper - Introduction
- jqGrid Strongly Typed Helper - Caption layer, dynamic scrolling and grouping
- jqGrid Strongly Typed Helper - jQuery UI Integrations
- Range Requests in ASP.NET MVC – RangeFileResult (How RangeFileResult works)
- Content Security Policy in ASP.NET MVC - Scripts (How ContentSecurityPolicyAttribute and ContentSecurityPolicyExtensions work)
- HTTP/2 Server Push and ASP.NET MVC
- HTTP/2 Server Push and ASP.NET MVC - Cache Digest
Usage Examples
There are several sample projects available, showing different features of the library:
- jqGrid in ASP.NET MVC - Strongly typed helper
- jqGrid in ASP.NET MVC 3 and Razor
- VideoJS in ASP.NET MVC
- XSL Transformation in ASP.NET MVC
Consulting and Professional Services
Do you need help with any of my libraries, or with building features on top of what they provide? I offer paid support and consulting services.
<p align="center"> <img alt="Services provided by Tomasz Pęczek" src="https://github.com/user-attachments/assets/0f9793d8-4766-4a6f-9824-c0e7fec904b2" /> </p>Donating
My blog and open source projects are result of my passion for software development, but they require a fair amount of my personal time. If you got value from any of the content I create, then I would appreciate your support by sponsoring me (either monthly or one-time).
Copyright and License
Copyright © 2009 - 2026 Tomasz Pęczek
From October 2009 to August 2014 licensed under the Ms-PL License.
From August 2014 licensed under the MIT License
