Browse Results

Showing 10,051 through 10,075 of 63,065 results

C# 6.0 in a Nutshell: The Definitive Reference

by Ben Albahari Joseph Albahari

When you have questions about C# 6.0 or the .NET CLR and its core Framework assemblies, this bestselling guide has the answers you need. C# has become a language of unusual flexibility and breadth since its premiere in 2000, but this continual growth means there’s still much more to learn.<P><P> Organized around concepts and use cases, this thoroughly updated sixth edition provides intermediate and advanced programmers with a concise map of C# and .NET knowledge. Dive in and discover why this Nutshell guide is considered the definitive reference on C#.<P> * Get up to speed with all aspects of the C# language, from the basics of syntax and variables, to advanced topics such as pointers and operator overloading<P> * Dig deep into LINQ via three chapters dedicated to the topic<P> * Learn about dynamic, asynchronous, and parallel programming<P> * Work with .NET features, including XML, networking, serialization, reflection, security, application domains, and code contracts<P> * Explore the new C# 6.0 compiler-as-a-service, Roslyn

C# 7 Quick Syntax Reference: A Pocket Guide To The Language, Apis, And Library

by Mikael Olsson

This quick C# 7 guide is a condensed code and syntax reference to the C# programming language, updated with the latest features of C# 7.3 for .NET and Windows 10. It presents the essential C# 7 syntax in a well-organized format that can be used as a handy reference.In the C# 7 Quick Syntax Reference, you will find a concise reference to the C# language syntax: short, simple, and focused code examples; a well laid out table of contents; and a comprehensive index allowing easy review. You won’t find any technical jargon, bloated samples, drawn-out history lessons, or witty stories. What you will find is a language reference that is concise, to the point, and highly accessible. The book is packed with useful information and is a must-have for any C# programmer.What You Will LearnDiscover what's new in C# 7.3 and .NET for Windows 10 programming, including out values, ref locals and returns, local functions, throw exceptions, and numeric literalsCreate lightweight, unnamed types that contain multiple public fieldsCreate branching logic based on arbitrary types and values of the members of those typesNest functions inside other functions to limit their scope and visibilityThrow expressions in code constructs that previously were not allowedDeclare methods with the async modifier to return other types in addition to TaskUse the new numeric literals found in C# 7.3 to improve readability for numeric constantsWho This Book Is ForThose with some experience in programming, looking for a quick, handy reference. Some C# or .NET recommended but not necessary.

C# 7 and .NET Core 2.0 Blueprints: Build effective applications that meet modern software requirements

by Dirk Strauss Jas Rademeyer

Leverage the features of C# 7 and .NET core 2.0 to build real-world .NET core applicationsKey Features See how to incorporate Entity Framework Core to build ASP .NET core MVC application Get hands-on SignalR and NuGet packages Work with Reactive Extensions (Rx.Net) using the elasticsearch tool Get hands-on with .NET Core MVC, Middleware, Controllers, Views, Layouts, Routing, and authentication Implement Azure Service Fabric and Microservices and AWS, S3,Serverless computing Work on .NET Core cross-platform functionality Run a .NET Core MVC application with Docker compose Easy-to-follow real-world projects that get you up and running with the new features of C# 7 and .NET Core 2.0 The practical applications will assist you with concepts such as Entity Framework Core, serverless computing, microservices, and more in .NET Core 2.0 Explore the workings of Rx.Net and build cross-platform mobile applications using XamarinBook DescriptionNET Core is a general purpose, modular, cross-platform, and open source implementation of .NET. With the latest release of .NET Core, many more APIs are expected to show up, which will make APIs consistent across .Net Framework, .NET Core, and Xamarin. This step-by-step guide will teach you the essential .NET Core and C# concepts with the help of real-world projects.The book starts with a brief introduction to the latest features of C# 7 and .NET Core 2.0 before moving on to explain how C# 7 can be implemented using the object-oriented paradigm. You'll learn to work with relational data using Entity Framework and see how to use ASP.NET Core practically. This book will show you how .NET Core allows the creations of cross-platform applications.You'll also learn about SignalR to add real-time functionality to your application. Then you will see how to use MongoDB and how to implement MongoDB into your applications. You'll learn about serverless computing and OAuth concepts, along with running ASP.NET Core applications with Docker Compose.This project-based guide uses practical applications to demonstrate these concepts. By the end of the book, you'll be profcient in developing applications using .NET Core 2.0What you will learnHow to incorporate Entity Framework Core to build ASP .NET Core MVC applicationsGet hands-on experience with SignalR, and NuGet packagesWorking with MongoDB in your ASP.NET Core MVC applicationGet hands-on experience with .NET Core MVC, Middleware, Controllers, Views, Layouts, Routing, and OAuthImplementing Azure Functions and learn what Serverless computing meansSee how .NET Core enables cross-platform applications that run on Windows, macOS and LinuxRunning a .NET Core MVC application with Docker ComposeWho this book is forThis book is for .NET developers who would like to master and implement C# 7 and .NET Core 2.0 with practical projects. Basic knowledge of .NET Core and C# is assumed.

