简体   繁体   English

ASP.NET通用控件源代码

[英]ASP.NET common controls source code

Is there a source code readily available for commonly used controls (say found in the toolbox) for ASP.NET 2.0? 是否有可用于ASP.NET 2.0的常用控件(例如在工具箱中找到)的源代码?

The level of detail that I want its that I need to know the internal workings of the control. 我需要了解的详细程度,我需要了解控件的内部工作原理。

Yes, Microsoft has actually released the Source code for the System.Web assembly, amongst others. 是的,Microsoft实际上已经发布了System.Web程序集的源代码。

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. 当您尝试使用调试器进入某个函数时,可以使Visual Studio即时下载源代码。 http://weblogs.asp.net/scottgu/archive/2007/10/03/releasing-the-source-code-for-the-net-framework-libraries.aspx 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. 您还可以使用 CodePlex 的NetMassDownloader项目下载所有内容。

ASP.NET QuickStart Tutorials best fit for your needs. ASP.NET快速入门教程最适合您的需求。

Here you can access : Standart Toolbox Control Tutorials 您可以在这里访问: Standart工具箱控制教程

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. 这是我的另一个建议: Nikhil Kothari开发Microsoft ASP.NET Server控件和组件是有关组件和内部工作的最佳资源。

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 替代文字http://ecx.images-amazon.com/images/I/41AQGWDEYAL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA240_SH20_OU01_.jpg

查看控件或任何其他类库的源代码的快速方法是使用反汇编程序,例如.NET Reflector 链接文本

They are all documented on MSDN . 它们都记录在MSDN上 Get started at the ASP.NET Developer Center , and at http://asp.net . ASP.NET开发人员中心http://asp.net开始

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM