A true professional’s guide to C# 6
Professional C# 6 and .NET Core 1.0 provides complete coverage of the latest updates, features, and capabilities, giving you everything you need for C#. Get expert instruction on the latest changes to Visual Studio 2015, Windows Runtime, ADO.NET, ASP.NET, Windows Store Apps, Windows Workflow Foundation, and more, with clear explanations, no-nonsense pacing, and valuable expert insight. This incredibly useful guide serves as both tutorial and desk reference, providing a professional-level review of C# architecture and its application in a number of areas. You’ll gain a solid background in managed code and .NET constructs within the context of the 2015 release, so you can get acclimated quickly and get back to work.
The new updates can actively streamline your workflow, with major changes including reimagined C# refactoring support, a new .NET Web app stack, and the .NET compiler platform that makes C# and Visual Basic compilers available as APIs. This book walks you through the changes with a comprehensive C# review.
* Explore the new Visual Studio templates for ASP.NET Core 1.0, Web Forms, and MVC
* Learn about the networking switch to Http Client and ASP.NET Web API’s replacement of WCF Data Services
* Work with the latest updates to the event log, Windows Runtime 2.0, and Windows 8.1 deployment and localization
* Dig deep into the new .NET 5.0 GC behaviors and the Migrations addition to ADO.NET
Microsoft has stepped up both the cadence and magnitude of their software releases. Professional C# 6 and .NET Core 1.0 shows you everything you need to know about working with C# in a real-world context.
Зміст
INTRODUCTION li
PART I: THE C# LANGUAGE
CHAPTER 1: .NET APPLICATION ARCHITECTURES 3
CHAPTER 2: CORE C# 31
CHAPTER 3: OBJECTS AND TYPES 73
CHAPTER 4: INHERITANCE 103
CHAPTER 5: MANAGED AND UNMANAGED RESOURCES 123
CHAPTER 6: GENERICS 159
CHAPTER 7: ARRAYS AND TUPLES 183
CHAPTER 8: OPERATORS AND CASTS 205
CHAPTER 9: DELEGATES, LAMBDAS, AND EVENTS 243
CHAPTER 10: STRINGS AND REGULAR EXPRESSIONS 267
CHAPTER 11: COLLECTIONS 287
CHAPTER 12: SPECIAL COLLECTIONS 319
CHAPTER 13: LANGUAGE INTEGRATED QUERY 339
CHAPTER 14: ERRORS AND EXCEPTIONS 371
CHAPTER 15: ASYNCHRONOUS PROGRAMMING 395
CHAPTER 16: REFLECTION, METADATA, AND DYNAMIC PROGRAMMING 417
PART II: .NET CORE AND WINDOWS RUNTIME
CHAPTER 17: VISUAL STUDIO 2015 455
CHAPTER 18: .NET COMPILER PLATFORM 511
CHAPTER 19: TESTING 541
CHAPTER 20: DIAGNOSTICS AND APPLICATION INSIGHTS 569
CHAPTER 21: TASKS AND PARALLEL PROGRAMMING 591
CHAPTER 22: TASK SYNCHRONIZATION 613
CHAPTER 23: FILES AND STREAMS 641
CHAPTER 24: SECURITY 681
CHAPTER 25: NETWORKING 703
CHAPTER 26: COMPOSITION 749
CHAPTER 27: XML AND JSON 781
CHAPTER 28: LOCALIZATION 819
PART III: WINDOWS APPS
CHAPTER 29: CORE XAML 849
CHAPTER 30: STYLING XAML APPS 871
CHAPTER 31: PATTERNS WITH XAML APPS 923
CHAPTER 32: WINDOWS APPS: USER INTERFACES 951
CHAPTER 33: ADVANCED WINDOWS APPS 991
CHAPTER 34: WINDOWS DESKTOP APPLICATIONS WITH WPF 1035
CHAPTER 35: CREATING DOCUMENTS WITH WPF 1101
CHAPTER 36: DEPLOYING WINDOWS APPS 1125
PART IV: WEB APPLICATIONS AND SERVICES
CHAPTER 37: ADO.NET 1143
CHAPTER 38: ENTITY FRAMEWORK CORE 1159
CHAPTER 39: WINDOWS SERVICES 1189
CHAPTER 40: ASP.NET CORE 1219
CHAPTER 41: ASP.NET MVC 1255
CHAPTER 42: ASP.NET WEB API 1311
CHAPTER 43: WEBHOOKS AND SIGNALR 1337
CHAPTER 44: WINDOWS COMMUNICATION FOUNDATION 1357
CHAPTER 45: DEPLOYING WEBSITES AND SERVICES 1401
INDEX 1417
Про автора
About the author
Christian Nagel is a Microsoft MVP for Visual Studio and Development Technologies, software architect, and veteran developer who has been building solutions with .NET technologies since 2000. A prolific author of .NET books, he also speaks at international conferences including Tech Ed and Tech Days, and supports .NET user groups. Christian is a Microsoft Certified Trainer and Professional Developer for Universal Windows apps and ASP.NET.
Visit us at wrox.com where you have access to free code samples, Programmer to Programmer forums, and discussions on the latest happenings in the industry from around the world.