... with ASP. NET 4. 0 319 13 ■ State 348 14 ■ Caching in ASP. NET 366 15 ■ Extreme ASP. NET 4. 0 396 16 ■ Performance and optimizations 41 6 14 CHAPTER 1 Getting acquainted with ASP. NET 4. 0 If you’re ... 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 TECHNIQU...
Ngày tải lên: 12/08/2014, 15:23
... 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 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 4....
Ngày tải lên: 12/08/2014, 15:23
ASP.NET 4.0 in Practice phần 10 potx
... read 43 48 to write 48 –51 validation 32 data 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 writing ... 298 querying 44 9 45 2 discussion 45 2 problem 44 9 solution 44 9 45 2 using stored procedures 45 2 45 3 running sites from 40 7 41 5 DataBinding event 106 DataCa...
Ngày tải lên: 12/08/2014, 15:23
Beginning asp net 2.0 with c phần 4 ppsx
... 7-38 246 Chapter 7 10_ 04 2 583 ch07.qxd 4/ 4 /06 2 :45 PM Page 246 Using ASP. NET 2 .0 s Data Controls Chapter 3 presented the idea that ASP. NET offers server-side controls. These controls contain code ... 7-36 244 Chapter 7 10_ 04 2 583 ch07.qxd 4/ 4 /06 2 :45 PM Page 244 MatchImages folder from the download (C:\BegASPNET2\WroxUnited). If not, import it by right-clicking th...
Ngày tải lên: 09/08/2014, 18:22
ASP.NET 2.0 Instant Results phần 4 doc
... instead: <providers> <add name=”SqlProvider” type=”System.Web.Security.SqlRoleProvider” connectionStringName=”Cms” /> </providers> 141 Wrox CMS 08 _ 749 516 ch05.qxp 2/ 10/ 06 9: 14 PM Page 141 aspnet_Users INNER JOIN (aspnet_Roles INNER JOIN aspnet_UsersInRoles ON aspnet_Roles.Id=aspnet_UsersInRoles.RoleId) ... anymore. 157 Wrox CMS 08 _ 749 516 ch05.qxp 2/ 10/ 06 9:...
Ngày tải lên: 12/08/2014, 08:22