Code like a Pro in C#
eBook - ePub

Code like a Pro in C#

  1. 416 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Code like a Pro in C#

About this book

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
Essential 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 About the reader
For developers experienced with object-oriented programming. No C# experience required. About the author
Jort Rodenburg is a software engineer who has taught numerous courses on getting up to speed with C# and.NET. Table of Contents PART 1 USING C# AND.NET
1 Introducing C# and.NET
2.NET and how it compiles
PART 2 THE EXISTING CODEBASE
3 How bad is this code?
4 Manage your unmanaged resources!
PART 3 THE DATABASE ACCESS LAYER
5 Setting up a project and database with Entity Framework Core
PART 4 THE REPOSITORY LAYER
6 Test-driven development and dependency injection
7 Comparing objects
8 Stubbing, generics, and coupling
9 Extension methods, streams, and abstract classes
PART 5 THE SERVICE LAYER
10 Reflection and mocks
11 Runtime type checking revisited and error handling
12 Using IAsyncEnumerable and yield return
PART 6 THE CONTROLLER LAYER
13 Middleware, HTTP routing, and HTTP responses
14 JSON serialization/deserialization and custom model binding

Trusted by 375,005 students

Access to over 1 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Table of contents

  1. inside front cover
  2. Code like a Pro in C#
  3. Copyright
  4. contents
  5. front matter
  6. Part 1 Using C# and .NET
  7. 1 Introducing C# and .NET
  8. 2 .NET and how it compiles
  9. Part 2 The existing codebase
  10. 3 How bad is this code?
  11. 4 Manage your unmanaged resources!
  12. Part 3 The database access layer
  13. 5 Setting up a project and database with Entity Framework Core
  14. Part 4 The repository layer
  15. 6 Test-driven development and dependency injection
  16. 7 Comparing objects
  17. 8 Stubbing, generics, and coupling
  18. 9 Extension methods, streams, and abstract classes
  19. Part 5 The service layer
  20. 10 Reflection and mocks
  21. 11 Runtime type checking revisited and error handling
  22. 12 Using IAsyncEnumerable<T> and yield return
  23. Part 6 The controller layer
  24. 13 Middleware, HTTP routing, and HTTP responses
  25. 14 JSON serialization/ deserialization and custom model binding
  26. appendix A Exercise answers
  27. appendix B Clean code checklist
  28. appendix C Installation guides
  29. appendix D OpenAPI FlyTomorrow
  30. appendix E Reading list
  31. index
  32. inside back cover

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Code like a Pro in C# by Jort Rodenburg in PDF and/or ePUB format, as well as other popular books in Computer Science & Business Intelligence. We have over one million books available in our catalogue for you to explore.