Hide contents in source code

  • Thread starter Thread starter mrajanikrishna
  • Start date Start date
M

mrajanikrishna

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
 
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
 
Back
Top