Summary
A total of 10 articlesArticle:
- Use ASP. Net Security Authentication in ASP and non-ASP. NET URLs
- Use Microsoft Ajax library in PHP
- New Features of orcas C # language: Automatic attributes, object initiators, and set Initiators
- Session-related troubleshooting in ASP. NET
- Optimize ASP. NET 2.0 web applicationsProgramExecution speed
- Users who use custom profile provider to manage websites
- Access membership and profile services in ASP. NET Ajax
- Understanding the hierarchy of naming iner in the data binding control in ASP. NET
- In-depth research on WPF/E
- Create an ASP. NET 1.1 environment under iis7
[1]Tip/TRICK: Integrating ASP. Net Security with classic ASP and Non-ASP.NET URLs(Use ASP. Net Security Authentication in ASP and non-ASP. NET URLs)
Scott Guthrie's other tip/trick article is not very in-depth. But he has a strong style: Step by step, supplemented by illustrations, it makes people feel clear and elegant. I finally recommended a book. It looks good. Do you have any Chinese version?
[2]Microsoft Ajax library on PHP(Use Microsoft Ajax library in PHP)
Microsoft Ajax library is a client Javascript script library unrelated to the server platform. It can naturally be used in PHP. Some people are very interested in this and have launched a project on codeplex to support the scriptmanager control on the PHP platform.
This article provides a small sample program, which is still the most typical client-side web service.
<? PHP
Require_once'../Dist/msajaxservice. php';
ClassHelloservice extends msajaxservice
{
Function sayhello ($ name)
{
Return "Hello ,". $ Name."! ";
}
}
$ H =NewHelloservice ();
$ H-> processrequest ();
?>
Client call:
<HTML>
<Head>
<Title> Hello, world! </Title>
<SCRIPT type ="Text/JavaScript"Src =".../Microsoftajaxlibrary/microsoftajax. js"> </SCRIPT>
<SCRIPT type ="Text/JavaScript"Src ="Helloservice. php/JS"> </SCRIPT>
</Head>
<Body>
Name: <input id ="Name"Type ="Text"/>
<Input type ="Button"Value ="Say hello"Onclick ="Button_click (); Return false ;"/>
<Br/>
Response from server: <span id ="Response"> </Span>
</Body>
<SCRIPT type ="Text/JavaScript">
FunctionButton_click (){
Helloservice. sayhello ($ get ('Name'). Value,Function(Result ){
$ Get ('Response'). Innerhtml = result;
});
}
</SCRIPT>
</Html>
[3]New C # "orcas" language features: Automatic properties, object initializers, and collection initializers(New Features of orcas C # language: Automatic attributes, object initiators, and set Initiators)
Visual Studio of March CTP and. net Framework "orcas" has just been released. The new features of C # language are worth noting, including automatic attributes, object initiators, and set initiators. Scott Guthrie first listed them one by one.
I feel the most interesting, and the most useful is automatic attributes. For example, if we previously defined such a class, it was very troublesome to write many similar duplicates.Code:
Public ClassPerson {
Private String_ Firstname;
Private String_ Lastname;
Private Int_ Age;
Public StringFirstname {
Get {
Return_ Firstname;
}
Set {
_ Firstname =Value;
}
}
Public StringLastname {
Get {
Return_ Lastname;
}
Set {
_ Lastname =Value;
}
}
Public IntAge {
Get {
Return_ Age;
}
Set {
_ Age =Value;
}
}
}
In C # of orcas, this is enough:
Public ClassPerson {
Public StringFirstname {Get; set ;}
Public StringLastname {Get; set ;}
Public IntAge {Get; set ;}
}
[4]Troubleshooting session related issues in ASP. NET(Session-related troubleshooting in ASP. NET)
Sessions in ASP. NET have always made us love and hate things. What we love is powerful, and what we hate is often inexplicable and difficult to reproduce.
This article analyzes the various possible causes of session-related problems in ASP. NET (the most common is the sudden loss of sessions) and the corresponding solutions. The sentence analyzed in this article is reasonable and comprehensive. It is strongly recommended for every ASP. NET developer to read it!
[5]Speed Optimization in ASP. NET 2.0 web applications(Optimize the execution speed of ASP. NET 2.0 web applications)
Performance optimization is an eternal topic in the Process of program development. For applications with complicated architecture such as ASP. NET 2.0, finding performance bottlenecks and knowing specific optimization measures is not very easy. This article outlines the common performance bottlenecks in ASP. NET 2.0 and provides corresponding general solutions. The article is not long enough, and the content is just a few minutes ago. It is very suitable for quick reading.
[6]Manage web users with custom profile providers(Users who use custom profile provider to manage websites)
This is an msdn article by Jason N. Gaylord about the custom profile provider. It is short in length and contains a lot of text. It may be a little tired to read. However, the content is very attractive. If you already have a certain foundation, sticking to this article will definitely benefit you a lot.
[7]Consuming membership and profile services via ASP. NET Ajax(Access membership and profile services in ASP. NET Ajax)
We are familiar with several application services of ASP. NET 2.0, such as membership, role, and profile. However, these application services are built on the server. If we need to access them on the Ajax application client, it will be a great challenge. However, ASP. NET Ajax has taken this into consideration in its design. It encapsulates these application services and provides them to clients in an easy-to-use way. This article describes how to access membership and profile services in ASP. NET Ajax. The article is gradual and easy to understand even without any foundation.
[8]Understanding the naming container hierarchy of ASP. NET databound controls(Understand the hierarchy of naming iner in the data binding control in ASP. NET)
A data binding control defines a control, which will be initialized to 100 instances at runtime. Why do these controls with the same Id do not conflict? This is the credit of naming container ......
This article deeply analyzes ASP. the design idea and implementation principle of naming iner in the data binding control in. net. the net field has a hundred leading points, so this article must not be missed.
[9]Mulling over WPF/E(In-depth research on WPF/E)
Another classic masterpiece of Rick Strahl! Text as its name, the WPF/E is really a mulling (grinding ). If I am not thinking about the content of the article (Voiceover: What do you recommend !?), But why does this old man have such a powerful "skill"? He seems to have made great achievements in various technical fields, and he also has enough time to write a big blog ...... I was surprised by how such a fierce MVP was made?
[10]How to setup ASP. NET V1.1 (Visual Studio. NET 2003) projects on iis7 (Vista)) (Create an ASP. NET 1.1 environment under iis7)
Although it seems a little unfriendly-old bottled new wine? What about malong? But sometimes we still need to do this. This article discusses some common problems and solutions encountered when creating an ASP. NET 1.1 environment under iis7.