Reflection in .Net with example

Posted by krrishbiju-15589 under C# on 7/10/2013 | Points: 10 | Views : 1472 | Status : [Member] | Replies : 3
Can anyone explain reflection with a example....
Regards
krrish




Responses

Posted by: Ssj_Kumar on: 7/10/2013 [Member] Starter | Points: 25

Up
0
Down
First you need to use System.Reflection Namespace which used to reflect the dll.
Next you need to get all assemble metadata information for the dll
Assembly objAssembly=Assembly.Loadfrom(<<DLL Path>>);
I think after getting metadata information it will be easy to get required datas

Regards,
Jayakumar Selvakani

krrishbiju-15589, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sr2013 on: 7/10/2013 [Member] Starter | Points: 25

Up
0
Down
Hi Kumar

Is it possible to generate executable in asp.net so that it cannot be converted to pages.

Srini

krrishbiju-15589, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ssj_Kumar on: 7/10/2013 [Member] Starter | Points: 25

Up
0
Down
Yes you can create a executable in asp.net, but your expectation will not meet. it will be like a setup file. below steps used to create exe
Open visual studio -> File->New->Project->Other project types->Setup and deployment->Web setup project
After that, add files which will be used for web asp.net

did you tried asp.net precompiler? , but I am not sure whether precompiler will solve you problem

Regards,
Jayakumar Selvakani

krrishbiju-15589, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response