Understand Sharepoint using Dot Net Reflector
Using .NET Reflector, you can browse the classes and methods of an assembly, you can examine the Microsoft intermediate language (MSIL) generated by these classes and methods, and you can decompile the classes and methods and see the equivalent in C# or Visual Basic .NET.
Dot Net Reflector Can be used for the following in SharePoint Scenario, :
- Understand on how SharePoint is doing something, to find what elements can be customized.
- Understand what members to override in classes you create that inherit from SharePoint classes
- .NET Reflector is also an excellent way to know the best practices. Because you get to see how the team at Microsoft actually implemented functionalities. And also you have lots of examples at your fingers tips.
Example Usage of Dot Net Reflector to Under Stand SharePoint Source Code:
· If you want to know on what is happening on load of OOTB Search Results Page then open Microsoft.SharePoint.ApplicationPages.dll and navigate to SearchResultsPage class and click on OnLoad method.
SharePoint DLLS:
- You can find all the SharePoint dlls under C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI
- Some SharePoint assemblies(Microsoft.SharePoint.ApplicationPages.dll) are stored in the _app_bin directory of the web application instead of the ISAPI directory in the 12-hive.
Obfuscation:
Sometimes, not too often, when Reflector is disassembling source code for you, it will show “This item is obfuscated and can not be translated” instead of code. This is done for some of the more “sensitive” areas of the code
Downloads:
.Net Reflector: http://www.red-gate.com/products/reflector/
Add-ins: http://www.codeplex.com/reflectoraddins
Note: Review the end user license agreement (EULA) for the relevant Microsoft products before using this tool.
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

[...] You can find more details about here [...]