Using DotFuscator Community Edition with ASP.NET

Last post 11-15-2009 6:48 PM by WPHC. 3 replies.

Sort Posts:

  • Using DotFuscator Community Edition with ASP.NET

    06-22-2004, 11:47 AM
    • Member
      35 point Member
    • markdotnet
    • Member since 02-20-2004, 11:28 PM
    • Not San Francisco
    • Posts 7
    Howdy folks -

    I have been using DotFuscator Community Edition to try to obfuscate my code-behind code that is compiled into a .DLL. I've been able to use DotFuscator on the DLL without a problem and it makes a perfectly nice obfuscated DLL assembly after building.

    The problem arises when you want to use this with ASP.NET. Since the functions/objects are renamed, the .ASPX web pages can't find the code-behind and raise errors, such as:

    * Parser Error Message: Could not load type 'XXX.content'. (where XXX is the name of the project and content refers to content.aspx).

    So, then I check "content" to be left out of the renaming process and it raises an error about a dropdown population function on the page:

    * Compiler Error Message: CS0117: 'ASP.content_aspx' does not contain a definition for 'selProduct_Changed'

    I scoured the web, finding some notes that publicly-accessible classes and functions need to be left out of the renaming process for them to work. However, it seems that you need to completely disable "Renaming" in order for a DotFuscated DLL to work at all with ASP.NET.

    Questions:
    1. Is there a way to make DotFuscator work with ASP.NET in a way that obfuscates the DLL such that all of the functions and objects are renamed?

    2. Is DotFuscator doing anything useful even with "Renaming" disabled? A simple use of Lutz's Reflector lets me see all sorts of things in the DLL, leading me to believe that my code could be easily reverse engineered.

    Any expert opinions would be much appreciated by this aspiring code obfuscator.
    ------------------------

    Do androids dream of electric sheep?
  • Re: Using DotFuscator Community Edition with ASP.NET

    10-07-2009, 2:33 AM
    • Member
      13 point Member
    • WPHC
    • Member since 06-27-2008, 6:42 PM
    • Posts 195

    i dont know if your still around


    but did you find a solution to this?


    im having the same problem............

    http://www.wolfpack.net.au/notwebsite/forums/HCsignature2.jpg
  • Re: Using DotFuscator Community Edition with ASP.NET

    11-14-2009, 5:25 PM
    • Member
      2 point Member
    • ervinarriaza
    • Member since 11-14-2009, 10:00 PM
    • Posts 1

    Here is the solution:

    http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_24773828.html

  • Re: Using DotFuscator Community Edition with ASP.NET

    11-15-2009, 6:48 PM
    • Member
      13 point Member
    • WPHC
    • Member since 06-27-2008, 6:42 PM
    • Posts 195

    thanks for the link


    but All comments and solutions are available to Premium Service Members only. Sign-up to view the solution to this question.

    http://www.wolfpack.net.au/notwebsite/forums/HCsignature2.jpg
Page 1 of 1 (4 items)