C# 7 and .NET Core 2.0 High Performance: Build highly performant, multi-threaded, and concurrent applications using C# 7 and .NET Core 2.0

by Ovais Mehboob Ahmed Khan

Improve the speed of your code and optimize the performance of your appsKey FeaturesUnderstand the common performance pitfalls and improve your application’s performanceGet to grips with multi-threaded and asynchronous programming in C#Develop highly performant applications on .NET Core using microservice architectureBook DescriptionWhile writing an application, performance is paramount. Performance tuning for realworld applications often involves activities geared toward fnding bottlenecks; however, this cannot solve the dreaded problem of slower code. If you want to improve the speed of your code and optimize an application's performance, then this book is for you. C# 7 and .NET Core 2.0 High Performance begins with an introduction to the new features of what?explaining how they help in improving an application's performance. Learn to identify the bottlenecks in writing programs and highlight common performance pitfalls, and learn strategies to detect and resolve these issues early. You will explore multithreading and asynchronous programming with .NET Core and learn the importance and effcient use of data structures. This is followed with memory management techniques and design guidelines to increase an application’s performance. Gradually, the book will show you the importance of microservices architecture for building highly performant applications and implementing resiliency and security in .NET Core. After reading this book, you will learn how to structure and build scalable, optimized, and robust applications in C#7 and .NET.What you will learn Measure application performance using BenchmarkDotNet Explore the techniques to write multithreaded applications Leverage TPL and PLinq libraries to perform asynchronous operations Get familiar with data structures to write optimized code Understand design techniques to increase your application’s performance Learn about memory management techniques in .NET Core Develop a containerized application based on microservices architecture Learn tools and techniques to monitor application performanceWho this book is forThis book is for .NET developers looking at improving the speed of their code or simply wanting to take their skills to the next level. Basic C# knowledge is assumed.

C# 7 and .NET Core Cookbook

by Dirk Strauss

Quick solutions to common programming problems with the latest features of C# 7.0, .NET Core 1.1, and Visual Studio 2017 About This Book • Easy-to-follow recipes to get you up-and-running with the new features of C# 7 and .NET Core 1.1 • Practical solutions to assist you with microservices and serverless computing in C# • Explore the new Visual Studio environment and write more secure code in it Who This Book Is For The book will appeal to C# and .NET developers who have a basic familiarity with C# and the Visual Studio 2015 environment What You Will Learn • Writing better and less code to achieve the same result as in previous versions of C# • Working with analyzers in Visual Studio • Working with files, streams, and serialization • Writing high-performant code in C# and understanding multi-threading • Demystifying the Rx library using Reactive extensions • Exploring .Net Core 1.1 and ASP.NET MVC • Securing your applications and learning new debugging techniques • Designing and building a microservice architecture • Using Azure and AWS for serverless computing with C# In Detail C# has recently been open-sourced and C# 7 comes with a host of new features for building powerful, cross-platform applications. This book will be your solution to some common programming problems that you come across with C# and will also help you get started with .NET Core 1.1. Through a recipe-based approach, this book will help you overcome common programming challenges and get your applications ready to face the modern world. We start by running you through new features in C# 7, such as tuples, pattern matching, and so on, giving you hands-on experience with them. Moving forward, you will work with generics and the OOP features in C#. You will then move on to more advanced topics, such as reactive extensions, Regex, code analyzers, and asynchronous programming. This book will also cover new, cross-platform .NET Core 1.1 features and teach you how to utilize .NET Core on macOS. Then, we will explore microservices as well as serverless computing and how these benefit modern developers. Finally, you will learn what you can do with Visual Studio 2017 to put mobile application development across multiple platforms within the reach of any developer. Style and approach A unique recipe-based guide that will help you gain a solid understanding of the new concepts in C# 7.0 and Visual Studio 2017

