Develop the ASP. Net Atlas server extender control-basic concepts and pre-Requirements

Source: Internet
Author: User
Author: Dflying Chen ( Http://dflying.cnblogs.com/ )

Microsoft ASP. NET AtlasThe emergence of almost subverts the entire traditionalASP. NETThe concept of development, in theory, is the most "pure"AtlasApplicationProgramAll the presentation layers are moved to the client. The server only provides the services required by the client. So far, this client programming model is not very powerful.IDESupported (think about writing and debugging)JavascriptHow painful it is ......), At the same time, considering that there are still a lot of existingASP. NETAnd developers need to adapt/Learning time. This wayAtlasWhile providing pure client-oriented programming models, control developers can also develop them in the form of server-side controls.AtlasComponents to make the traditionalASP. NETDevelopers do not feel any difference during development. They will also getVisual StudioDesign Support, compilation check, and other features, smooth the learning curve of program developers.

AtlasMost of the server-side controls can beExtenderIn the formExtenderAs the name suggests, it is a component that expands the functions and behaviors of existing controls. For exampleTextboxControl with Automatic completion (Auto complete).ButtonControl plus confirmation dialog box. WhereAtlasOfficially ReleasedControl ToolkitThere are several suchExtenderHere:"Atlas" Control ToolkitUpdate and publish (Version 1.0.60504.0), AndAtlas Control ToolkitReleaseObtain more detailed information.

For this very common developmentExtender,AtlasProvidesExtenderAnd the correspondingVisual StudioInProject template. In this series, let's learn how to useAtlasOfExtenderAnd the correspondingVisual StudioInProject templateDevelop our customExtender.

In the entire series, I will explain through the complete development process of a control. Here I selectExtenderThe function is,UseAjaxReal-time verification of User Name Registration, Detailed introduction to this function and clientAtlas BehaviorSee:UseASP. NET AtlasDevelopment real-time verification of user name registration customBehavior. I recommend that anyone interested in this series take this articleArticleUnderstanding and understanding of the concept will save a lot of time in future development.

Before developing this control, we need to install the following components:/Assembly:

    1. Atlas April CTP, See:ASP. NET Atlas rjl CTPReleaseOf course, you can only useAtlas. dllBut I recommend that you installAtlas web siteOfTemplateIn this way, you can test your control in real time during development.
    2. Atlas Control Toolkit, See:"Atlas" Control ToolkitUpdate and publish (Version 1.0.60504.0), AndAtlas Control ToolkitRelease, Download the lucky row self-extracting FileAtlascontroltoolkit.exe, You will get three directories in the directoryAtlascontrolextenderThere isAtlascontrolextender. VSIFile, if you do not want to manually createControlProject and many related documents/So it is best to run and install thisVisual StudioOfProject template(Oh, of course,Visual StudioOr necessary ).

If everything goes well, you will createWeb SiteYou can seeAtlas web siteOfTemplateIt can also be seen when creating a project.Atlas Control Project.

By the way,Atlascontroltoolkit.exeTwo of the three directories after decompression:

    1. AtlascontroltoolkitDirectoryThere is thisControl ToolkitSeveralExtender,Source code(But there is no comment ). This will be an indispensable sample program in the development process!
    2. SamplewebsiteDirectoryInExtender. You can learn how to use the developedExtender.

ThisControl ToolkitAllExtenderAnd providedExtenderThe base classesMicrosoft Permissive licenseProtocol. This is a very loose protocol with no restrictions. For more information, seeHttp://www.microsoft.com/resources/sharedsource/licensingbasics/permissivelicense.mspx.

(I am sorry to write such a short article. It's a little tired ...... This series is about two or three articles. Happy Children's Day)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.