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

  • SEARCH
  • Home
  • 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 692891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:41:51+00:00 2026-05-14T02:41:51+00:00

I wouldn’t usually bother to obfuscate a web application DLL but right now I

  • 0

I wouldn’t usually bother to obfuscate a web application DLL but right now I have to share some server space with someone who might have a conflict of interest and might be tempted to steal the deal and decompile it. Not an ideal solution I know but hey.

So I am using VS 2005, a web deployment project (which compiles into a single DLL) and Dotfuscator community edition. When I obfuscate the DLL the web application breaks and I get some message like

Could not load type 'Browse' from assembly MyAssembly

So I searched around and found that if I disable renaming then it should fix it. Which it does. But now when I look at the DLL using .Net reflector I can see everything again. So this seems kind of pointless.

Is there a way to get this to work?
Is there a better way to protect my DLL from someone I have to share a server with?

UPDATE:

I figured out my problem. All the classnames have changed but now all my

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="mycode.aspx.cs" Inherits="mycode" %>

is incorrect because mycode no longer exists. It is now aef or something. Is there any tool out there that will also change the names of the Codefile and Inherits tags?

  • 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-14T02:41:51+00:00Added an answer on May 14, 2026 at 2:41 am

    You’re close to the solution.
    In your situation I don’t know in which context ‘Browse’ is used, but are you referencing it somewhere as a string?

    There are some things which simply can’t be obfuscated when you’re using it in a certain way.

    For example, when you have custom objects which is bound to a control. Those properties which you’ve specified as a displaymember of valuemember cannot be obfuscated.
    This is because the properties are defined as a string. So at designtime there’s no connection between the control and the actual property, but at runtime there is.
    I don’t know how to explain it better; but here’s some code:

    // custom object
    Public Class MyObject
    {
        string Test() { get; set; }
    }
    
    // here the object is bound to a combobox
    
    MyCombo.ValueMember = "Test";  // The Test property cannot be obfuscated because of this 'indirect' reference.
    MyCombo.DisplayMember = "Test";
    MyCombo.DataSource = lstListOfMyObjects;
    

    Hopefully it addresses your problem. If not, let me know.

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

Sidebar

Related Questions

Why wouldn't MySQL have this feature? INSERT INTO abc (a) VALUES ('bla') ON DUPLICATE
Ordinarily I wouldn't just post an error message on SO, but after a Google
I know it probably wouldn't make much sense to do it as usually it's
I have a problem: (I wouldn't be here otherwise ;) I am creating an
What are some reasons why I wouldn't want to disable IIS logging completely for
I have just tried to save a simple *.rtf file with some websites and
I wouldn't mind writing my own function to do this but I was wondering
I wouldn't ask if i wasn't sure that i have 100% no idea why
Why wouldn't C++ allow something like that ? I need to have multiple priority
Wouldn't it be better to have a method in the viewmodel that returns the

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.