C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition

by Mark J. Price

Modern Cross-Platform Development About This Book • Build modern, cross-platform applications with .NET Core • Get up to speed with C#, and up to date with all the latest features of C# 7 • Start creating professional web applications with ASP.NET Core Who This Book Is For This book is targeted towards readers who have some prior programming experience or have a science, technology, engineering, or mathematics (STEM) background, and want to gain a solid foundation with C# and to be introduced to the types of applications they could build and will work cross-platform on Windows, Linux, and macOS. What You Will Learn • Build cross-platform applications using C# 7 and .NET Core • Explore ASP.NET Core and learn how to create professional web applications • Improve your application's performance using multitasking • Use Entity Framework Core and find out how to build code-first databases • Master object-oriented programming with C# to increase code reuse and efficiency • Familiarize yourself with cross-device app development using the Universal Windows Platform and XAML • Query and manipulate data using LINQ • Protect your data by using encryption and hashing In Detail If you want to build powerful cross-platform applications with C# 7 and .NET Core, then this book is for you. First, we'll run you through the basics of C#, as well as object-oriented programming, before taking a quick tour through the latest features of C# 7 such as tuples, pattern matching, out variables, and so on. After quickly taking you through C# and how .NET works, we'll dive into the .NET Standard 1.6 class libraries, covering topics such as performance, monitoring, debugging, serialization and encryption. The final section will demonstrate the major types of application that you can build and deploy cross-device and cross-platform. In this section, we'll cover Universal Windows Platform (UWP) apps, web applications, mobile apps, and web services. Lastly, we'll look at how you can package and deploy your applications so that they can be hosted on all of today's most popular platforms, including Linux and Docker. By the end of the book, you'll be armed with all the knowledge you need to build modern, cross-platform applications using C# and .NET Core. Style and approach This book takes a step-by-step approach and is filled with exciting projects and fascinating theory. It uses three high-impact sections to equip you with all the tools you'll need to build modern, cross-platform applications using C# and .NET Core.

C# 7.0 All-in-One For Dummies

by John Paul Mueller Bill Sempf Chuck Sphar

Sharpen your knowledge of C# C# know-how is a must if you want to be a professional Microsoft developer. It's also good to know a little C# if you're building tools for the web, mobile apps, or other development tasks. C# 7.0 All-in-One For Dummies offers a deep dive into C# for coders still learning the nuances of the valuable programming language. Pop it open to get an intro into coding with C#, how to design secure apps and databases, and even pointers on building web and mobile apps with C#. C# remains one of the most in-demand programming language skills. The language regularly ranks in the top five among "most in-demand" languages, typically along with Java/JavaScript, C++, and Python. A December 2016 ZDNet article noted 'If your employer is a Microsoft developer, you better know C#." Lucky for you, this approachable, all-in-one guide is here to help you do just that—without ever breaking a sweat! Includes coverage of the latest changes to C# Shows you exactly what the language can (and can't) do Presents familiar tasks that you can accomplish with C# Provides insight into developing applications that provide protection against hackers If you have a basic understanding of coding and need to learn C#—or need a reference on the language in order to launch or further your career—look no further.

C# 7.0 Pocket Reference: Instant Help for C# 7.0 Programmers

by Ben Albahari Joseph Albahari

When you need answers for programming with C# 7.0, this tightly focused reference tells you exactly what you need to know—without long introductions or bloated examples. Easy-to-browse and ideal as a quick reference, this guide will help experienced C#, Java, and C++ programmers get up to speed with the latest version of the C# language.All programs and code snippets in this book are available as interactive samples in LINQPad. You can edit these samples and instantly see the results without needing to set up projects in Visual Studio. Written by the authors of C# 7.0 in a Nutshell, this pocket reference covers C# 7.0 without skimping on detail, including:All of C#’s fundamentalsFeatures new to C# 7.0, including tuples, pattern matching, and deconstructorsAdvanced topics: operator overloading, type constraints, iterators, nullable types, operator lifting, lambda expressions, and closuresLINQ: sequences, lazy execution, standard query operators, and query expressionsUnsafe code and pointers, custom attributes, preprocessor directives, and XML documentation

C# 7.0 in a Nutshell: The Definitive Reference

by Ben Albahari Joseph Albahari

