Recommended in this week's ASP. NET technical article [12/10-12/16]

Source: Internet
Author: User

 

Summary

There are 7 articles in this issueArticle:

    1. Client scripts in updatepanel and Custom Controls
    2. Msbuild, Nant, nunit, and mstest bring unhappiness.
    3. Ajax futures December CTP: dataset, datatable, and datarow are returned from WebService or pagemethod.
    4. Output cache in ASP. NET 2.0
    5. Use the facade design mode to manage session variables in ASP. NET
    6. A feasible CAPTCHA alternative solution
    7. Web parts -- How to Create a tab style panel

 

[1]Updatepanels and clientscript in custom controls(Updatepanel and client scripts in the Custom Control)

ASP. NET Ajax updatepanel contains a custom control, and it happens that the custom control still needs to generate some client scripts, so you will be surprised to find that these scripts are gone ...... This article will discuss the cause of this problem and give relevant results. We should be confident in Rick Strahl's work.

 

[2]Msbuild, Nant, nunit, mstest, and frustration(Msbuild, Nant, nunit, and mstest bring unhappiness)

Msbuild, Nant, nunit, mstest ...... I believe that by listing these names, you can guess why the author feels uncomfortable. Which one should I use? How to use it? How do they collaborate? These are all problems ...... The author of this article also encountered such a problem. He wrote the thinking process and solution. Although it has nothing to do with ASP. NET, it is still worth reading.

 

[3]Ajax futures December CTP: Returning datasets, Ables, and datarows from a WebService or pagemethod(Ajax futures December CTP: dataset, datatable, and datarow are returned from WebService or pagemethod)

A good solution has been provided in the CTP. Who knows that ASP. NET Ajax will delete dataset, datatable, and datarow returned from WebService or pagemethod ?! (Of course, I also leave a small part of the content, which is full of bugs. For this reason, I have also provided a specific solution: "Existing Problems and Solutions: In ASP. net Ajax client get the datatable of the server and the existing problems and solutions: In ASP. net Ajax transmits datatable from the client to the server)

But fortunately, they returned again in the CTP of February. This article describes how to use the latest version of ASP. NET ajax to return dataset, datatable, and datarow from WebService or pagemethod. I don't need any more!

 

[4]Output caching in ASP. NET 2.0(Output cache in ASP. NET 2.0)

In fact, there is nothing to say, just a basic article. The use of the output cache is also the same as that of the sunflower collection ...... If you are not familiar with or have not heard of this "sunflower Collection", read this article. Of course, reading this article does not mean you can start to practice the "sunflower Collection. If you don't listen and blindly do it, I am not responsible for the consequences ......

 

[5]Manage ASP. NET session variables using the Facade Design Pattern(Use the facade design mode to manage session variables in ASP. NET)

The session concept in ASP. NET is very simple and easy to use. Simple and Convenient things are easy to abuse. This is an indisputable fact. It is precisely because of its simplicity of use that occasional mistakes are hard to be discovered-unexpected errors will come here.

This article wraps the concept and usage of this session in the facade mode and is also an example application in the design mode. Let's look at the method of using session after packaging:

 
// Save a session variable
 
Myapplicationsession. startdate = datetime. Today. adddays (-1 );
 
// Read a session variable
 
Datetime startdate = myapplicationsession. startdate;

 

[6]Toward viable CAPTCHA alternatives(A feasible alternative to CAPTCHA)

CAPTCHA is completely automated public Turing test to tell computers and humans apart (a fully automated public Turing test), designed to enable computer generation to differentiate computers from humansProgramAlgorithmSuch programs must be able to generate and evaluate tests that humans can easily pass but computers cannot pass. Currently, common verification images belong to CAPTCHA. (Scan the blind, this section is from the I-volume of ASP. NET Ajax program design that I will publish. By the way, I made an advertisement-_-B)

In this article, the author provides a fairly good alternative solution for CAPTCHA. If you are interested, you can check it out. However, the nobot control provided by ASP. NET Ajax Control Toolkit is powerful enough. If I choose it, I will still use nobot directly.

 

[7]Web parts-how to create a tabbed View(Web parts-how to create a tab style panel)

The tabs on the Web page are cool. I am still wondering why some client scripts have been added to ASP. NET Ajax Control Toolkit. In fact, the idea is quite simple. You can understand it at a glance, but it is really troublesome to implement it.

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.