ebook img

Professional C# 7 and .NET Core 2.0 PDF

1439 Pages·2016·39.83 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Professional C# 7 and .NET Core 2.0

PROFESSIONAL C# 7 AND .NET CORE 2.0 INTRODUCTION .................................................... liii ▸ PART I THE C# LANGUAGE ChAPTER 1 .NET Applications and Tools ................................ 3 ChAPTER 2 Core C# ................................................ 37 ChAPTER 3 Objects and Types ....................................... 75 ChAPTER 4 Object-Oriented Programming with C# ..................... 109 ChAPTER 5 Generics .............................................. 129 ChAPTER 6 Operators and Casts .................................... 151 ChAPTER 7 Arrays ................................................ 193 ChAPTER 8 Delegates, Lambdas, and Events ........................... 215 ChAPTER 9 Strings and Regular Expressions ........................... 235 ChAPTER 10 Collections ............................................ 255 ChAPTER 11 Special Collections ...................................... 287 ChAPTER 12 Language Integrated Query ..............................305 ChAPTER 13 Functional Programming with C# ..........................343 ChAPTER 14 Errors and Exceptions ................................... 367 ChAPTER 15 Asynchronous Programming .............................. 391 ChAPTER 16 Reflection, Metadata, and Dynamic Programming ............. 411 ChAPTER 17 Managed and Unmanaged Memory ........................ 439 ChAPTER 18 Visual Studio 2017 ...................................... 479 ▸ PART II .NET CORE AND THE WINDOWS RUNTIME ChAPTER 19 Libraries, Assemblies, Packages, and NuGet ................. 539 ChAPTER 20 Dependency Injection ................................... 559 ChAPTER 21 Tasks and Parallel Programming ........................... 583 ChAPTER 22 Files and Streams ....................................... 631 Continues ChAPTER 23 Networking ............................................ 669 ChAPTER 24 Security ............................................... 713 ChAPTER 25 ADO.NET and Transactions ............................... 741 ChAPTER 26 Entity Framework Core .................................. 769 ChAPTER 27 Localization ............................................ 831 ChAPTER 28 Testing ...............................................863 ChAPTER 29 Tracing, Logging, and Analytics ............................ 895 ▸ PART III WEB APPLICATIONS AND SERVICES ChAPTER 30 ASP.NET Core .......................................... 923 ChAPTER 31 ASP.NET Core MVC ..................................... 963 ChAPTER 32 Web API ............................................. 1039 ▸ PART IV APPS ChAPTER 33 Windows Apps ........................................ 1083 ChAPTER 34 Patterns with XAML Apps ............................... 1157 ChAPTER 35 Styling Windows Apps .................................. 1195 ChAPTER 36 Advanced Windows Apps ............................... 1239 ChAPTER 37 Xamarin.Forms ........................................ 1291 INDEX .......................................................... 1327 ▸ ONLINE CHAPTERS BONUS ChAPTER 1 Composition ................................... OC1 BONUS ChAPTER 2 XML and JSON ................................. OC33 BONUS ChAPTER 3 WebHooks and SignalR .......................... OC71 BONUS ChAPTER 4 Bots and Cognitive Services ....................... OC99 BONUS ChAPTER 5 More Windows Apps Features .................... OC123 PROFESSIONAL C# 7 and .NET Core 2.0 PROFESSIONAL C# 7 and .NET Core 2.0 Christian Nagel Professional C# 7 and .NET Core 2.0 Published by John Wiley & Sons, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2018 by John Wiley & Sons, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-1-119-44927-0 ISBN: 978-1-119-44924-9 (ebk) ISBN: 978-1-119-44926-3 (ebk) Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748- 6008, or online at http://www.wiley.com/go/permissions. Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or pro- motional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the pub- lisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Web site may provide or recommendations it may make. Further, readers should be aware that Internet Web sites listed in this work may have changed or disappeared between when this work was written and when it is read. For general information on our other products and services please contact our Customer Care Department within the United States at (877) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002. Wiley publishes in a variety of print and electronic formats and by print-on-demand. Some material included with stan- dard print versions of this book may not be included in e-books or in print-on-demand. If this book refers to media such as a CD or DVD that is not included in the version you purchased, you may download this material at http:// booksupport.wiley.com. For more information about Wiley products, visit www.wiley.com. Library of Congress Control Number: 2018931434 Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Programmer to Programmer, and related trade dress are trade- marks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc., is not associated with any product or vendor mentioned in this book. This book is dedicated to my family—Angela, Stephanie, Matthias, and Katharina—I love you all! ABOUT ThE AUTh OR ChRISTIAN NAGEL is Microsoft MVP for Visual Studio and Development Technologies and has been Microsoft Regional Director for more than 15 years. Christian founder of CN innovation, where he offers coaching, training, code reviews, and assistance with architecting and developing solutions using Microsoft technologies. He draws on more than 25 years of software development experience. Christian started his computing career with PDP 11 and VAX/VMS systems at Digital Equipment Corporation, covering a variety of languages and platforms. Since 2000, when .NET was just a technology preview, he has been working with various technolo- gies to build .NET solutions. Currently, he mainly coaches people on development and architecting Windows apps, ASP.NET Core web applications, and Xamarin and helps them use several Microsoft Azure service offerings. Even after many years in software development, Christian still loves learning and using new technologies and teaching others how to use the new technologies in various forms. Using his profound knowledge of Microsoft technologies, he has written numerous books and is certified as Microsoft Certified Trainer and Certified Solution Developer. Christian speaks at international conferences such as Microsoft Ignite (previ- ously named TechEd), BASTA! and TechDays. He founded INETA Europe to support .NET user groups. You can contact Christian via his website www.cninnovation.com, read his blog at https://csharp .christiannagel.com, and follow his tweets at @christiannagel.

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.