When you have questions about C# 7.0 or the .NET CLR and its core Framework assemblies, this bestselling guide has the answers you need. Since its debut in 2000, C# has become a language of unusual flexibility and breadth, but its continual growth means there’s always more to learn.Organized around concepts and use cases, this updated edition provides intermediate and advanced programmers with a concise map of C# and .NET knowledge. Dive in and discover why this Nutshell guide is considered the definitive reference on C#.Get up to speed on the C# language, from the basics of syntax and variables to advanced topics such as pointers, operator overloading, and dynamic bindingDig deep into LINQ via three chapters dedicated to the topicExplore concurrency and asynchrony, advanced threading, and parallel programmingWork with .NET features, including XML, regular expressions, networking, serialization, reflection, application domains, and securityDelve into Roslyn, the modular C# 7.0 compiler-as-a-service

C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development , Third Edition

by Mark J. Price

C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development is a practical guide to creating powerful cross-platform applications with C# 7.1 and .NET Core 2.0. This cutting-edge book covers the very latest major release, providing you with all of the knowledge a modern C# developer needs.

C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition

by Mark J. Price

C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development, Third Edition is a practical guide to creating powerful cross-platform applications with C# 7 and .NET Core 2.0. About This Book • Build modern, cross-platform applications with .NET Core 2.0 • Get up to speed with C#, and up to date with all the latest features of C# 7.1 • Start creating professional web applications with ASP.NET Core 2.0 Who This Book Is For This book is targeted towards readers who have some prior programming experience or have a science, technology, engineering, or mathematics (STEM) background, and want to gain a solid foundation with C# and to be introduced to the types of applications they could build and will work cross-platform on Windows, Linux, and macOS. What You Will Learn • Build cross-platform applications using C# 7.1 and .NET Core 2.0 • Explore ASP.NET Core 2.0 and learn how to create professional websites, services, and applications • Improve your application's performance using multitasking • Use Entity Framework Core and LINQ to query and manipulate data • Master object-oriented programming with C# to increase code reuse and efficiency • Familiarize yourself with cross-device app development using the Universal Windows Platform • Protect and manage your files and data with encryption, streams, and serialization • Get started with mobile app development using Xamarin.Forms • Preview the nullable reference type feature of C# 8 In Detail C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development, Third Edition, is a practical guide to creating powerful cross-platform applications with C# 7.1 and .NET Core 2.0. It gives readers of any experience level a solid foundation in C# and .NET. The first part of the book runs you through the basics of C#, as well as debugging functions and object-oriented programming, before taking a quick tour through the latest features of C# 7.1 such as default literals, tuples, inferred tuple names, pattern matching, out variables, and more. After quickly taking you through C# and how .NET works, this book dives into the .NET Standard 2.0 class libraries, covering topics such as packaging and deploying your own libraries, and using common libraries for working with collections, performance, monitoring, serialization, files, databases, and encryption. The final section of the book demonstrates the major types of application that you can build and deploy cross-device and cross-platform. In this section, you'll learn about websites, web applications, web services, Universal Windows Platform (UWP) apps, and mobile apps. By the end of the book, you'll be armed with all the knowledge you need to build modern, cross-platform applications using C# and .NET. Style and approach This book takes a step-by-step approach and is filled with exciting projects and fascinating theory. It uses three high-impact sections to equip you with all the tools you'll need to build modern, cross-platform applications using C# and .NET Core 2.0.

C# 8 Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library

by Mikael Olsson

This quick C# 8 guide is a condensed code and syntax reference to the C# programming language, updated with the latest features of C# 8 for .NET and Windows 10. This book presents the essential C# 8 syntax in a well-organized format that can be used as a handy reference. Specifically, it covers nullable reference types, async streams, ranges and indices, default implementations of interface members, recursive patterns, switch expressions, target-typed new-expressions, platform dependencies and more. In the C# 8 Quick Syntax Reference, you will find a concise reference to the C# language syntax: short, simple, and focused code examples; a well laid out table of contents; and a comprehensive index allowing easy review. You won’t find any technical jargon, bloated samples, drawn-out history lessons, or witty stories. What you will find is a language reference that is to the point and highly accessible. The book is packed with useful information and is a must-have for any C# programmer.What You Will LearnDiscover what's new in C# 8 and .NET for Windows 10 programmingEmploy nullable reference types Explore the advanced async streams now available in C# 8Work with ranges and indices Apply recursive patterns to your applicationsUse switch expressions Who This Book Is ForThose with some experience in programming, looking for a quick, handy reference. Some C# or .NET recommended but not necessary.

