.NET in Action, Second Edition, Video Edition

Video description

In Video Editions the narrator reads the book while the content, figures, code listings, diagrams, and text appear on the screen. Like an audiobook that you can also watch as a video.

Learn to build standout line-of-business applications using Microsoft’s .NET Framework, the premier platform for enterprise business development.

Based on the bestselling .NET Core in Action, the new .NET in Action, Second Edition has been completely rewritten and updated by original author Dustin Metzgar—an industry veteran who helped develop both the original .NET Framework and .NET Core.

.NET in Action, Second Edition presents the big picture of .NET application development, introducing core concepts like:

  • Designing applications to take full advantage of .NET 8
  • Integrating the latest C# and .NET features
  • Building web services and applications with ASP.NET Core
  • Working with data in files and remote services, and databases via Entity Framework Core
  • Verifying code with unit and integration tests
  • Make applications ready for internationalization
  • Benchmarking and analyzing application performance

.NET in Action, Second Edition offers a clear-headed introduction to implementing full-featured, cross-platform professional applications on the Microsoft .NET platform. It compiles the must-know skills of .NET into a format that’s clear and easy to follow. In each chapter, you’ll build new applications, pick up essential .NET skills, and test your knowledge against handy exercises.

About the Technology
The Microsoft .NET platform is a godsend for application developers. .NET provides a comprehensive framework, with consistent tooling for web, mobile, and line-of-business applications, high-performance games, and massive distributed systems. A perfect blend of power and flexibility, its just-in-time compiler runs multiple languages, including C#, Visual Basic, and F#.

About the Book
.NET in Action, Second Edition teaches you to build cross-platform applications and services on the .NET platform. It gives you the big picture, systematically presenting the features you need to ship high-quality apps, without bogging you down in low-level details. You’ll learn to benchmark and analyze performance issues, secure your sites and products, and explore modern architectures like microservices. This totally-revised new edition now covers .NET 8 and new C# language features, along with updates to ASP.NET Core and Entity Framework Core.

What's Inside
  • Take advantage of the latest C# and .NET features
  • Secure your applications
  • Performance analysis and tuning
  • Modern application design techniques


About the Reader
For beginning-to-intermediate developers on any platform. No .NET experience required.

About the Author
Dustin Metzgar is a seasoned developer and architect. At Microsoft, Dustin contributed to the .NET Framework, .NET Core, and the open sourcing of .NET.

The technical editor on this book was Gerald Versluis.

Quotes
You can hardly find a better guide to the .NET space than Dustin Metzgar’s. He offers both deep expertise and an inside look at historical context.
- From the foreword by Scott Hanselman, Vice President, Developer Community, Microsoft

Whether you are new or experienced, this book will help you become a better developer!
- Richard Campbell, Host of .NET Rocks

From C# language features to design patterns, testing, containers, security, databases, and performance. It’s the perfect starting point!
- Andrea Angella, Redgate Software and productivecsharp.com

Practical examples and exercises help you apply the concepts you’re learning. Dustin covers it all.
- Jamie Taylor, RJJ Software, Microsoft MVP

Table of contents

  1. Part 1. The basics
  2. Chapter 1. Why .NET?
  3. Chapter 1. Where is .NET used?
  4. Chapter 1. When to use .NET
  5. Chapter 1. What will I learn from this book?
  6. Chapter 1. What is in the .NET runtime?
  7. Chapter 1. Summary
  8. Chapter 2. Building a console application
  9. Chapter 2. Building and running
  10. Chapter 2. Writing code
  11. Chapter 2. Namespaces and conventions
  12. Chapter 2. Global using statements
  13. Chapter 2. Static using statements
  14. Chapter 2. Handling more command-line arguments
  15. Chapter 2. C# properties
  16. Chapter 2. Summary
  17. Chapter 3. Creating web ser vices and applications with ASP.NET Core
  18. Chapter 3. Web applications
  19. Chapter 3. Summary
  20. Part 2. Data
  21. Chapter 4. File and network I/O
  22. Chapter 4. Working with JSON
  23. Chapter 4. Making HTTP requests
  24. Chapter 4. Unblocking programs with asynchronous programming
  25. Chapter 4. Summary
  26. Chapter 5. Using Entity Framework Core with relational databases
  27. Chapter 5. Building your first EF Core application
  28. Chapter 5. Accessing data asynchronously
  29. Chapter 5. Using EF Core with ASP.NET Core
  30. Chapter 5. Exposing your API via Swagger/OpenAPI
  31. Chapter 5. Summary
  32. Part 3. Testing
  33. Chapter 6. Unit-testing fundamentals
  34. Chapter 6. SOLID principles
  35. Chapter 6. An example test application: Sodoku
  36. Chapter 6. Building your first xUnit test project
  37. Chapter 6. Fact tests
  38. Chapter 6. Theory tests
  39. Chapter 6. Summary
  40. Chapter 7. Substituting dependencies in tests
  41. Chapter 7. Testing code that uses Streams
  42. Chapter 7. Finding easier ways to write large strings
  43. Chapter 7. Replacing dependencies with fakes
  44. Chapter 7. Summary
  45. Chapter 8. Integration testing
  46. Chapter 8. Testing with an in-memory database
  47. Chapter 8. Testing HTTP calls
  48. Chapter 8. Broader integration tests
  49. Chapter 8. Integration-testing ASP.NET Core APIs
  50. Chapter 8. Summary
  51. Part 4. Getting ready for release
  52. Chapter 9. Security
  53. Chapter 9. Threat modeling
  54. Chapter 9. Setting up HTTPS
  55. Chapter 9. Checking for SQL injection vulnerability
  56. Chapter 9. ASP.NET Core Identity
  57. Chapter 9. Authorization
  58. Chapter 9. Summary
  59. Chapter 10. Performance and profiling
  60. Chapter 10. Introduction to BenchmarkDotNet
  61. Chapter 10. Profiles
  62. Chapter 10. Web performance testing
  63. Chapter 10. Summary
  64. Chapter 11. Handling failures
  65. Chapter 11. EF Core
  66. Chapter 11. Polly
  67. Chapter 11. Summary
  68. Chapter 12. Building world-ready applications
  69. Chapter 12. Getting resource strings
  70. Chapter 12. Adding resource languages
  71. Chapter 12. ASP.NET Core’s built-in culture support
  72. Chapter 12. Internationalization
  73. Chapter 12. Summary
  74. Chapter 13. Working with containers
  75. Chapter 13. Container landscape
  76. Chapter 13. Building a container image
  77. Chapter 13. Configuration
  78. Chapter 13. Secrets
  79. Chapter 13. Summary
  80. Appendix A. .NET history
  81. Appendix A. .NET 5/6 and the late majority
  82. Appendix A. A brief introduction to ASP.NET Core
  83. Appendix B. Setting up your development environment
  84. Appendix C. MAUI and Blazor
  85. Appendix C. Blazor
  86. Appendix D. The async state machine
  87. Appendix E. Testing internal members
  88. Appendix F. xUnit supplement
  89. Appendix F. Collections

Product information

  • Title: .NET in Action, Second Edition, Video Edition
  • Author(s): Dustin Metzgar
  • Release date: July 2024
  • Publisher(s): Manning Publications
  • ISBN: None