🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

combres

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

combres

.NET library which minifies, compresses, combines, and caches JavaScript and CSS resources of ASP.NET and ASP.NET MVC web applications. Simply put, this library helps your applications rank better with YSlow and PageSpeed.

2.3.0.4
Source
NuGet
Version published
Maintainers
1
Created
Source

Combres makes the following changes when installing via NuGet:

  • Configure web.config
  • Register route in AppStart_Combres.cs
  • Add Combres config file App_Data/combres.xml (there are 2 other files for referencing purpose)

Follow these steps to finish:

  • Modify App_Data/combres.xml to include your JS and CSS files

  • Put these in pages which need CSS/JS: <%= WebExtensions.CombresLink("siteCss") %>
    <%= WebExtensions.CombresLink("siteJs") %>

    Rezor: @using Combres.Mvc @Url.CombresLink("siteCss") @Url.CombresLink("siteJs")

That's it. You're ready to run your app.

For more information, check out https://github.com/buunguyen/combres.

Keywords

asp.net

FAQs

Package last updated on 31 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts