Programming Tips 💡
51.6K subscribers
67 photos
10 videos
30 files
354 links
Programming & AI:
Tips 💡
Articles 📕
Resources 👾
Design Patterns 💎
Software Principles

🇳🇱 Contact: @MoienTajik

🎯 Buy ads: https://telega.io/c/ProgrammingTip
Download Telegram
ASP.NET Core Web Optimizer ⚡️

ASP.NET Core middleware for bundling and minification of CSS and JavaScript files at runtime. ⌛️

With full server-side and client-side caching to ensure high performance. 💨

No complicated build process and no hassle.

🔸🔹🔸🔹

Installation 📥 :

1️⃣ Add the NuGet package LigerShark.WebOptimizer.Core to any ASP.NET Core 2.0 project :
dotnet add package LigerShark.WebOptimizer.Core


2️⃣ Add this to Configure in Startup.cs before app.UseStaticFiles :
app.UseWebOptimizer();


3️⃣ Finally add this to ConfigureServices :
services.AddWebOptimizer();


That's it. 🤚🏻
You have now enabled automatic CSS and JavaScript minification. 💎

🔸🔹🔸🔹

Features 🔥 :
Minification
Bundling
Cache Busting
Inlining Content
Compiling SCSS
Compiling LESS
Compiling TypeScript

https://t.me/pgimg/60

[ Demo ] : http://bit.do/optde
[ Github ] : http://bit.do/optgit


#AspMvc #Core #Bundling #Minify
@ProgrammingTip