Gjør som tusenvis av andre bokelskere
Abonner på vårt nyhetsbrev og få rabatter og inspirasjon til din neste leseopplevelse.
Ved å abonnere godtar du vår personvernerklæring.Du kan når som helst melde deg av våre nyhetsbrev.
Enhance your programming skills through code reviews, TDD and BDD implementation, and API design to overcome code inefficiency, redundancy, and other issues arising from bad codeKey Features:Write code that seamlessly integrates with other systems while maintaining well-defined software boundariesUnderstand how coding principles and standards elevate software qualityLearn how to avoid common errors while implementing concurrency or threadingPurchase of the print or Kindle book includes a free PDF eBookBook Description:Traditionally associated with Windows desktop applications and game development, C# has expanded into web, cloud, and mobile development. However, despite its extensive coding features, professionals often encounter issues with efficiency, scalability, and maintainability due to poor code. Clean Code in C# guides you in identifying and resolving these problems using coding best practices.This book starts by comparing good and bad code to emphasize the importance of coding standards, principles, and methodologies. It then covers code reviews, unit testing, and test-driven development, and addresses cross-cutting concerns. As you advance through the chapters, you'll discover programming best practices for objects, data structures, exception handling, and other aspects of writing C# computer programs. You'll also explore API design and code quality enhancement tools, while studying examples of poor coding practices to understand what to avoid.By the end of this clean code book, you'll have the developed the skills needed to apply industry-approved coding practices to write clean, readable, extendable, and maintainable C# code.What You Will Learn:Master the art of writing evolvable and adaptable codeImplement the fail-pass-refactor methodology using a sample C# console applicationDevelop custom C# exceptions that provide meaningful informationIdentify low-quality C# code in need of refactoringImprove code performance using profiling and refactoring toolsCreate efficient and bug-free code using functional programming techniquesWrite cross-platform code using MAUIDevelop cloud-deployable microservices for versatile applicationsWho this book is for:This coding book is for proficient C# developers, team leads, senior software engineers, and software architects who want to improve the efficiency of their legacy systems. A strong understanding of C# programming is assumed.
Enhance your applications' performance using best practices for benchmarking, application profiling, asynchronous programming, designing responsive UIs, gRPC communication, and distributed applicationsKey Features:- Make the best use of performance enhancements in C# 10.0 and .NET 6- Boost application performance by identifying hardware bottlenecks and common performance pitfalls- Get to grips with best practices and techniques for improving the scalability of distributed systemsBook Description:Writing high-performance code while building an application is crucial, and over the years, Microsoft has focused on delivering various performance-related improvements within the .NET ecosystem. This book will help you understand the aspects involved in designing responsive, resilient, and high-performance applications with the new version of C# and .NET.You will start by understanding the foundation of high-performance code and the latest performance-related improvements in C# 10.0 and .NET 6. Next, you'll learn how to use tracing and diagnostics to track down performance issues and the cause of memory leaks. The chapters that follow then show you how to enhance the performance of your networked applications and various ways to improve directory tasks, file tasks, and more. Later, you'll go on to improve data querying performance and write responsive user interfaces. You'll also discover how you can use cloud providers such as Microsoft Azure to build scalable distributed solutions. Finally, you'll explore various ways to process code synchronously, asynchronously, and in parallel to reduce the time it takes to process a series of tasks.By the end of this C# programming book, you'll have the confidence you need to build highly resilient, high-performance applications that meet your customer's demands.What You Will Learn:- Use correct types and collections to enhance application performance- Profile, benchmark, and identify performance issues with the codebase- Explore how to best perform queries on LINQ to improve an application's performance- Effectively utilize a number of CPUs and cores through asynchronous programming- Build responsive user interfaces with WinForms, WPF, MAUI, and WinUI- Benchmark ADO.NET, Entity Framework Core, and Dapper for data access- Implement CQRS and event sourcing and build and deploy microservicesWho this book is for:This book is for software engineers, professional software developers, performance engineers, and application profilers looking to improve the speed of their code or take their skills to the next level to gain a competitive advantage. You should be a proficient C# programmer who can already put the language to good use and is also comfortable using Microsoft Visual Studio 2022Table of Contents- Introducing C# 10.0 and .NET 6- Implementing C# Interoperability- Predefined Data Types and Memory Allocations- Memory Management- Application Profiling and Tracing- The .NET Collections- LINQ Performance- File and Stream I/O- Enhancing the Performance of Networked Applications- Setting Up Our Database Project- Benchmarking Relational Data Access Frameworks- Responsive User Interfaces- Distributed Systems- Multi-Threaded Programming- Parallel Programming- Asynchronous Programming
Clean Code in C# addresses the modern-age software development concerns across the various domains such as Windows desktop applications, web applications, cloud applications, and so on. You will be able to understand how to correct the problems such as code inefficiency, redundancy, duplication as a result of bad code.
Abonner på vårt nyhetsbrev og få rabatter og inspirasjon til din neste leseopplevelse.
Ved å abonnere godtar du vår personvernerklæring.