C# 8 and .NET Core 3 Projects Using Azure: Build professional desktop, mobile, and web applications that meet modern software requirements

by Dirk Strauss Jas Rademeyer Paul Michaels

Get up to speed with using C# 8 and .NET Core 3.0 features to build real-world .NET Core applications Key Features Learn the core concepts of web applications, serverless computing, and microservices Create an ASP.NET Core MVC application using controllers, routing, middleware and authentication Build modern applications using cutting-edge services from Microsoft Azure Book Description .NET Core is a general-purpose, modular, cross-platform, and opensource implementation of .NET. The latest release of .NET Core 3 comes with improved performance and security features, along with support for desktop applications. .NET Core 3 is not only useful for new developers looking to start learning the framework, but also for legacy developers interested in migrating their apps. Updated with the latest features and enhancements, this updated second edition is a step-by-step, project-based guide. The book starts with a brief introduction to the key features of C# 8 and .NET Core 3. You'll learn to work with relational data using Entity Framework Core 3, before understanding how to use ASP.NET Core. As you progress, you'll discover how you can use .NET Core to create cross-platform applications. Later, the book will show you how to upgrade your old WinForms apps to .NET Core 3. The concluding chapters will then help you use SignalR effectively to add real-time functionality to your applications, before demonstrating how to implement MongoDB in your apps. Finally, you'll delve into serverless computing and how to build microservices using Docker and Kubernetes. By the end of this book, you'll be proficient in developing applications using .NET Core 3. What you will learn Understand how to incorporate the Entity Framework Core 3 to build ASP.NET Core MVC applications Create a real-time chat application using Azure's SignalR service Gain hands-on experience of working with Cosmos DB Develop an Azure Function and interface it with an Azure Logic App Explore user authentication with Identity Server and OAuth2 Understand how to use Azure Cognitive Services to add advanced functionalities with minimal code Get to grips with running a .NET Core application with Kubernetes Who this book is for This book is for developers and programmers of all levels who want to build real-world projects and explore the new features of .NET Core 3. Developers working on legacy desktop software who are looking to migrate to .NET Core 3 will also find this book useful. Basic knowledge of .NET Core and C# is assumed.

C# 8.0 Pocket Reference: Instant Help for C# 8.0 Programmers

by Ben Albahari Joseph Albahari

When you need answers about using C# 8.0, this tightly focused and practical book tells you exactly what you need to know without long intros or bloated samples. Easy to browse, C# 8.0 Pocket Reference is ideal as a quick source of information or as a guide to get you rapidly up to speed if you already know Java, C++, or an earlier C# version.All programs and code snippets are available as interactive samples in LINQPad. You can edit these samples and instantly see the results without needing to set up projects in Visual Studio. Written by the author of C# 7.0 in a Nutshell, this pocket reference covers C# 8.0 without skimping on detail, including:C# fundamentals and features new to C# 8.0Advanced topics like operator overloading, type constraints, iterators, nullable types, operator lifting, lambda expressions, and closuresLINQ: sequences, lazy execution, standard query operators, and query expressionsUnsafe code and pointers, custom attributes, preprocessor directives, and XML documentation

C# 8.0 and .NET Core 3.0 – Modern Cross-Platform Development - Fourth Edition: Build applications with C#, .NET Core, Entity Framework Core, ASP.NET Core, and ML.NET using Visual Studio Code, 4th Edition

by Mark J. Price

Readers with some prior programming experience or with a science, technology, engineering, or mathematics (STEM) background, who want to gain a solid foundation with C# 8.0 and .NET Core 3.0.

C# 8.0 in a Nutshell: The Definitive Reference

by Joseph Albahari Eric Johannsen

When you have questions about C# 8.0 or .NET Core, this best-selling guide has the answers you need. C# is a language of unusual flexibility and breadth, but with its continual growth there’s so much more to learn. In the tradition of the O’Reilly Nutshell guides, this thoroughly updated edition is simply the best one-volume reference to the C# language available today.Organized around concepts and use cases, C# 8.0 in a Nutshell provides intermediate and advanced programmers with a concise map of C# and .NET knowledge that also plumbs significant depths.Get up to speed on C#, from syntax and variables to advanced topics such as pointers, closures, and patternsDig deep into LINQ with three chapters dedicated to the topicExplore concurrency and asynchrony, advanced threading, and parallel programmingWork with .NET features, including regular expressions, networking, serialization, spans, reflection, and cryptographyDelve into Roslyn, the modular C# compiler as a service

