WebOptimizer.JSObfuscator
1.0.1
See the version list below for details.
dotnet add package WebOptimizer.JSObfuscator --version 1.0.1
NuGet\Install-Package WebOptimizer.JSObfuscator -Version 1.0.1
<PackageReference Include="WebOptimizer.JSObfuscator" Version="1.0.1" />
paket add WebOptimizer.JSObfuscator --version 1.0.1
#r "nuget: WebOptimizer.JSObfuscator, 1.0.1"
// Install WebOptimizer.JSObfuscator as a Cake Addin #addin nuget:?package=WebOptimizer.JSObfuscator&version=1.0.1 // Install WebOptimizer.JSObfuscator as a Cake Tool #tool nuget:?package=WebOptimizer.JSObfuscator&version=1.0.1
WebOptimizer JavaScript Obfuscator Plugin
The WebOptimizer JavaScript Obfuscator plugin integrates directly into the WebOptimizer asset pipeline, providing an advanced solution for obfuscating JavaScript files within ASP.NET Core applications. This plugin leverages sophisticated obfuscation techniques to enhance the security of your JavaScript code, making it more difficult to reverse-engineer or tamper with.
Getting Started
Basic Configuration
Add a JavaScript bundle and apply obfuscation in your
Startup.cs
orProgram.cs
:builder.Services.AddWebOptimizer(pipeline => { pipeline.AddJavaScriptBundle("/js/bundle.js", "js/site.js", "js/other.js") .ObfuscateJavascript(ObfuscationLevel.LowObfuscationHighPerformanceOptions); });
Custom Obfuscation Settings
Customize the obfuscation process with detailed options:
builder.Services.AddWebOptimizer(pipeline => { var options = new JavaScriptObfuscatorOptionsBuilder() .SetDebugProtection(true, interval: 4000) .SetDisableConsoleOutput(true) .SetUnicodeEscapeSequence(true) .Build(); pipeline.AddJavaScriptBundle("/js/bundle.js", "js/site.js", "js/other.js") .ObfuscateJavascript(options); });
Additional Documentation
For more detailed information about configuration options and advanced usage, please visit the official GitHub repository:
Feedback
We greatly appreciate your feedback and suggestions. If you have any comments or face any issues, please feel free to reach out through:
- GitHub Issues
- Twitter: @artnalgo
- Email: support@artnalgo.com
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- Artnalgo.NET.JSObfuscator.Core (>= 1.0.2)
- LigerShark.WebOptimizer.Core (>= 3.0.405)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version 1.0.1 introduces robust obfuscation capabilities for JavaScript files within the WebOptimizer pipeline, featuring a suite of techniques for improved code security in ASP.NET Core projects.