Recommended in this week's ASP. NET technical article [11/26-12/02]

Source: Internet
Author: User
Tags high cpu usage

Reminder: if you are interested in EnglishArticleFirst, the original author's consent is required to avoid unnecessary copyright disputes in the future. The following content is excerpted from the Copyright Law of the People's Republic of China:

Article 10Copyrights include the following personal and property rights:
(1) the right to publish an object, that is, the right to determine whether the object is made public;
(2) agency right, indicating the identity of the author and the right to sign the work;
(3) modification right: the right to modify or authorize others to modify the work;
(4) protect the copyright of a work, that is, the right to protect the work from distortion or tampering;
(5) right to use and to obtain remuneration, that is, the right to use the work by means of copying, performing, playing, exhibition, publishing, shooting, television, recording, or adapting, translating, commenting, and editing; and the right to allow others to use the work in the above way, and thereby obtain compensation.

12thIf the copyright of an existing work is adapted, translated, annotated, or collated, the copyright of the work shall not infringe upon the copyright of the original work in the exercise of copyright.

[0] Abstract

There are nine articles in this issue:

    1. [1] strong type resources in ASP. NET
    2. [2] create a sub-project 3/3 in Visual Studio development server and web application projects
    3. [3] ASP. NET Case Study: low performance, high memory usage, and high CPU usage of GC caused by viewstate
    4. [4] O/R Mapping in ASP. NET
    5. [5] using JavaScript to draw lines in Mozilla and IE-based browsers
    6. [6] gridview topic Style
    7. [7] ASP. NET Ajax-based website presentation
    8. [8] layer-3 Web ApplicationsProgramBidirectional data binding in
    9. [9] Create a CSS-friendly web site in ASP. NET 2.0

 

[1]Stronugly typed resources in ASP. NET(Strong type resources in ASP. NET)

The resource data in winform can be strongly typed. The Compiler automatically compiles a helper class based on the resource file to implement this function. The ASP. NET web site project is not so lucky. However, the emergence of ASP. NET web application projects seems to show us some opportunities: Compared with the web site, the compilation model of ASP. NET web application projects is more similar to the "winform program ......

Rick Strahl is indeed a cool man. Every day or two, he will post an important post. He seems very interested in all fields and has a good understanding. This article is a very good example from Problem Discovery to problem solving. In the process of adding a strong type of resource to ASP. NET, Rick Strahl gradually analyzes and solves the problem one by one, and the new problem also keeps coming. This spirit of research and divergent thinking in the face of problems are the most worth learning behind the technologies mentioned in the post.

 

[2]Part 3 of 3: creating sub-projects using the Visual Studio development server and web application projects(Create a sub-project 3/3 in Visual Studio development server and web application projects)

In the development of large ASP. NET 2.0 application, we can use web application projects in Visual Studio to split this large project into several small projects and develop them independently to improve development efficiency.

This is the third and last article in the series that describes this feature. This article is easy to understand and can be used with a large number of illustrations. It is suitable for beginners to learn. The three articles in this series are written by group PM and Omar Khan of Microsoft's web tool development team. below is the introduction of Omar Khan in the first article:

    1. Part 1 of 3: In this post, I'll describe the basics on How to setup a sub-project structure using IIS.
    2. Part 2 of 3: the next post will describe intricacies with master pages, user controls, and project references when using a sub-project structure.
    3. Part 3 of 3: The final part to the series will describe how to use the same technique but with the built-in development server in Visual Studio 2005.

 

[3]ASP. NET Case Study: Bad perf, high memory usage and high CPU in GC-death by viewstate(ASP. NET Case Study: low performance, high memory usage, and high CPU usage of GC caused by viewstate)

This is a relatively "technical" article. The author Tess is a technical support engineer of Microsoft and also a beauty :-). Her blog is naturally very popular (kidding), mainly focusing on performance, debugging and other content.

In this article, Tess has spent a lot of time studying the effect of viewstate on ASP. NET performance, especially in the case of large scale and heavy load. Tess used various methods, including viewing dump files, and finally found the problem. The steps for abstracting, analyzing, and finally solving the problem are methodical and rational. If you can calm down and follow Tess through the whole process, I believe it will surely be quite enlightening.

 

[4]Object relational mapping in ASP. NET 2.0(O/R Mapping in ASP. NET)

O/R Mapping seems to have become an indispensable and most important technology in current data persistence. It is with O/R Mapping that we developers can repeat from a large number of duplicates or similarCodeTo focus on the business logic field.

