- Notifications
You must be signed in to change notification settings - Fork0
ibrahimozgon/Asp.net-View-Inline-Content-Helper
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Adds inline content files to html outputYou can use this library to draw critical css or js files to html output in asp.net mvc projectsYou can find details about critical csshere
@usingInlineContentHelper.Helpers<html><head>@Html.InlineStyles("critical-style")@Html.InlineScripts("critical-script")</head></html>
You need to add your files under Contents folderContents
=> script=>critical-script.js=>critical-script.mobile.js=> style=>critical-style.js=>critical-style.mobile.js
Like ASP.NET MVC Dislay Mode support, InlineContentHelper also support different files in different display mode.If you use
@Html.InlineStyles("critical-style")
library adds .mobile extension for mobile page rendering.
Library cache inline-files after first fetch. It uses dictionary to cache string items. You can look atFirstLevelCacheManager
About
Adds inline content files to html output
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published