... LoginInput(html, loginAction, controller) End If Listing 9 .4 Main code of Login HTML helper Html.ActionLink HomeController Index action <a href=”/Home/Index” /> Figure 9 .6 ActionLink ... web.config: <httpRuntime requestValidationType=" ;ASP4 InPractice.MyValidator, ASP4 InPractice" /> Figure 10. 5 ASP. NET has a default validation mechanism that can intercep...
Ngày tải lên: 12/08/2014, 15:23
... with ASP. NET 4. 0 319 13 ■ State 348 14 ■ Caching in ASP. NET 366 15 ■ Extreme ASP. NET 4. 0 3 96 16 ■ Performance and optimizations 41 6 14 CHAPTER 1 Getting acquainted with ASP. NET 4. 0 If you’re ... introduction to ASP. NET ■ Understanding ASP. NET Web Forms ■ What’s new in ASP. NET 4. 0 CONTENTS xi PART 4 SECURITY 257 10 ASP. NE...
Ngày tải lên: 12/08/2014, 15:23
ASP.NET 4.0 in Practice phần 2 ppsx
... 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 disconnected model. In fact, ... 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 co...
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 8 potx
... 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
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
... 2 60 databases 298– 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 298 querying 44 9 45 2 discussion 45 2 problem 44 9 solution 44 9 45 2 using ... 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 writing 45 6 45 8 Data Access Layer 9, 31,...
Ngày tải lên: 12/08/2014, 15:23
asp.net 4.0 in practice
... database 45 2 TECHNIQUE 1 04 Persisting data into the database 45 3 TECHNIQUE 105 Writing XML 45 6 TECHNIQUE 1 06 Generating XML from a data source 45 8 TECHNIQUE 107 Reading XML 45 9 index 46 3 ABOUT ... 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 fil...
Ngày tải lên: 31/05/2014, 00:21
Beginning asp net 2.0 with c phần 6 pdf
... the methods in a simple class. 3 64 Chapter 10 13_ 04 2 583 ch 10. qxd 4/ 4 / 06 2 :48 PM Page 3 64 Compilation in ASP. NET 2 .0 Compilation is another one of those subjects that this book doesn’t go into in depth, ... and .aspx pages are compiled when needed. Disk Request ASP. NET page Compiler Intermediate Code Response .NET CLR Runtime 3 56 Chapter 10 13_ 04 2 583 ch...
Ngày tải lên: 09/08/2014, 18:22