... server-side code without stepping on the designers’ carefully crafted
HTML—and vice versa.
Build YourOwn ASP. NET3.5 Web Site Using C# & VB (www.sitepoint.com)
Build YourOwn ASP. NET3.5 Web ... . . 701
Build YourOwn ASP. NET3.5 Web Site Using C# & VB (www.sitepoint.com)
5 Introducing ASP. NET and the .NET Platform
■
ASP. NET makes it easy to reuse common User Interface elements ... http://www.sitepoint.com/ to access our books, newsletters, articles, and
community forums.
1
http://www.sitepoint.com/blogs/category /net/
10 BuildYourOwn ASP. NET3.5 Web Site Using C# & VB
Figure 1 .5. ...
... 6 13
BulletedList 6 13
viii
Build YourOwn ASP. NET 2.0 Web Site Using C# & VB
Summary of Contents
Preface xi
1. Introducing ASP. NET and the .NET Platform 1
2. ASP. NET Basics 33
3. VB and C# ... Platform
Executing the Command 33 7
Setting up Database Authentication 33 9
Reading the Data 34 2
Using Parameters with Queries 34 4
Bulletproofing Data Access Code 35 1
Using the Repeater Control 35 4
Creating ... Authentication 52 7
Basic Security Guidelines 52 8
Securing ASP. NET 2.0 Applications 53 0
Working with Forms Authentication 53 2
ASP. NET 2.0 Memberships and Roles 54 4
Creating the Membership Data Structures...
... Experience 28
Rendering a Second-Visit Experience 30
Improving ASP. NET AJAX Performance 31
Adding Authentication and Authorization 36
Preventing Denial-of-Service Attacks 38
Summary 40
3. Building ... several compo-
nents of the web project using ASP. NET 2.0 /3. 5 and ASP. NET AJAX 1.0, the busi-
ness layer in Workflow Foundation, and the data access layer using LINQ to SQL.
Once the basic foundation ... at:
http://www.oreilly.com/catalog/978 059 651 0503
To comment or ask technical questions about this book, send email to:
bookquestions@oreilly.com
For more information about our books, conferences, Resource Centers,...
...
1.1 ASP. NET tích hợp với NET Framework
.NET Framework đư c chia thành bộ cc t c vụ cho từng ch c năng gồm cc lớp (class), cc cấu tr c
(structures), cc giao diện (interfaces) và cc lõi (core) ... dụng ASP. NET 2.0 để sử dụng ASP. NET
3.5 chỉ c n c i đặt thêm cc tính năng mới c a ASP. NET3.5.
Code in VB .NET
VB .NET Compiler
Code in Another
.NET Language
Appropriate Compiler
Code in C# ... Runtime 3
1.6 ASP. NET dễ dàng triển khai và c u hình 3
2. Cc tính năng mới trong ASP. NET3.53
2.1 ASP. NET AJAX 4
2.2 Cc Control mới 4
2 .3 LINQ 4
2.4 Cc Assembly mới 4
2 .5 ASP. NET Dynamic...
... 35 8
Enforcing a Single Logon 35 9
Enforcing a Logout 36 8
Summary 37 2
Integrating ASP. NET Security with Classic ASP 37 Chapter 7: 3
IIS 5 ISAPI Extension Behavior 37 4
IIS 7.0 Wildcard Mappings 37 5
Configuring ... you can “stretch” ASP. NET 2.0
and ASP. NET3.5 to match your application’s security requirements.
What This Book Covers
The subject of ASP. NET security can refer to a lot of different concepts: ... served
and processed.
7 930 1c0 1.indd 11 10/6/08 12:07:14 PM
xvi
Contents
Passing Tickets Across Applications 33 2
Cookie Domain 33 2
Cross-Application Sharing of Ticket 33 3
Enforcing Single Logons...
...
bư c tiến hóa từ ASP. NET 2.0 tới ASP. NET3.5. Nếu chúng ta đang sử dụng ASP. NET 2.0 để sử dụng ASP. NET
3.5 chỉ c n c i đặt thêm cc tính năng mới c a ASP. NET3.5.
Code in VB .NET
VB .NET Compiler ...
1.1 ASP. NET tích hợp với NET Framework
.NET Framework đư c chia thành bộ cc t c vụ cho từng ch c năng gồm cc lớp (class), cc cấu tr c
(structures), cc giao diện (interfaces) và cc lõi (core) ... http://msdn.microsoft.com/en-us/library/cc48 854 5.aspx
2. Microsoft ASP. NET, URL: http://www .asp. net/ DynamicData/
3. ScottGu's Blog, URL: http://weblogs .asp. net/ scottgu/archive/2008/12/02/dec-2nd-links -asp- net -asp-
net- dynamic-data -asp- net- ajax -asp- net- mvc-visual-studio-silverlight-wpf.aspx...
... 33 2
Cross-Application Sharing of Ticket 33 3
Enforcing Single Logons and Logouts 35 8
Enforcing a Single Logon 35 9
Enforcing a Logout 36 8
Summary 37 2
Integrating ASP. NET Security with Classic ASP 37 Chapter ... to ASP 39 4
Authenticating Classic ASP with IIS 7.0 Integrated Mode 39 4
Authorizing Classic ASP with ASP. NET 39 6
Passing User Roles to Classic ASP 39 7
Safely Passing Sensitive Data to Classic ASP ... describes ASP. NET 2.0 and ASP. NET3.5 options for securing
viewstate and postback events. Chapter 9 also covers how the dynamic compilation model in
ASP. NET3. 5, originally introduced with ASP. NET...
... quick look at the different ingredients that
make up the .NET Framework.
CHAPTER 1 ■ THE .NET FRAMEWORK10
8911CH01.qxd 10/ 23/ 07 12:16 PM Page 10
THE MANY FACES OF ASP. NET
With ASP. NET3. 5, Microsoft ... to consider some
of ASP
.NET
s more exotic controls, such as the Calendar and Wizard. In Chapter 12, you’ll learn
how to buildyourown reusable blocks of web page user interface and draw custom ... interested in using
.NET to craft web applications. You’ll use a specific subset of the .NET Framework called
ASP. NET, and you’ll work with one of .NET s core languages: C# .
In this chapter, you’ll...
... server control.
Cameron_8 65- 2C0 2.fm Page 51 Wednesday, February 20, 2008 4 :31 PM
CHAPTER 1 ■ SERVER CONTROL BASICS
5
■Tip ASP. NET User Controls are still present in ASP. NET3.5. In fact the MasterPage ...
in ASP. NET3. 0 and enhanced in ASP. NET3.5.
ASP. NET AJAX
ASP. NET AJAX 1.0 released after .NET Framework 2.0 as an officially supported product that
installs on top of .NET Framework 2.0. ASP. NET ... server control.
The .NET Framework 3.5 provides additional enhancements to ASP. NET, building on the
currently available ASP. NET AJAX functionality, which we cover in Chapter 9. In this chapter,...
... Page.ClientScript.RegisterClientScriptBlock 82
Using Page.ClientScript.RegisterStartupScript 83
Using Page.ClientScript.RegisterClientScriptInclude 85
Client-Side Callback 86
Comparing a Typical Postback to a Callback 86
Using ... 157 1
The Application Tab 158 0
The Provider Tab 15 83
Configuring ASP. NET in IIS on Vista 158 5
.NET Compilation 158 7
.NET Globalization 158 8
.NET Profile 158 8
.NET Roles 158 9
.NET Trust Levels 159 0
.NET ... 289
AccessDataSource Control 294
XmlDataSource Control 294
ObjectDataSource Control 2 95
SiteMapDataSource Control 30 0
Configuring Data Source Control Caching 30 0
Storing Connection Information 30 1
Using Bound...