This article by Stephen Rylander is an introduction to o/R Mapping. Through a persistent problem encountered during actual project development, the author analyzes the application scope and usage of O/R Mapping, and finally provides a solution. However, if the author chooses wilsonormapper as the O/R Mapping Framework and does not choose Nhibernate, he must have his reasons.

If you do not know what O/R Mapping is, this article will be the most suitable for you!

 

[5]Drawing lines in Mozilla based browsers and the Internet Explorer(Draw lines in Mozilla and IE-based browsers using JavaScript)

This article discusses two very interesting things:

    1. Draw line in GuiAlgorithm: If you have studied or remember the course computer graphics, the first important part of this course is the algorithm for drawing straight lines on the GUI. It seems simple. Isn't it a straight line? However, there are many issues to consider, including implementation of soft lines and performance optimization. Using a large amount of algorithm knowledge in computer graphics is definitely an excellent material for reviewing algorithms. If you have forgotten this part, let's pick it up from this article!
    2. Draw lines in a browser using JavaScript: How does JavaScript draw lines in a browser? That's it! For specific implementation methods, please read them with patience. Here I will first sell them.

Although these two problems are very interesting, they may be difficult to use in actual development. In any case, I insist on recommending it. After all, a solid foundation of algorithms is the foundation of programmers!

 

[6]Gridthemes(The topic style of the gridview)

The gridview control in ASP. NET has very powerful functions. if you write a book, 300 is certainly okay. But have you ever thought about applying more powerful theme styles for it one day? For example, the left graph of the gridview will definitely make your table more favored by the customer!

This article is an introduction to the gridthemes project in codeproject. This project allows us to specify rich styles for the gridview through a custom theme Style File. The coolest thing is: In this custom theme style file, we can even use conditional judgment statements like if-else! This is why the table styles in the left graph are so rich.

 

Let's take a look at the definition of a style file:

<Theme ID="IFS"Title="Working With If Conditions">
 
 
 
<Datarow>
 
 
 
<! -- Display alternate columns with different background colors -->
 
<If Test='Cellindex%2=0'>
<Apply Backcolor='Lightgray'/>
 
<Elseapply Backcolor='White'/>
 
</If>
 
 
 
<! -- Apply numeric formatting -->
 
<If Test='Isnumeric'>
<Apply Horizontalalign='Right'/>
 
<If Test='Isnegative'>
 
<Apply Forecolor='Red'/>
 
</If>
 
</If>
 
 
</Datarow>
 
 
 
</Theme>

 

[7]Showcase of sites powered by ASP. NET Ajax(ASP. NET Ajax-based website presentation)

Michael Schwarz, author of Ajax. net Professional, recently found two websites based on ASP. NET Ajax (Note: not his own Ajax. net Professional): quotiki and smartscoreboard. Michael Schwarz analyzed the decrease in the network transmission volume caused by the use of ASP. NET Ajax on the two websites.

Of course, Michael Schwarz does not have a lot of comments, and everything is based on fact data. This is also a professional embodiment. But I can tell from a few words that Michael Schwarz is still quite vocal about ASP. NET Ajax performance problems ......

 

[8]Two-way Data Binding in 3-tier Web Application(Two-way Data Binding in layer-3 Web applications)

Data Binding is familiar to all ASP. NET developers, but many may be familiar with one-way data binding, that is, from the data layer to the logic layer to the presentation layer. But strictly speaking, the definition of "binding" includes the concept of "two-way". In this way, the "binding" we apply is not actually a binding ......

Eric popivker's article discusses how to implement bidirectional data binding in a typical three-layer architecture ASP. NET web application. The following is the scenario description of the sample program in this article. We can see that all the steps are implemented in the "binding" mode, which fully reflects the powerful functions of the "binding" framework:

    1. Load appropriate record from Table customer
    2. Bind customer record to Customer Business Object
    3. Bind customer object properties to web control values
    4. User enters information into Form and clicks on submit
    5. Bind updated web control values to customer object
    6. Bind customer object to a table record
    7. Save table record to table customer

 

[9]Creating CSS friendly websites with ASP. NET 2.0(Create a CSS-friendly web site in ASP. NET 2.0)

ASP. NET 2.0 CSS friendly control adapters released indeed solved a lot of ASP for our web developers. NET 2.0 does not comply with web standards (see: Create compliant HTML pages with semantics-Asp. NET 2.0 CSS friendly control adapters 1.0 released ). This article describes step by step how to use ASP. NET 2.0 CSS friendly control adapters in a project. This document may be easier to accept than purely sample programs or design documents.

if you are not familiar with ASP. NET 2.0 CSS friendly control adapters, you can follow this article to get started.

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.