C# 9 and .NET 5 – Modern Cross-Platform Development: Build intelligent apps, websites, and services with Blazor, ASP.NET Core, and Entity Framework Core using Visual Studio Code, 5th Edition

by Mark J. Price

A comprehensive guide for beginners to learn the key concepts, real-world applications, and latest features of C# 9 and .NET 5 with hands-on exercises using VS CodeKey FeaturesExplore the newest additions to C# 9, the .NET 5 class library, Entity Framework Core and BlazorStrengthen your command of ASP.NET Core 5.0 and create professional websites and servicesBuild cross-platform apps for Windows, macOS, Linux, iOS, and AndroidBook DescriptionIn C# 9 and .NET 5 – Modern Cross-Platform Development, Fifth Edition, expert teacher Mark J. Price gives you everything you need to start programming C# applications.This latest edition uses the popular Visual Studio Code editor to work across all major operating systems. It is fully updated and expanded with a new chapter on the Microsoft Blazor framework.The book's first part teaches the fundamentals of C#, including object-oriented programming and new C# 9 features such as top-level programs, target-typed new object instantiation, and immutable types using the record keyword. Part 2 covers the .NET APIs, for performing tasks like managing and querying data, monitoring and improving performance, and working with the file system, async streams, serialization, and encryption. Part 3 provides examples of cross-platform apps you can build and deploy, such as websites and services using ASP.NET Core or mobile apps using Xamarin.Forms.By the end of the book, you will have acquired the understanding and skills you need to use C# 9 and .NET 5 to create websites, services, and mobile apps.What you will learnBuild your own types with object-oriented programmingQuery and manipulate data using LINQBuild websites and services using ASP.NET Core 5Create intelligent apps using machine learningUse Entity Framework Core and work with relational databasesDiscover Windows app development using the Universal Windows Platform and XAMLBuild rich web experiences using the Blazor frameworkBuild mobile applications for iOS and Android using Xamarin.FormsWho this book is forThis book is best for C# and .NET beginners, or programmers who have worked with C# in the past but feel left behind by the changes in the past few years. This book doesn't expect you to have any C# or .NET experience; however, you should have a general understanding of programming.Students and professionals with a science, technology, engineering, or mathematics (STEM) background can certainly benefit from this book.

C# 9.0 Pocket Reference

by Ben Albahari Joseph Albahari

When you have questions about C# 9.0 or .NET 5, this best-selling guide has the answers you need. C# is a language of unusual flexibility and breadth, but with its continual growth there's so much more to learn. In the tradition of O'Reilly's Nutshell guides, this thoroughly updated edition is simply the best one-volume reference to the C# language available today.Organized around concepts and use cases, C# 9.0 in a Nutshell provides intermediate and advanced programmers with a concise map of C# and .NET that also plumbs significant depths.Get up to speed on C#, from syntax and variables to advanced topics such as pointers, records, closures, and patternsDig deep into LINQ with three chapters dedicated to the topicExplore concurrency and asynchrony, advanced threading, and parallel programmingWork with .NET features, including regular expressions, networking, spans, reflection, and cryptographyJoseph Albahari is author of C# 8.0 in a Nutshell, C# 8.0 Pocket Reference, and LINQ Pocket Reference (all from O'Reilly). He also wrote LINQPad, the popular code scratchpad and LINQ querying utility.

C# Concurrency: Asynchronous and multithreaded programming

by Nir Dobovizki

