Master API design and deployment with C# and .NET, creating scalable, secure, and high-performance APIs for real-world applications
Key FeaturesLearn API design principles and architecture for high-performance applicationsDevelop robust APIs using best practices for security, scalability, and maintainabilityImplement both traditional and minimal APIs with real-world scenariosPurchase of the print or Kindle book includes a free PDF eBookBook DescriptionAPIs are at the heart of modern software development, enabling seamless communication between applications. In the C# and .NET ecosystem, mastering API development is key to building scalable, reliable systems that meet both client and enterprise needs.
Written by C# and .NET experts Jesse Liberty and Joseph Dluzen, this book draws on their extensive experience as hands-on programmers to equip you with the tools, techniques, and best practices for creating powerful APIs.
Starting with API fundamentals, it covers everything you need to design, build, and consume APIs using .NET technologies such as ASP.NET Core, and explores both controller and Function API implementations. You'll integrate essential tools such as Postman for testing to streamline your development workflow.
Through practical examples and exercises, the book guides you from database creation to deploying APIs on Azure. By the end of this book, you’ll have gained real-world skills to develop secure, high-performance APIs that scale with your applications for both personal projects and enterprise-level systems.
What you will learnUnderstand core API concepts and how to apply them in .NET projectsDesign RESTful APIs with a focus on scalabilityBuild APIs with ASP.NET CoreExplore alternative options for API development using Azure Functions, including stateful workflows with Durable FunctionsIntegrate databases into API projects, ensuring efficient data flowImplement security measures such as authentication and authorizationDeploy APIs to Azure and learn the essentials of cloud integrationWho this book is forThis book is for .NET developers, software engineers, and backend developers looking to master API development using C# and ASP.NET Core. It caters to those with a basic understanding of C# and familiarity with the .NET ecosystem. Even though no prior experience with API frameworks is required, knowledge of ASP.NET Core will be helpful.
Table of ContentsGetting StartedWhat We'll BuildImplementing with RESTDocumentation with Swagger Data Validation Azure FunctionsAzure Durable Functions Advanced TopicsAuthentication and AuthorizationDeploying to AzureWhat's Next?
Jesse Liberty has three decades of experience writing and delivering software projects and is the author of 2 dozen books and a couple dozen Pluralsight & LinkedIn Learning courses.
He currently works for CNH writing APIs. He was a Senior Technical Evangelist for Microsoft, a Distinguished Software Engineer for AT&T, a VP for Information Services for Citibank and a Software Architect for PBS.
He has been a Microsoft MVP for 13 years.
His most recent book is Writing APIs with .NET (Packt 2024)
Why I wrote this book: when I switched from writing mobile software to writing ApIs I couldn't find a concise but comprehensive book on the topic. I was confused by ASP APIs v Azure Functions and there were new advanced features such as Aspire.
Joe Dluzen and I decided to apply our work with APIs to a book that would cover the essentials and empower C# developers to create APIs for everything from side-projects to enterprise projects. We believe we have succeeded, but look forward to your feedback.
Nežli učebnice jde o ukázku toho, jak postupovat krok za krokem bez možností volby (např. datového úložiště). Chybí důvody ke zvoleným krokům a vysvětlování.