1

Is there a source code readily available for commonly used controls (say found in the toolbox) for ASP.NET 2.0?

The level of detail that I want its that I need to know the internal workings of the control.

4 Answers 4

5

Yes, Microsoft has actually released the Source code for the System.Web assembly, amongst others.

It is intended to make it possible to debug the built-in classes, so you as a developer have a better chance of understanding why a specific class behaves as it does. You can make Visual Studio download the source on-the-fly, when you try to step-in to a function with the debugger. http://weblogs.asp.net/scottgu/archive/2007/10/03/releasing-the-source-code-for-the-net-framework-libraries.aspx

If you would like to read / browse the source code; you can also download it all using the NetMassDownloader project from CodePlex.

Sign up to request clarification or add additional context in comments.

1 Comment

It is available, but not easily found. Try this: github.com/Microsoft/referencesource/tree/master/System.Web/UI/…
1

ASP.NET QuickStart Tutorials best fit for your needs.

Here you can access : Standart Toolbox Control Tutorials

EDIT : You edited your post to get resource for inner workings of server components. Here is my another suggestion : Nikhil Kothari's Developing Microsoft ASP.NET Server Controls and Components is the best resource on components and inner workings.

alt text http://ecx.images-amazon.com/images/I/41AQGWDEYAL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA240_SH20_OU01_.jpg

Comments

1

The quick way to look at the source code of controls or any other class libraries is to use disassembler, for example .NET Reflector link text

Comments

0

They are all documented on MSDN. Get started at the ASP.NET Developer Center, and at http://asp.net.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.