Code like a Pro in C#
- 6h 51m
- Jort Rodenburg
- Manning Publications
- 2021
Build on your existing programming skills and upskill to professional-level C# programming.
Summary
In Code Like A Pro in C# you will learn:
- Unit testing and test-driven development
- Refactor a legacy .NET codebase
- Principles of clean code
- WEsential backend architecture skills
- Query and manipulate databases with LINQ and Entity Framework Core
Critical business applications worldwide are written in the versatile C# language and the powerful .NET platform, running on desktops, cloud systems, and Windows or Linux servers. Code Like a Pro in C# makes it easy to turn your existing abilities in C# or another OO language (such as Java) into practical C# mastery. There’s no “Hello World” or Computer Science 101 basics—you’ll learn by refactoring an out-of-date legacy codebase, using new techniques, tools, and best practices to bring it up to modern C# standards.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology
You know the basics, now get ready for the next step! Pro-quality C# code is efficient, clean, and fast. Whether you’re building user-facing business applications or writing data-intensive backend services, the experience-based, practical techniques in this book will take your C# skills to a new level.
About the book
Code Like a Pro in C# teaches you to how write clean C# code that’s suitable for enterprise applications. In this book, you’ll refactor a legacy codebase by applying modern C# techniques. You’ll explore tools like Entity Framework Core, design techniques like dependency injection, and key practices like testing and clean coding. It’s a perfect path to upgrade your existing C# skills or shift from another OO language into C# and the .NET ecosystem.
What's inside
- Unit testing and test-driven development
- Refactor a legacy .NET codebase
- Principles of clean code
- Query and manipulate databases with LINQ and Entity Framework Core
In this Book
-
About This Book
-
Introducing C# and .NET
-
.NET and How it Compiles
-
How Bad is This Code?
-
Manage Your Unmanaged Resources!
-
Setting up a Project and Database with Entity Framework Core
-
Test-Driven Development and Dependency Injection
-
Comparing Objects
-
Stubbing, Generics, and Coupling
-
Extension Methods, Streams, and Abstract Classes
-
Reflection and Mocks
-
Runtime Type Checking Revisited and Error Handling
-
Using IAsyncEnumerable<T> and Yield Return
-
Middleware, HTTP Routing, and HTTP Responses
-
JSON Serialization/ Deserialization and Custom Model Binding