Hide contents in source code

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
 
S

Steve C. Orr [MCSD, MVP, CSM, ASP Insider]

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,111
Latest member
KetoBurn
Top