آموزشگاه برنامه نویسی تحلیل داده
آموزشگاه برنامه نویسی تحلیل داده
آموزشگاه برنامه نویسی تحلیل داده
آموزشگاه برنامه نویسی تحلیل داده

.NET Framework 4.5 Expert Programming Cookbook

  • عنوان :

    .NET Framework 4.5 Expert Programming Cookbook

  • نویسنده : A.P. Rajshekhar

 

Chapter 1: Core .NET Recipes 5
Introduction 5
Implementing the validation logic using the Repository pattern 6
Creating a custom validation attribute by extending the validation
data annotation 10
Using XML to generate a localized validation message 16
Extending the validation attribute for localization 19
Creating custom attributes 22
Processing custom attributes via reflection 27
Using asynchronous file I/O for directory-to-directory copy 33
Accessing JSON using dynamic programming 38
Chapter 2: Application Events and Windows Forms 45
Introduction 45
Creating an event that can have generic values as payload 46
Creating a table layout that can dynamically add or remove rows based on
the size of the collection 52
Creating DataGridView dynamically 61
Creating a video player using DirectX and Windows Forms 71
Chapter 3: Threading and Parallel Programming 77
Introduction 77
Creating a shared resource 78
Handling Producer-Consumer race conditions 82
Handling background threads in Windows Forms 88
Handling threads in WPF 93
Using parallel programming to make bulk image processing faster 98
Chaining two parallelized bulk image processing operations 101

Chapter 1: Core .NET Recipes 5

Introduction 5

Implementing the validation logic using the Repository pattern 6

Creating a custom validation attribute by extending the validation

data annotation 10

Using XML to generate a localized validation message 16

Extending the validation attribute for localization 19

Creating custom attributes 22

Processing custom attributes via reflection 27

Using asynchronous file I/O for directory-to-directory copy 33

Accessing JSON using dynamic programming 38

Chapter 2: Application Events and Windows Forms 45

Introduction 45

Creating an event that can have generic values as payload 46

Creating a table layout that can dynamically add or remove rows based on

the size of the collection 52

Creating DataGridView dynamically 61

Creating a video player using DirectX and Windows Forms 71

Chapter 3: Threading and Parallel Programming 77

Introduction 77

Creating a shared resource 78

Handling Producer-Consumer race conditions 82

Handling background threads in Windows Forms 88

Handling threads in WPF 93

Using parallel programming to make bulk image processing faster 98

Chaining two parallelized bulk image processing operations 101

Chapter 4: ASP.NET Recipes – I 105

Introduction 105

Creating a user registration page using HTML5 controls 105

Saving a draft of a user registration page using HTML5 client storage 109

Binding objects to controls using strongly-typed data controls 114

Implementing communication between an ASPX page

and a Silverlight application 119

Chapter 5: ADO.NET Recipes 129

Introduction 129

Saving large files (BLOB) in MS SQL Server using ADO.NET 129

Retrieving large files (BLOB) from SQL Server using ADO.NET 134

Using transactions to maintain database consistency when saving

multiple files 138

Using DataSet to modify custom XML configuration files 145

Chapter 6: WCF Recipes 151

Introduction 151

Implementing custom binding in WCF 151

Creating a WCF REST service 157

Handling exceptions using FaultContract and FaultException 162

Uploading files using Stream 166

Securing a service using role-based security 173

Chapter 7: WPF Recipes 179

Introduction 179

Implementing the Model and Repository patterns 180

Implementing View Model 187

Implementing View commands and binding data to View 190

Using the live data shaper for live sorting 196

Playing videos using MediaElement 199

Using Ribbon control to display the video player controls 203

Chapter 8: ASP.NET Recipes – II 209

Introduction 209

Preventing cross-site injection using the anti-XSS library 210

Adding Google Map functionality using Map Helper 213

Third-party authentication of users using Google 216

Implementing unobtrusive validation 218 

Chapter 9: Silverlight Recipes 223

Introduction 223

Using Pivot control to present asset data 223

Accessing webcams 227

Using client-side storage for saving a draft of the user registration data 231

Chapter 10: Entity Framework Recipes 235

Introduction 235

Joining two entities using LINQ 236

Uploading files using Entity Framework and stored procedures 240

Managing connections manually for long-running tasks 244

Using functions that return tables as return values 247

Index 255

 

  • 23629
  •    465
  • تاریخ ارسال:   1394/07/27

دانلود رایگان کتاب ( PDF )  دانشجویان گرامی اگر این مطلب برای شما مفید بود لطفا ما را در GooglePlus محبوب کنید
رمز عبور: tahlildadeh.com یا www.tahlildadeh.com

لطفا به این مطلب امتیاز دهید
ثبت امتیاز 0
0       0
ارسال دیدگاه نظرات کاربران
شماره موبایل دیدگاه
عنوان پست الکترونیک

ارسال

تمامی حقوق این سایت متعلق به آموزشگاه تحلیل داده می باشد .