Recommended in this week's ASP. NET technical article [04/01-04/07]

Source: Internet
Author: User

Summary

There are 6 articles in this issueArticle:

    1. Make updatepanel support file upload Part 1: Start
    2. How to Avoid JSON attacks and ASP. NET Ajax 1.0
    3. In IIS 7.0
    4. Asynchronous database query in. NET 2.0
    5. Getting started with LINQ -- Part 1
    6. Quick Reference to ASP. NET 2.0 page Lifecycle

 

[1]Let updatepanel support file uploading (1): Let's get started(Enable updatepanel to support file upload. Part 1: start)

This is the first article in a series of works by Jeffrey Zhao of the blog Park. As the name suggests, the whole series aims to enable the updatepanel control in ASP. NET ajax to support the file upload function. Its grasp of the Principles, analysis of implementation, exquisite design and writing are not picky. Jeffrey also published a Chinese version of the series in his blog, which is very suitable for comparative learning.

English series:

    1. Let updatepanel support file uploading (1): Let's get started
    2. Let updatepanel support file uploading (2): Server Side component
    3. Let updatepanel support file uploading (3): Client Side component
    4. Let updatepanel support file uploading (4): the mechanism of sending and parsing data
    5. Let updatepanel support file uploading (5): the module that support page redirection

Chinese comparison:

    1. Enable updatepanel to support file upload (1): Start
    2. Enable updatepanel to support file upload (2): Server Component
    3. Make updatepanel support file upload (3): client component

By the way, Jeff is a talented and young developer. It is my pleasure to know him. When I think back to my age like him, I still don't know what to immerse myself in. It's so self-defeating ......

 

[2]JSON hijacking and how ASP. NET Ajax 1.0 avoids these attacks(How to Avoid JSON attacks and ASP. NET Ajax 1.0)

Scott is always able to find something new in something that is being played by others. But without this skill, it would be hard to take such a mission. This article analyzes common JSON attack methods and the Defense countermeasures against these attacks in the response ASP. NET Ajax 1.0 framework.

In fact, these defense measures are quite simple, and there is no actual "technical content", but they are also quite useful:

    1. By default, ASP. NET Ajax web method does not allow http get access.
    2. ASP. NET Ajax Content-Type Header Verification

 

[3]In IIS 7.0(IIS 7.0)

Scott wrote an article about the features of IIS 7.0 and common reference resources. However, I don't understand why the title of this article is so concise ", scott doesn't know "Good title" (allow me to tamper with "start "......) Half of the success?

The content is as follows:

    1. ASP. NET and IIS 7.0 Integration
    2. IIS 7.0 download center
    3. Cool scenarios for ASP. NET developers

 

[4]Executing a query asynchronously in. NET 2.0(Perform database queries asynchronously in. NET 2.0)

Asynchronous execution, especially for Web ApplicationsProgramAsynchronous execution of Io operations in will save a lot of thread resources for the Web server. This article discusses the implementation of asynchronous execution of database queries in. NET 2.0. It seems to be "advanced", in fact, just like this lineCode, You will soon be able to see the clues:

 
StringGvgconnectionstring ="Server = localhost; database = myarticles; trusted_connection = true; asynchronous Processing = true";

However, the disadvantage of this article is that the code format is messy ...... Endure it ......

 

[5]Introducing LINQ-Part 1(Getting started with LINQ -- Part 1)

What is the use of LINQ? Why should we introduce this? How to mix the two layers of business logic and Data Processing code? Forgive me for ignorance. I haven't figured out why Microsoft did this ......

Public Static VoidExample3 ()
 
{
 
Ienumerable <String> Query = people. Where (x => X. length> 5). orderby (x => X );
 
Foreach(StringPersonInQuery)
 
{
 
Console. writeline (person );
 
}
 
}

However, since this new concept has come out, let's take a look at it. Maybe I learned it and I realized it in an instant. This article introduces how to get started with LINQ. The code is easy to understand.

 

[6]ASP. NET 2.0 page Life Cycle cheat sheet(Quick reference for ASP. NET 2.0 page lifecycle)

That's right. This is a PNG image!

However, this picture clearly describes the page lifecycle of ASP. NET 2.0. If you print the page and paste it to your computer, you can refer to it at any time. Isn't it fast?

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.