Supercharge your applications with the ultimate guide to asynchronous and multithreaded programming in C#!C# Concurrency teaches you how to write effective multithreaded and asynchronous software in C#. Practical techniques, real-world examples, and useful code samples cut through the confusion around async/await and help you write rapid, reliable, and bug-free code. In C# Concurrency: Asynchronous and Multithreaded Programming you&’ll learn how to: • Take full advantage of async/await • Write bug-free multithreaded code every time • Create multithreaded code that delivers real performance improvements • Grok C# and .NET multithreading and asynchronous primitives • Know when to use concurrency techniques—and when not to use them! In C# Concurrency Nir Dobovizki, a seasoned C# veteran with over 30 years of high-performance programming experience, shares his deep knowledge and expert techniques. Say goodbye to frustrating pitfalls and impossible-to-find bugs that slow down your applications. Nir's careful approach will teach you how to navigate these challenges with ease, allowing you to achieve lightning-fast performance like never before! About the technology Asynchronous and multithreaded programs can perform multiple tasks simultaneously without losing speed or reliability. But getting concurrency right can challenge even experienced developers. This practical book teaches you to deliver concurrent C# apps that are lighting fast and free of the deadlocks and other synchronization issues that undermine performance and take forever to find. About the book C# Concurrency equips programmers with a comprehensive understanding of multithreading and asynchronous programming, focusing on the practical use of the C# async-await feature to simplify asynchronous tasks. It teaches how to avoid common pitfalls, addresses classic multithreading issues like deadlocks and race conditions, and advanced topics such as controlling thread of execution and using thread-safe collections. What's inside • .NET multithreading and asynchronous primitives • When to use concurrency techniques—and when not to! • Confidently use async/await About the reader For experienced C# programmers. No knowledge of asynchro- nous programming required. About the author Nir Dobovizki is a senior software architect and consultant who has worked on concurrent and asynchronous systems since the late 90s. Table of Contents 1 Asynchronous programming and multithreading 2 The compiler rewrites your code 3 The async and await keywords 4 Multithreading basics 5 async/await and multithreading 6 When to use async/await 7 Classic multithreading pitfalls and how to avoid them Part 2 8 Processing a sequence of items in the background 9 Canceling background tasks 10 Await your own events 11 Controlling on which thread your asynchronous code runs 12 Exceptions and async/await 13 Thread-safe collections 14 Generating collections asynchronously/await foreach and IAsyncEnumerable

C# Cookbook

by Jay Hilyard Stephen Teilhet

The C# Cookbook offers a definitive collection of solutions and examples for this new programming language. Recipes range from simple tasks to the more complex, and are organized with respect to the types of problems you'll need to solve as you progress in your experience as a C# programmer. Nearly every recipe contains a complete, documented code sample showing you how to solve the specific problem, as well as a discussion of how the underlying technology works and a discussion of alternatives, limitations, and other considerations where appropriate.

C# Cookbook

by Jay Hilyard Stephen Teilhet

Easy to learn and use, the C# language is targeted at developers for Microsoft's .NET platform who've worked with a C-like language before, such as C, C++, or Java. There's no shortage of excellent tutorials and documentation to help new developers get a handle on the language, such as O'Reilly's Learning C# or Programming C# . But when you need practical answers to the day-to-day questions you run up against, a tutorial isn't going to do the trick. The C# Cookbook gets straight to the heart of the problem with code recipes collected especially for developers working on the .NET platform. The C# Cookbook offers a definitive collection of solutions and examples for this new programming language. Recipes range from simple tasks to the more complex, and are organized with respect to the types of problems you'll need to solve as you progress in your experience as a C# programmer. Nearly every recipe contains a complete, documented code sample showing you how to solve the specific problem, as well as a discussion of how the underlying technology works and a discussion of alternatives, limitations, and other considerations where appropriate. The recipes in the C# Cookbook are organized into seventeen chapters, each of which focuses on a particular topic in creating C# solutions. Among the topics covered, you'll find: Numeric data types in C# Strings and characters Classes and structures Exception handling Delegates and events Regular expressions Data structures and algorithms Networking Security Unsafe Code You don't need to be an experienced C# or .NET developer to use this book. The C# Cookbook is designed for users of all levels with recipes targeted at the real-world developer who needs to solve problems now, not learn lots of theory first. With this guide, all developers will be able to learn and improve their mastery of both the language and the .NET Framework Class Libraries.

C# Cookbook, 2nd Edition

by Jay Hilyard Stephen Teilhet

With C# Cookbook, 2nd Edition , you'll be able to learn and improve your mastery of both the C# language and the .NET platform. This updated bestseller has been completely revised to account for C# 2.0, the latest version of this popular object-oriented programming language. It also includes more than 100 new code solutions (over 300 overall) to common problems and tasks that you're sure to face as a C# programmer. Nearly every solution, or "recipe," contains a complete, documented code sample showing you how to solve the specific problem, as well as a detailed discussion of how and why the underling technology works. This question-solution-discussion format is a proven teaching method, as any fan of O'Reilly's "Cookbook" series can attest to. In fact, no other source offers a learn-as-you-go format quite like this. C# Cookbook, 2nd Edition is organized into 20 chapters, each of which focuses on a particular topic in creating C# solutions. Here's just a taste of what's covered: Numeric data types Strings and characters Classes and structures Generics Exception handling Delegates, events, and anonymous methods Filesystem interactions Web site access XML usage (including XPath and XSLT) Networking Threading Unsafe code Best of all, you don't have to be an experienced C# or .NET developer to use C# Cookbook, 2nd Edition . You just have to be someone who wants to solve a problem now, without having to learn all the related theory first.

