.NET framework 4.5 expert programming cookbook.
.Net Framework 4.5 Expert Programming Cookbook is a concise and practical cookbook with advanced recipes which demonstrate the new functionality of .NET Framework 4.5. If you are a .NET developer and would like to learn the new features in .NET 4.5, then this book is just for you. "".Net F...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Pub.,
2013.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Core .NET Recipes; Introduction; Implementing the validation logic using the Repository pattern; Creating a custom validation attribute by extending the validation data annotation; Using XML to generate a localized validation message; Extending the validation attribute for localization; Creating custom attributes; Processing custom attributes via reflection; Using asynchronous file I/O for directory-to-directory copy; Accessing JSON using dynamic programming.
- Chapter 2: Application Events and Windows FormsIntroduction; Creating an event that can have generic values as payload; Creating a table layout that can dynamically; add or remove rows based on the size of the collection; Creating DataGridView dynamically; Creating a video player using DirectX and Windows Forms; Chapter 3: Threading and Parallel Programming; Introduction; Creating a shared resource; Handling Producer-Consumer race conditions; Handling background threads in Windows Forms; Handling threads in WPF; Using parallel programming to make bulk image processing faster.
- Chaining two parallelized bulk image processing operationsChapter 4: ASP.NET Recipes
- I; Introduction; Creating a user registration page using HTML5 controls; Saving a draft of a user registration page using HTML5 client storage; Binding objects to controls using strongly-typed data controls; Implementing communication between an ASPX page and a Silverlight application; Chapter 5: ADO.NET Recipes; Introduction; Saving large files (BLOB) in MS SQL Server using ADO.NET; Retrieving large files (BLOB) from SQL Server using ADO.NET.
- Using transactions to maintain database consistency when saving multiple filesUsing DataSet to modify custom XML configuration files; Chapter 6: WCF Recipes; Introduction; Implementing custom binding in WCF; Creating a WCF REST service; Handling exceptions using FaultContract and FaultException; Uploading files using Stream; Securing a service using role-based security; Chapter 7: WPF Recipes; Introduction; Implementing the Model and Repository pattern; Implementing View Model; Implementing View commands and binding data to View; Using the live data shaper for live sorting.
- Playing videos using MediaElementUsing Ribbon control to display the video player controls; Chapter 8: ASP.NET Recipes
- II; Introduction; Preventing cross-site injection using the anti-XSS library; Adding Google Map functionality using Map Helper; Third-party authentication of users using Google; Implementing unobtrusive validation; Chapter 9: Silverlight Recipes; Introduction; Using Pivot control to present asset data; Accessing webcams; Using client-side storage for saving a draft of the user registration data; Chapter 10 : Entity Framework Recipes; Introduction.