Recommended in this week's ASP. NET English Technical article [03/16-03/22]: MVC, LINQ, blog, C #, RSS, ViewManager

Source: Internet
Author: User

Summary

There are 8 articles in this issueArticle:

    1. Use ASP. net mvc and LINQ to create a simple blog system: Part 3
    2. Basic ASP. NET knowledge
    3. C #4.0 Part 1: Review history
    4. Develop templated ASP. net rss Feed Reader controls
    5. A good tool for learning LINQ -- linqpad
    6. In-depth ASP. net mvc: ASP. net mvc page Lifecycle
    7. Use custom ViewManager to update data locally in ASP. NET Ajax
    8. Use design phase attributes

 

[1]Building a simple blog engine with ASP. net mvc and LINQ-Part 3(Use ASP. net mvc and LINQ to create a simple blog system: Part 3)

This is the third part of the series. Both the first part and the second part have been written.

ASP. net mvc and LINQ are not closely related to each other. However, as a new Microsoft technology, the author clearly understands this and combines it with others.

This type of instanceProgramThe method has also been recognized by many people. Although it is not too technical, it can still be used as a reference for getting started.

 

[2]ASP. NET basics: Foundation of ASP. NET(Basic ASP. NET knowledge)

This article summarizes some common basic ASP. NET knowledge in the form of a question/answer, such as the development history of ASP. NET:

    1. ASP. NET 1.0-released on January 16,200 2.
    2. ASP. NET 1.1-released on each l 24,200 3.
    3. ASP. NET 2.0-released on November 7, 2005.
    4. Additionally and ASP. NET 3.5 is tentatively to be released by the end of the 2007.

There are a lot more. It should be good to prepare this item before the interview.

 

[3]C #4, Part 1: looking back at the past(C #4.0 Part 1: Review History)

Similar to the previous article, the main purpose of this article is to summarize the shortcomings of C # three versions. The original Article is called "mistake ".

Looking at the entire article starting with "lack of", it seems that C #4.0's future development direction can also be clearly seen.

However, the author still expressed the meaning of "hate iron is not steel", rather than demanding:

I'm not trying to take anything away from the Language designers-C # is still easily my favorite language in terms of its design, particle ly in C #3, but nobody's perfect

 

[4]A templated ASP. net rss Feed Reader Control(Develop a templated ASP. net rss Feed Reader control)

This is also a "Teaching" Article-it is obviously not a good practice to put data access, business logic, and performance layers in one control.

However, if you do not consider this, this is indeed an article that helps you learn how to develop template controls in ASP. NET. ArticleCodeMany of them, but the comments are also very detailed. If you are interested, you may wish to follow them.

Finally, the use of the control is as follows, and it seems to be well encapsulated:

 <  CC2: rssreader   ID  = "Rssreader2"   Runat  = "Server"   Feedurl  = "Http://weblogs.asp.net/stefansedich/rss.aspx"  >         <  Headertemplate  >             <  Div  >                    <  B  >  <% # Eval ( "Title. Text" ) %>  </  B  >                                      <  BR   /> <  BR   />         </  Headertemplate  >         < Itemtemplate  >              <% # Eval ( "Title. Text" ) %>              <  BR   /> <  BR   />              <% # Eval ( "Summary. Text" ) %>              <  HR   />          </  Itemtemplate  >          < Footertemplate  >               </  Div  >           </  Footertemplate  >  </  CC2: rssreader  >   

 

[5]How to Use LINQ? Check out linqpad!(A good tool for learning LINQ-linqpad)

This is a good tool that helps you analyze the results of the LINQ query. The interface is also very professional:

 

[6]ASP. net mvc in-depth: the life of an ASP. net mvc request(In-depth ASP. net mvc: ASP. net mvc page lifecycle)

I think you are familiar with the lifecycle of ASP. NET pages. However, this article provides ASP. net mvc.

    1. Step 1-The routetable is created
    2. Step 2-The urlroutingmodule intercepts the request
    3. Step 3-The mvchandler executes
    4. Step 4-The Controller executes
    5. Step 5-The renderview method is called

This article is quite detailed. Each section is carefully explained, along with appropriate code examples. Very good.

 

[7]ASP. NET Ajax using a custom ViewManager to render paged data without updatepanels(Use custom ViewManager to update data locally in ASP. NET Ajax)

This is a lightweight updatepanel alternative. In addition to being lightweight, it can also be easily used with other Ajax frameworks, not only in the official ASP. NET Ajax.

I remember Lao Zhao from the blog park once wrote such a post ......

NamespaceNoupdatepanels {
 
Public Partial Class_ Default: system. Web. UI. Page {
 
 
 
[Webmethod ()]
 
Public Static StringGetdatapage (IntPage ){
 
 
 
// Create an instance of our ViewManager.
 
ViewManager <DATA> man =NewViewManager <DATA> ("~ /Data. ascx");
 
 
 
// Set the current page property.
Man. Control. currentpage = page;
 
 
 
// Return the rendered control.
 
ReturnMan. Render ();
 
}
 
 
 
}
 
}

 

[8]Using Design Time Attributes(Use design phase attributes)

Many Attributes used with Visual Studio are interesting. If you want to develop your own controls, you must learn to use them-otherwise, they will be too unprofessional.

This article is good for getting started, but if you want to learn more, read msdn directly.

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.