Programming & AI Tips 💡
45.9K subscribers
67 photos
11 videos
30 files
386 links
Programming & AI:
Tips 💡
Articles 📕
AI & LLMs 👾
Design, Architecture, Principles ✅

🇳🇱 Contact: @MoienTajik
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