... con- tain any serializable object and its content is secure because only the SessionID is sent to the client. Session compression in ASP. NET 4. 0 ASP. NET 4. 0 has a new feature that minimizes ... 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...
Ngày tải lên: 12/08/2014, 15:23
... 2 60 databases 2 98 300 , 44 8 46 1 persisting data into 45 3 45 6 discussion 45 5 45 6 problem 45 3 solution 45 3 45 5 problem 2 98 querying 44 9 45 2 discussion 45 2 problem 44 9 solution 44 9 45 2 using ... access databases 44 8 46 1 persisting data into 45 3 45 6 querying 44 9 45 2 XML 45 6 46 1 generating from data source 45 8 45 9 reading 45 9 46 1 writi...
Ngày tải lên: 12/08/2014, 15:23
ASP.NET 4.0 in Practice phần 1 ppsx
... 1 94 TECHNIQUE 48 The view 197 8. 3 Routing in ASP. NET MVC 200 TECHNIQUE 49 Partitioning using Areas 2 04 8 .4 Accepting user input 207 TECHNIQUE 50 Handling user input at the controller level 207 ... with ASP. NET 4. 0 319 13 ■ State 3 48 14 ■ Caching in ASP. NET 366 15 ■ Extreme ASP. NET 4. 0 396 16 ■ Performance and optimizations 41 6 14 CHAPT...
Ngày tải lên: 12/08/2014, 15:23
ASP.NET 4.0 in Practice phần 2 ppsx
... method here, but you can find it in the source code at www.manning.com/ ASP. NET4 .0inPractice. The drawback of updating data this way is that it requires several lines of code. Our next solution ... 17 60 CHAPTER 3 Integrating Entity Framework and ASP. NET In this section, we want to emphasize the disconnected way of working because ASP. NET imposes, by nature, a disconne...
Ngày tải lên: 12/08/2014, 15:23
ASP.NET 4.0 in Practice phần 4 pps
... extend in ASP. NET 4. 0 to cus- tom providers. You can enhance the platform by writing specific code and achieve inter- esting and useful results. We’ll continue our examination of ASP. NET Web ... value must be between 0 and 100 , you’ll write the following code: C#: public class ProductMetadata { [Required] [Range (0, 100 , ErrorMessage="Valid only between 0 and 100...
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 ... LoginInput(html, loginAction, controller) End If Listing 9 .4 Main code of Login HTML helper Html.ActionLink HomeController Index action <a href=”/Home/Index...
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 ... 382 CHAPTER 14 Caching in ASP. NET As previously outlined, .NET Framework 4. 0 has a new set of APIs that are built from scratch and can be used independently from AS...
Ngày tải lên: 12/08/2014, 15:23
asp.net 4.0 in practice
... views 3 78 14. 4 Data caching techniques 381 TECHNIQUE 87 Implementing data caching in ASP. NET 381 14. 5 Building custom cache providers 386 TECHNIQUE 88 Custom cache provider 388 TECHNIQUE 89 Custom ... device requests 40 0 15.2 Logging and handling errors 40 2 TECHNIQUE 92 Intercepting, and handling errors with a custom module 40 3 15.3 Extending ASP. NET HttpRuntim...
Ngày tải lên: 31/05/2014, 00:21
ASP.NET 2.0 Instant Results phần 8 potx
... on the control. 600 px 100 0px 180 px 40 0px 150px 700 px 379 Greeting Cards 14_ 749 516 ch11.qxp 2/ 10/ 06 9: 20 PM Page 379 Inside the Controls folder in the root of the web site you find the four user ... passed: myGraphics.DrawImage(SourceBitmap, New Rectangle (0, 0, 600 , 40 0) , 1 80 , 1 50, _ 600 , 40 0, GraphicsUnit.Pixel) What this does is copy a part of the bitmap hel...
Ngày tải lên: 12/08/2014, 08:22