... xxv PART 1 ASP. NET FUNDAMENTALS 1 1 Getting acquainted with ASP. NET 4. 0 3 1. 1 Meet ASP. NET 4 1. 2 Typical architecture in ASP. NET applications 7 1. 3 Your first ASP. NET Web Form 13 1 .4 What’s new in ASP. NET ... TOPICS 317 12 ■ Ajax and RIAs with ASP. NET 4. 0 319 13 ■ State 348 14 ■ Caching in ASP. NET 366 15 ■ Extreme ASP. NE...
Ngày tải lên: 12/08/2014, 15:23
... following n rows. C#: result = result.Skip( 10 ) .Take( 10 ) ; VB: result = result.Skip( 10 ) .Take( 10 ) This query skips the first 10 rows and returns the next 10 rows. If the grid you show data in shows ... triggering 10 0 queries. If you need related customer information too, retrieving the orders causes 10 0 more queries to execute. You end up with 2 01 queries to fetch data t...
Ngày tải lên: 12/08/2014, 15:23
ASP.NET 4.0 in Practice phần 4 pps
... value must be between 0 and 10 0 , you’ll write the following code: C#: public class ProductMetadata { [Required] [Range (0, 10 0 , ErrorMessage="Valid only between 0 and 10 0 ")] public ... way. InnerProperty The property is defined as a nested tag. TECHNIQUE 39 13 2 CHAPTER 5 Data binding in ASP. NET Web Forms VB: Public Class ProductMetadata <Required> <...
Ngày tải lên: 12/08/2014, 15:23
ASP.NET 4.0 in Practice phần 6 docx
... web.config: <httpRuntime requestValidationType=" ;ASP4 InPractice.MyValidator, ASP4 InPractice" /> Figure 10 . 5 ASP. NET has a default validation mechanism that can intercept potentially dangerous values ... input B Fetching original Post C Updating original Post instance D Saving changes to database E TECHNIQUE 55 2 74 CHAPTER 10 ASP. NET security public s...
Ngày tải lên: 12/08/2014, 15:23
ASP.NET 4.0 in Practice phần 8 potx
... you need to increase performance by preventing the page from being instantiated. Figure 14 . 1 shows how each of these techniques work. . NET Framework 4. 0 introduces these new caching features: ■ Data ... 3 34 CHAPTER 12 Ajax and RIAs with ASP. NET 4. 0 HANDLING THE PAGE LOADED EVENT In ASP. NET Ajax, you use the Application object to execute some code when the page...
Ngày tải lên: 12/08/2014, 15:23
ASP.NET 4.0 in Practice phần 9 pdf
... 41 0 CHAPTER 15 Extreme ASP. NET 4. 0 The core of this system is shown in the following listing, which contains a snippet from the VirtualFile implementation details. C#: namespace ASPNET4InPractice ... Windows Server SDK on Technet.com. Information for IIS 6 is at http://www.mng.bz/b49a; IIS 7 is at http://www.mng.bz/9C1A. TECHNIQUE 94 41 4 CHAPTER 15 Extreme ASP. NET...
Ngày tải lên: 12/08/2014, 15:23
ASP.NET 4.0 in Practice phần 10 potx
... 13 1, 212 – 213 data binding 1 04 1 34, 15 2 15 6 displaying data 10 5 1 10 using ListView control 10 9 1 10 using Repeater control 10 6 – 10 9 Dynamic Data controls 12 3 1 34 application using 12 3 12 7 extending ... in 19 1 1 94 overview 18 8 1 90 routing in 200 – 207 concepts of 200 –2 04 using areas with 2 04 207 user input in 207 – 218 handling a...
Ngày tải lên: 12/08/2014, 15:23
asp.net 4.0 in practice
... database 40 7 15 .4 Summary 41 5 16 Performance and optimizations 41 6 16 .1 Increasing download performance by minifying 41 7 TECHNIQUE 94 Building a request filter to minify HTML 41 7 TECHNIQUE 95Building ... modules 44 3 TECHNIQUE 10 1 Configuring application warm-up in IIS 7.5 44 5 appendix B Data access fundamentals 44 8 TECHNIQUE 10 2 UsiQuerying the database using...
Ngày tải lên: 31/05/2014, 00:21
ASP.NET 2.0 Instant Results phần 1 ppsx
... 40 7 CommentManagerDB 40 8 ListManagerDB 40 9 MemberManagerDB 41 0 Code and Code Explanation 41 0 Root Files 41 0 Web.config 41 0 MasterPage.master 41 2 Global.asax 41 3 Web.sitemap 41 3 Filing a Bug 41 3 Searching and ... Figure 1- 5). Figure 1- 5 3 The Online Diary and Organizer 04 _ 749 516 ch 01. qxp 2/ 10 / 06 9 :11 PM Page 3 ASP. NET 2 .0 Instant Results Publis...
Ngày tải lên: 12/08/2014, 08:22