Building Complete E-commerce/Shopping Cart Application
Follow best practices and explore techniques such as clustering and caching to achieve a reactive, scalable web service
Leverage the .NET Framework to quickly implement RESTful endpoints.
Learn to implement a client library for a RESTful web service using ASP.NET Core.
Book DescriptionREST is an architectural style that tackles the challenges of building scalable web services. In today's connected world, APIs have taken a central role on the web. APIs provide the fabric through which systems interact, and REST has become synonymous with APIs. The depth, breadth, and ease of use of ASP.NET Core makes it a breeze for developers to work with for building robust web APIs. This book takes you through the design of RESTful web services and leverages the ASP.NET Core framework to implement these services. This book begins by introducing you to the basics of the philosophy behind REST. You'll go through the steps of designing and implementing an enterprise-grade RESTful web service. This book takes a practical approach, that you can apply to your own circumstances. This book brings forth the power of the latest .NET Core release, working with MVC. Later, you will learn about the use of the framework to explore approaches to tackle resilience, security, and scalability concerns. You will explore the steps to improve the performance of your applications. You'll also learn techniques to deal with security in web APIs and discover how to implement unit and integration test strategies. By the end of the book, you will have a complete understanding of Building a client for RESTful web services, along with some scaling techniques.
What you will learn
Add basic authentication to your RESTful API
Create a Carts Controller and Orders Controller to manage and process Orders
Intercept HTTP requests and responses by building your own middleware
Test service calls using Postman and Advanced REST Client
Secure your data/application using annotations
Who this book is forThis book is intended for those who want to learn to build RESTful web services with the latest .NET Core Framework. To make best use of the code samples included in the book, you should have a basic knowledge of C# and .NET Core.
Gaurav Aroraa Gaurav Aroraa has an M.Phil in computer science. He is a Microsoft MVP, a lifetime member of Computer Society of India (CSI), an advisory member of IndiaMentor, certified as a scrum trainer/coach, XEN for ITIL-F, and APMG for PRINCE-F and PRINCE-P. Gaurav is an open source developer, a contributor to TechNet Wiki, and the founder of Ovatic Systems Private Limited. In 20+ years of his career, he has mentored thousands of students and industry professionals. You can tweet Gaurav on his Twitter handle @g_arora. Tadit Dash Tadit Dash is a senior software engineer and a hardcore tech community contributor. Due to his exceptional contribution to the technical community, Microsoft has awarded him with the Microsoft Most Valuable Professional accolade since 2014. CodeProject has awarded him the CodeProject MVP accolade (the first from Odisha). For his constant mentorship, IndiaMentor featured him as a young mentor on their site. He was a featured speaker at DevTechDay Nepal and C# Corner Annual Conference, India. You can follow him on Twitter: @taditdash.
Table of Contents
Build Initial Framework - Layout Foundation of Application
User registration and Administration
Item catalogue Cart and Checkout
Integrating external components and handling
Testing RESTful Web Services
Continuous Integration and Continuous Deployment
Securing RESTful Web Services
Scaling RESTful Services (Performance of Web Services)
Building a Web Client (Consuming Web Services)
Introduction to microservices
Dewey Decimal Classfication (DDC)