Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7498013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:18:10+00:00 2026-05-29T19:18:10+00:00

I am developing web app using asp.net. I have plenty of javascript files which

  • 0

I am developing web app using asp.net. I have plenty of javascript files which I want to obfuscate.
I found many links on this and other sites for various tools. However following points are not clear from them

  1. Can I minify the obfuscated js file?
  2. if I obfuscate my js files before I put everything on production server what happens to all js calls in aspx pages? do they remain as it is or i have to do something?
    for example I have a function in js

    var a="Hello World!";
    function MsgBox(msg)
    {
        alert(msg+"\n"+a);
    }
    

….
in aspx page

    <asp:Button id="b" runat="server" onclick="MsgBox('asp.net')">

….
in above code what happens to javascript function call to MsgBox

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T19:18:11+00:00Added an answer on May 29, 2026 at 7:18 pm

    Obfuscation usually minifies the script as well, however if you compress the resources no matter what (js files, css files, html codes) on the server using gzip you can save lots of bandwidth and your site loads more quickly.

    As for your second question, Yes the signature of your methods remains unchanged using any kind of obfuscation

    It is worth pointing out that Asp.Net 4.5 comes with built-in Bundling and Minification which saves lots of trouble with minification of JS files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an asp.net web app in which I am using a span
I'm developing an web app using asp.net mvc. I have a List in Cache
I am developing a MySQL Web App using ASP.net and I have heard that
I am currently developing an asp.net web app. I have a class which is
Does anyone have an experience with developing a big web app using ASP.NET MVC
I am developing web app using ASP.NET and i am also using javascript in
I'm developing a web app in asp.net mvc using jquery, the language of application
I've been developing an asp.net web app using VS studio. I'm using SQL Server
I am developing a web app using ASP.NET 2.0 (C#), where on home page
I am developing a web app using servlets and jsps. I have a question

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.