C# Cookbook, 2nd Edition

by Jay Hilyard Stephen Teilhet

With C# Cookbook, 2nd Edition , you'll be able to learn and improve your mastery of both the C# language and the .NET platform. This updated bestseller has been completely revised to account for C# 2.0, the latest version of this popular object-oriented programming language. It also includes more than 100 new code solutions (over 300 overall) to common problems and tasks that you're sure to face as a C# programmer. Nearly every solution, or "recipe," contains a complete, documented code sample showing you how to solve the specific problem, as well as a detailed discussion of how and why the underling technology works. This question-solution-discussion format is a proven teaching method, as any fan of O'Reilly's "Cookbook" series can attest to. In fact, no other source offers a learn-as-you-go format quite like this. C# Cookbook, 2nd Edition is organized into 20 chapters, each of which focuses on a particular topic in creating C# solutions. Here are just some of what's covered: Numeric data types Strings and characters Classes and structures Generics Exception handling Delegates, events, and anonymous methods Filesystem interactions Web site access XML usage (including XPath and XSLT) Networking Threading Unsafe code Best of all, you don't have to be an experienced C# or .NET developer to use C# Cookbook, 2nd Edition . You just have to be someone who wants to solve a problem now, without having to learn all the related theory first.

C# Cookbook: Modern Recipes for Professional Developers

by Joe Mayo

Even if you're familiar with C# syntax, knowing how to combine various language features is a critical skill when you're building applications. This cookbook is packed full of recipes to help you solve issues for C# programming tasks you're likely to encounter. You'll learn tried-and-true techniques to help you achieve greater productivity and improve the quality of your code.Author and independent consultant Joe Mayo shares some of the most important practices you'll need to be successful as a C# developer. Each section of this cookbook describes some useful facet of the C# programming language. These recipes--the result of many years of experience--are proven concepts for solving real-world problems with C#.Recipes in this book will help you:Set up your project, manage object lifetime, and establish patternsImprove code quality through maintainability, error prevention, and correct syntaxUse LINQ to Objects for in-memory data manipulation and queryingUnderstand the differences between dynamic programming and reflectionApply several async programming features you may not be aware ofWork with data using newer libraries and algorithmsLearn different ways to use new C# features, such as pattern matching and records

C# Data Structures and Algorithms: Explore the possibilities of C# for developing a variety of efficient applications

by Marcin Jamro

A complete guide on using data structures and algorithms to write sophisticated C# codeKey Features Master array, set and map with trees and graphs, among other fundamental data structures Delve into effective design and implementation techniques to meet your software requirements Explore illustrations to present data structures and algorithms, as well as their analysis in a clear, visual manner.Book DescriptionData structures allow organizing data efficiently. They are critical to various problems and their suitable implementation can provide a complete solution that acts like reusable code. In this book, you will learn how to use various data structures while developing in the C# language as well as how to implement some of the most common algorithms used with such data structures.At the beginning, you will get to know arrays, lists, dictionaries, and sets together with real-world examples of your application. Then, you will learn how to create and use stacks and queues. In the following part of the book, the more complex data structures will be introduced, namely trees and graphs, together with some algorithms for searching the shortest path in a graph. We will also discuss how to organize the code in a manageable, consistent, and extendable way. By the end of the book,you will learn how to build components that are easy to understand, debug, and use in different applications.What you will learn How to use arrays and lists to get better results in complex scenarios Implement algorithms like the Tower of Hanoi on stacks of C# objects Build enhanced applications by using hashtables, dictionaries and sets Make a positive impact on efficiency of applications with tree traversal Effectively find the shortest path in the graph Who this book is forThis book is for developers who would like to learn the Data Structures and Algorithms in C#. Basic C# programming knowledge would be an added advantage.

Refine Search

Showing 10,051 through 10,075 of 63,065 results