Hide contents in source code

Discussion in 'ASP .Net' started by mrajanikrishna@gmail.com, Jun 20, 2008.

  1. Guest

    Hi friends,

    I have a web page(.aspx) in my project. In the code behind, I
    have a method. How can I hide(invisible) only that method and rest of
    the code is visible(all other button events, bla bla).

    That means when anybody opens my project in visual studio or any other
    editor, the method should be invisible.

    How can I do this.

    thanks
    , Jun 20, 2008
    #1
    1. Advertising

  2. You'd probably want to put that code into a separate assembly and then
    obfuscate that DLL. The code behind would reference that assembly and call
    its custom method that you created.

    --
    I hope this helps,
    Steve C. Orr,
    MCSD, MVP, CSM, ASPInsider
    http://SteveOrr.net
    http://iPhonePlaza.net



    <> wrote in message
    news:...
    > Hi friends,
    >
    > I have a web page(.aspx) in my project. In the code behind, I
    > have a method. How can I hide(invisible) only that method and rest of
    > the code is visible(all other button events, bla bla).
    >
    > That means when anybody opens my project in visual studio or any other
    > editor, the method should be invisible.
    >
    > How can I do this.
    >
    > thanks
    Steve C. Orr [MCSD, MVP, CSM, ASP Insider], Jun 20, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ross

    hide my source code/

    ross, Jun 27, 2003, in forum: HTML
    Replies:
    17
    Views:
    4,092
    Daniel Doman
    Jun 28, 2003
  2. Replies:
    41
    Views:
    2,283
    Samuel van Laere
    Jun 1, 2007
  3. Immortal Nephi

    How to hide your source code?

    Immortal Nephi, Aug 10, 2009, in forum: C++
    Replies:
    1
    Views:
    473
    Marcel Müller
    Aug 10, 2009
  4. Replies:
    5
    Views:
    157
    Ferd Berfle
    Sep 7, 2005
  5. Eric Boucher

    Compile to exe to hide source code

    Eric Boucher, Mar 30, 2006, in forum: Ruby
    Replies:
    2
    Views:
    122
Loading...

Share This Page