Building RESTful web services with .NET Core :: developing distributed web services to improve scalability with .NET Core 2.0 and ASP.NET Core 2.0 /
Annotation
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham, UK :
Packt Publishing,
2018.
|
Schlagworte: | |
Online-Zugang: | Volltext |
Zusammenfassung: | Annotation |
Beschreibung: | 1 online resource (1 volume) : illustrations |
ISBN: | 9781788296991 1788296990 1788291573 9781788291576 |
Internformat
MARC
LEADER | 00000cam a2200000 i 4500 | ||
---|---|---|---|
001 | ZDB-4-EBA-on1042168462 | ||
003 | OCoLC | ||
005 | 20241004212047.0 | ||
006 | m o d | ||
007 | cr unu|||||||| | ||
008 | 180628s2018 enka o 000 0 eng d | ||
040 | |a UMI |b eng |e rda |e pn |c UMI |d OCLCF |d TOH |d STF |d DEBBG |d TEFOD |d CEF |d G3B |d S9I |d N$T |d UAB |d AU@ |d VT2 |d C6I |d OCLCQ |d OCLCO |d NZAUC |d OCLCQ |d OCLCO |d DXU | ||
020 | |a 9781788296991 |q (electronic bk.) | ||
020 | |a 1788296990 |q (electronic bk.) | ||
020 | |a 1788291573 | ||
020 | |a 9781788291576 | ||
035 | |a (OCoLC)1042168462 | ||
037 | |a CL0500000975 |b Safari Books Online | ||
037 | |a D8145E0C-23F9-488E-8C7A-117118D4C9C6 |b OverDrive, Inc. |n http://www.overdrive.com | ||
050 | 4 | |a TK5105.88813 | |
072 | 7 | |a COM |x 060130 |2 bisacsh | |
082 | 7 | |a 005.276 |2 23 | |
049 | |a MAIN | ||
100 | 1 | |a Aroraa, Gaurav, |e author. | |
245 | 1 | 0 | |a Building RESTful web services with .NET Core : |b developing distributed web services to improve scalability with .NET Core 2.0 and ASP.NET Core 2.0 / |c Gaurav Aroraa, Tadit Dash. |
246 | 3 | |a Building representational state transfer web services with .NET Core | |
264 | 1 | |a Birmingham, UK : |b Packt Publishing, |c 2018. | |
300 | |a 1 online resource (1 volume) : |b illustrations | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
347 | |a data file | ||
588 | 0 | |a Online resource; title from title page (Safari, viewed June 27, 2018). | |
520 | 8 | |a Annotation |b Building Complete E-commerce/Shopping Cart ApplicationKey FeaturesFollow best practices and explore techniques such as clustering and caching to achieve a reactive, scalable web serviceLeverage 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 annotationsWho 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. | |
505 | 0 | |a Cover -- Title Page -- Copyright and Credits -- Dedication -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Getting Started -- Discussing RESTful services -- REST characteristics -- Resource-oriented architecture -- URI -- REST constraints -- Client-server architecture -- Stateless -- Caching -- Code on demand (optional) -- Uniform interface -- More explanation -- POST versus PUT explained -- Layered system -- Advantages and disadvantages of RESTful services -- Advantages -- Disadvantages -- ASP.NET Core and RESTful services -- Summary -- Chapter 2: Building the Initial Framework -- Laying the Foundation of the Application -- SOAP -- SOAP structure -- Important points about SOAP -- SOAP with HTTP POST -- REST -- Server and client are independent -- Statelessness -- Setting up the environment -- Running the application -- What's cooking here? -- Interesting facts -- Conclusions -- Request and response -- HTTP verbs -- Postman -- GET -- Status codes -- ASP.NET Core HTTP attributes -- POST -- PUT -- DELETE -- SOAP versus REST -- Single-page application model -- Service-oriented architecture -- Summary -- Chapter 3: User Registration and Administration -- Why authentication and limiting requests? -- Database design -- User registration -- Setting up EF with the API -- Configuring DbContext -- Generating the controller -- Calling the API from a page to register the customer -- CORS -- Adding basic authentication to our REST API -- Step 1 -- Adding the (authorize) attribute -- Step 2 -- Designing BasicAuthenticationOptions and BasicAuthenticationHandler -- Step 3 -- Registering basic authentication at startup -- Adding OAuth 2.0 authentication to our service -- Step 1 -- Designing the Config class -- Step 2 -- Registering Config at startup -- Step 3 -- Adding the [Authorize] attribute -- Step 4 -- Getting the token. | |
505 | 8 | |a Step 5 -- Calling the API with the access token -- Step 6 -- Adding the ProfileService class -- Client-based API-consumption architecture -- Summary -- Chapter 4: Item Catalogue, Cart, and Checkout -- Implementing controllers -- Generating models -- Generating controllers -- Product listing -- Product searching -- Adding to cart -- Implementing security -- Client-side AddToCart function -- API calls for AddToCart -- POST -- api/Carts -- PUT -- api/Carts/{id} -- DELETE -- api/Carts/{id} -- Placing orders -- UI design for placing an order -- The client-side PostOrder function -- Building order objects to match the model class Orders.cs -- Pushing cart items into an order object as an array -- Calling POST /api/Orders -- PostOrders API POST method -- Exposing shipping details -- Summary -- Chapter 5: Integrating External Components and Handling -- Understanding the middleware -- Requesting delegates -- Use -- Run -- Map -- Adding logging to our API in middleware -- Intercepting HTTP requests and responses by building our own middleware -- JSON-RPC for RPC communication -- Request object -- Response object -- Summary -- Chapter 6: Testing RESTful Web Services -- Test paradigms -- Test coverage and code coverage -- Tasks, scenarios, and use cases -- Checklist -- Bugs and defects -- Testing approach -- Test pyramid -- Types of tests -- Testing the ASP.NET Core controller (unit testing) -- Getting ready for the tests -- Writing unit tests -- Stubs and mocking -- Security testing -- Integration testing -- Run tests -- Fake objects -- Run tests -- Testing service calls using Postman, Advanced REST Client, and more -- Postman -- Advanced Rest Client -- User acceptance testing -- Performance or load testing -- Run tests -- Summary -- Chapter 7: Continuous Integration and Continuous Deployment -- Introduction -- deployment terminology -- The build stage. | |
505 | 8 | |a Continuous integration -- Deployment -- Continuous deployment -- Continuous delivery -- Build and deployment pipeline -- Release -- Prerequisites for successful RESTful services deployments -- The Azure environment -- Cloud computing -- The benefits of the cloud -- Cloud-computing service models -- Discussing the Azure environment -- Starting with Azure -- Publishing/hosting -- Project hosting -- The dashboard -- Code -- Work -- Adding code to the repository -- Test -- Creating a test plan -- Creating test cases -- Running manual tests -- Wiki -- Build and Release tab -- CI versus CD -- CI and CD using TFS online -- Initiating the CD release process -- Summary -- Chapter 8: Securing RESTful Web Services -- OWASP security standards -- Securing RESTful web services -- The vulnerable areas of an unsecured web application -- Cross-site scripting attacks -- SQL injection attacks -- What is cooking here? -- Fixing SQL injection attacks -- Cross-site request forgery -- Authentication and authorization in action -- Basic authentication, token-based authorization, and other authentications -- Basic authentication -- The security concerns of basic authentication -- Token-based authorization -- Other authentication methods -- Securing services using annotations -- Validations -- Securing context -- Data encryption and storing sensitive data -- Sensitive data -- Summary -- Chapter 9: Scaling RESTful Services (Performance of Web Services) -- Clustering -- Load balancing -- How does it work? -- Introduction to scalability -- Scaling in (vertical scaling) -- Scaling out (horizontal scaling) -- Linear scalability -- Distributed caching -- Caching persisted data (data-tier caching) -- First-level caching -- Second-level caching -- Application caching -- CacheCow -- Memcached -- Azure Redis Cache -- Communication (asynchronous) -- Summary. | |
505 | 8 | |a Chapter 10: Building a Web Client (Consuming Web Services) -- Consuming RESTful web services -- Building a REST web client -- Cooking the web client -- Writing code -- Implementing a REST web client -- Summary -- Chapter 11: Introduction to Microservices -- Overview of microservices -- Microservice attributes -- Understanding microservice architecture -- Communication in microservices -- Synchronous messaging -- Asynchronous messaging -- Message formats -- Why we should use microservices -- How a microservice architecture works -- Advantages of microservices -- Prerequisites of a microservice architecture -- Scaling -- Vertical scaling -- Horizontal scaling -- DevOps culture -- Automation -- Testing -- Deployment -- Microservices ecosystem in ASP.NET Core -- Azure Service Fabric -- microservice platform -- Stateless and Stateful services -- a service programming model -- Communication -- a way to exchange data between services -- Summary -- Other Books You May Enjoy -- Index. | |
630 | 0 | 0 | |a Microsoft .NET Framework. |0 http://id.loc.gov/authorities/names/n2017043838 |
630 | 0 | 7 | |a Microsoft .NET Framework |2 fast |
650 | 0 | |a Web services. |0 http://id.loc.gov/authorities/subjects/sh2003001435 | |
650 | 0 | |a Application program interfaces (Computer software) |0 http://id.loc.gov/authorities/subjects/sh98004527 | |
650 | 0 | |a Web sites |x Design. |0 http://id.loc.gov/authorities/subjects/sh98000035 | |
650 | 6 | |a Services Web. | |
650 | 6 | |a Interfaces de programmation d'applications. | |
650 | 6 | |a Sites Web |x Conception. | |
650 | 7 | |a APIs (interfaces) |2 aat | |
650 | 7 | |a Programming & scripting languages: general. |2 bicssc | |
650 | 7 | |a Web services. |2 bicssc | |
650 | 7 | |a COMPUTERS |x Web |x Design. |2 bisacsh | |
650 | 7 | |a Application program interfaces (Computer software) |2 fast | |
650 | 7 | |a Web services |2 fast | |
650 | 7 | |a Web sites |x Design |2 fast | |
700 | 1 | |a Dash, Tadit, |e author. | |
856 | 4 | 0 | |l FWS01 |p ZDB-4-EBA |q FWS_PDA_EBA |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1823685 |3 Volltext |
938 | |a EBSCOhost |b EBSC |n 1823685 | ||
994 | |a 92 |b GEBAY | ||
912 | |a ZDB-4-EBA | ||
049 | |a DE-863 |
Datensatz im Suchindex
DE-BY-FWS_katkey | ZDB-4-EBA-on1042168462 |
---|---|
_version_ | 1816882464068468736 |
adam_text | |
any_adam_object | |
author | Aroraa, Gaurav Dash, Tadit |
author_facet | Aroraa, Gaurav Dash, Tadit |
author_role | aut aut |
author_sort | Aroraa, Gaurav |
author_variant | g a ga t d td |
building | Verbundindex |
bvnumber | localFWS |
callnumber-first | T - Technology |
callnumber-label | TK5105 |
callnumber-raw | TK5105.88813 |
callnumber-search | TK5105.88813 |
callnumber-sort | TK 45105.88813 |
callnumber-subject | TK - Electrical and Nuclear Engineering |
collection | ZDB-4-EBA |
contents | Cover -- Title Page -- Copyright and Credits -- Dedication -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Getting Started -- Discussing RESTful services -- REST characteristics -- Resource-oriented architecture -- URI -- REST constraints -- Client-server architecture -- Stateless -- Caching -- Code on demand (optional) -- Uniform interface -- More explanation -- POST versus PUT explained -- Layered system -- Advantages and disadvantages of RESTful services -- Advantages -- Disadvantages -- ASP.NET Core and RESTful services -- Summary -- Chapter 2: Building the Initial Framework -- Laying the Foundation of the Application -- SOAP -- SOAP structure -- Important points about SOAP -- SOAP with HTTP POST -- REST -- Server and client are independent -- Statelessness -- Setting up the environment -- Running the application -- What's cooking here? -- Interesting facts -- Conclusions -- Request and response -- HTTP verbs -- Postman -- GET -- Status codes -- ASP.NET Core HTTP attributes -- POST -- PUT -- DELETE -- SOAP versus REST -- Single-page application model -- Service-oriented architecture -- Summary -- Chapter 3: User Registration and Administration -- Why authentication and limiting requests? -- Database design -- User registration -- Setting up EF with the API -- Configuring DbContext -- Generating the controller -- Calling the API from a page to register the customer -- CORS -- Adding basic authentication to our REST API -- Step 1 -- Adding the (authorize) attribute -- Step 2 -- Designing BasicAuthenticationOptions and BasicAuthenticationHandler -- Step 3 -- Registering basic authentication at startup -- Adding OAuth 2.0 authentication to our service -- Step 1 -- Designing the Config class -- Step 2 -- Registering Config at startup -- Step 3 -- Adding the [Authorize] attribute -- Step 4 -- Getting the token. Step 5 -- Calling the API with the access token -- Step 6 -- Adding the ProfileService class -- Client-based API-consumption architecture -- Summary -- Chapter 4: Item Catalogue, Cart, and Checkout -- Implementing controllers -- Generating models -- Generating controllers -- Product listing -- Product searching -- Adding to cart -- Implementing security -- Client-side AddToCart function -- API calls for AddToCart -- POST -- api/Carts -- PUT -- api/Carts/{id} -- DELETE -- api/Carts/{id} -- Placing orders -- UI design for placing an order -- The client-side PostOrder function -- Building order objects to match the model class Orders.cs -- Pushing cart items into an order object as an array -- Calling POST /api/Orders -- PostOrders API POST method -- Exposing shipping details -- Summary -- Chapter 5: Integrating External Components and Handling -- Understanding the middleware -- Requesting delegates -- Use -- Run -- Map -- Adding logging to our API in middleware -- Intercepting HTTP requests and responses by building our own middleware -- JSON-RPC for RPC communication -- Request object -- Response object -- Summary -- Chapter 6: Testing RESTful Web Services -- Test paradigms -- Test coverage and code coverage -- Tasks, scenarios, and use cases -- Checklist -- Bugs and defects -- Testing approach -- Test pyramid -- Types of tests -- Testing the ASP.NET Core controller (unit testing) -- Getting ready for the tests -- Writing unit tests -- Stubs and mocking -- Security testing -- Integration testing -- Run tests -- Fake objects -- Run tests -- Testing service calls using Postman, Advanced REST Client, and more -- Postman -- Advanced Rest Client -- User acceptance testing -- Performance or load testing -- Run tests -- Summary -- Chapter 7: Continuous Integration and Continuous Deployment -- Introduction -- deployment terminology -- The build stage. Continuous integration -- Deployment -- Continuous deployment -- Continuous delivery -- Build and deployment pipeline -- Release -- Prerequisites for successful RESTful services deployments -- The Azure environment -- Cloud computing -- The benefits of the cloud -- Cloud-computing service models -- Discussing the Azure environment -- Starting with Azure -- Publishing/hosting -- Project hosting -- The dashboard -- Code -- Work -- Adding code to the repository -- Test -- Creating a test plan -- Creating test cases -- Running manual tests -- Wiki -- Build and Release tab -- CI versus CD -- CI and CD using TFS online -- Initiating the CD release process -- Summary -- Chapter 8: Securing RESTful Web Services -- OWASP security standards -- Securing RESTful web services -- The vulnerable areas of an unsecured web application -- Cross-site scripting attacks -- SQL injection attacks -- What is cooking here? -- Fixing SQL injection attacks -- Cross-site request forgery -- Authentication and authorization in action -- Basic authentication, token-based authorization, and other authentications -- Basic authentication -- The security concerns of basic authentication -- Token-based authorization -- Other authentication methods -- Securing services using annotations -- Validations -- Securing context -- Data encryption and storing sensitive data -- Sensitive data -- Summary -- Chapter 9: Scaling RESTful Services (Performance of Web Services) -- Clustering -- Load balancing -- How does it work? -- Introduction to scalability -- Scaling in (vertical scaling) -- Scaling out (horizontal scaling) -- Linear scalability -- Distributed caching -- Caching persisted data (data-tier caching) -- First-level caching -- Second-level caching -- Application caching -- CacheCow -- Memcached -- Azure Redis Cache -- Communication (asynchronous) -- Summary. Chapter 10: Building a Web Client (Consuming Web Services) -- Consuming RESTful web services -- Building a REST web client -- Cooking the web client -- Writing code -- Implementing a REST web client -- Summary -- Chapter 11: Introduction to Microservices -- Overview of microservices -- Microservice attributes -- Understanding microservice architecture -- Communication in microservices -- Synchronous messaging -- Asynchronous messaging -- Message formats -- Why we should use microservices -- How a microservice architecture works -- Advantages of microservices -- Prerequisites of a microservice architecture -- Scaling -- Vertical scaling -- Horizontal scaling -- DevOps culture -- Automation -- Testing -- Deployment -- Microservices ecosystem in ASP.NET Core -- Azure Service Fabric -- microservice platform -- Stateless and Stateful services -- a service programming model -- Communication -- a way to exchange data between services -- Summary -- Other Books You May Enjoy -- Index. |
ctrlnum | (OCoLC)1042168462 |
dewey-full | 005.276 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.276 |
dewey-search | 005.276 |
dewey-sort | 15.276 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>11540cam a2200649 i 4500</leader><controlfield tag="001">ZDB-4-EBA-on1042168462</controlfield><controlfield tag="003">OCoLC</controlfield><controlfield tag="005">20241004212047.0</controlfield><controlfield tag="006">m o d </controlfield><controlfield tag="007">cr unu||||||||</controlfield><controlfield tag="008">180628s2018 enka o 000 0 eng d</controlfield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">UMI</subfield><subfield code="b">eng</subfield><subfield code="e">rda</subfield><subfield code="e">pn</subfield><subfield code="c">UMI</subfield><subfield code="d">OCLCF</subfield><subfield code="d">TOH</subfield><subfield code="d">STF</subfield><subfield code="d">DEBBG</subfield><subfield code="d">TEFOD</subfield><subfield code="d">CEF</subfield><subfield code="d">G3B</subfield><subfield code="d">S9I</subfield><subfield code="d">N$T</subfield><subfield code="d">UAB</subfield><subfield code="d">AU@</subfield><subfield code="d">VT2</subfield><subfield code="d">C6I</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">NZAUC</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">DXU</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781788296991</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1788296990</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1788291573</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781788291576</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)1042168462</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">CL0500000975</subfield><subfield code="b">Safari Books Online</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">D8145E0C-23F9-488E-8C7A-117118D4C9C6</subfield><subfield code="b">OverDrive, Inc.</subfield><subfield code="n">http://www.overdrive.com</subfield></datafield><datafield tag="050" ind1=" " ind2="4"><subfield code="a">TK5105.88813</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">060130</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="082" ind1="7" ind2=" "><subfield code="a">005.276</subfield><subfield code="2">23</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Aroraa, Gaurav,</subfield><subfield code="e">author.</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Building RESTful web services with .NET Core :</subfield><subfield code="b">developing distributed web services to improve scalability with .NET Core 2.0 and ASP.NET Core 2.0 /</subfield><subfield code="c">Gaurav Aroraa, Tadit Dash.</subfield></datafield><datafield tag="246" ind1="3" ind2=" "><subfield code="a">Building representational state transfer web services with .NET Core</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Birmingham, UK :</subfield><subfield code="b">Packt Publishing,</subfield><subfield code="c">2018.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 online resource (1 volume) :</subfield><subfield code="b">illustrations</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">computer</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">online resource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="347" ind1=" " ind2=" "><subfield code="a">data file</subfield></datafield><datafield tag="588" ind1="0" ind2=" "><subfield code="a">Online resource; title from title page (Safari, viewed June 27, 2018).</subfield></datafield><datafield tag="520" ind1="8" ind2=" "><subfield code="a">Annotation</subfield><subfield code="b">Building Complete E-commerce/Shopping Cart ApplicationKey FeaturesFollow best practices and explore techniques such as clustering and caching to achieve a reactive, scalable web serviceLeverage 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 annotationsWho 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.</subfield></datafield><datafield tag="505" ind1="0" ind2=" "><subfield code="a">Cover -- Title Page -- Copyright and Credits -- Dedication -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Getting Started -- Discussing RESTful services -- REST characteristics -- Resource-oriented architecture -- URI -- REST constraints -- Client-server architecture -- Stateless -- Caching -- Code on demand (optional) -- Uniform interface -- More explanation -- POST versus PUT explained -- Layered system -- Advantages and disadvantages of RESTful services -- Advantages -- Disadvantages -- ASP.NET Core and RESTful services -- Summary -- Chapter 2: Building the Initial Framework -- Laying the Foundation of the Application -- SOAP -- SOAP structure -- Important points about SOAP -- SOAP with HTTP POST -- REST -- Server and client are independent -- Statelessness -- Setting up the environment -- Running the application -- What's cooking here? -- Interesting facts -- Conclusions -- Request and response -- HTTP verbs -- Postman -- GET -- Status codes -- ASP.NET Core HTTP attributes -- POST -- PUT -- DELETE -- SOAP versus REST -- Single-page application model -- Service-oriented architecture -- Summary -- Chapter 3: User Registration and Administration -- Why authentication and limiting requests? -- Database design -- User registration -- Setting up EF with the API -- Configuring DbContext -- Generating the controller -- Calling the API from a page to register the customer -- CORS -- Adding basic authentication to our REST API -- Step 1 -- Adding the (authorize) attribute -- Step 2 -- Designing BasicAuthenticationOptions and BasicAuthenticationHandler -- Step 3 -- Registering basic authentication at startup -- Adding OAuth 2.0 authentication to our service -- Step 1 -- Designing the Config class -- Step 2 -- Registering Config at startup -- Step 3 -- Adding the [Authorize] attribute -- Step 4 -- Getting the token.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Step 5 -- Calling the API with the access token -- Step 6 -- Adding the ProfileService class -- Client-based API-consumption architecture -- Summary -- Chapter 4: Item Catalogue, Cart, and Checkout -- Implementing controllers -- Generating models -- Generating controllers -- Product listing -- Product searching -- Adding to cart -- Implementing security -- Client-side AddToCart function -- API calls for AddToCart -- POST -- api/Carts -- PUT -- api/Carts/{id} -- DELETE -- api/Carts/{id} -- Placing orders -- UI design for placing an order -- The client-side PostOrder function -- Building order objects to match the model class Orders.cs -- Pushing cart items into an order object as an array -- Calling POST /api/Orders -- PostOrders API POST method -- Exposing shipping details -- Summary -- Chapter 5: Integrating External Components and Handling -- Understanding the middleware -- Requesting delegates -- Use -- Run -- Map -- Adding logging to our API in middleware -- Intercepting HTTP requests and responses by building our own middleware -- JSON-RPC for RPC communication -- Request object -- Response object -- Summary -- Chapter 6: Testing RESTful Web Services -- Test paradigms -- Test coverage and code coverage -- Tasks, scenarios, and use cases -- Checklist -- Bugs and defects -- Testing approach -- Test pyramid -- Types of tests -- Testing the ASP.NET Core controller (unit testing) -- Getting ready for the tests -- Writing unit tests -- Stubs and mocking -- Security testing -- Integration testing -- Run tests -- Fake objects -- Run tests -- Testing service calls using Postman, Advanced REST Client, and more -- Postman -- Advanced Rest Client -- User acceptance testing -- Performance or load testing -- Run tests -- Summary -- Chapter 7: Continuous Integration and Continuous Deployment -- Introduction -- deployment terminology -- The build stage.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Continuous integration -- Deployment -- Continuous deployment -- Continuous delivery -- Build and deployment pipeline -- Release -- Prerequisites for successful RESTful services deployments -- The Azure environment -- Cloud computing -- The benefits of the cloud -- Cloud-computing service models -- Discussing the Azure environment -- Starting with Azure -- Publishing/hosting -- Project hosting -- The dashboard -- Code -- Work -- Adding code to the repository -- Test -- Creating a test plan -- Creating test cases -- Running manual tests -- Wiki -- Build and Release tab -- CI versus CD -- CI and CD using TFS online -- Initiating the CD release process -- Summary -- Chapter 8: Securing RESTful Web Services -- OWASP security standards -- Securing RESTful web services -- The vulnerable areas of an unsecured web application -- Cross-site scripting attacks -- SQL injection attacks -- What is cooking here? -- Fixing SQL injection attacks -- Cross-site request forgery -- Authentication and authorization in action -- Basic authentication, token-based authorization, and other authentications -- Basic authentication -- The security concerns of basic authentication -- Token-based authorization -- Other authentication methods -- Securing services using annotations -- Validations -- Securing context -- Data encryption and storing sensitive data -- Sensitive data -- Summary -- Chapter 9: Scaling RESTful Services (Performance of Web Services) -- Clustering -- Load balancing -- How does it work? -- Introduction to scalability -- Scaling in (vertical scaling) -- Scaling out (horizontal scaling) -- Linear scalability -- Distributed caching -- Caching persisted data (data-tier caching) -- First-level caching -- Second-level caching -- Application caching -- CacheCow -- Memcached -- Azure Redis Cache -- Communication (asynchronous) -- Summary.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Chapter 10: Building a Web Client (Consuming Web Services) -- Consuming RESTful web services -- Building a REST web client -- Cooking the web client -- Writing code -- Implementing a REST web client -- Summary -- Chapter 11: Introduction to Microservices -- Overview of microservices -- Microservice attributes -- Understanding microservice architecture -- Communication in microservices -- Synchronous messaging -- Asynchronous messaging -- Message formats -- Why we should use microservices -- How a microservice architecture works -- Advantages of microservices -- Prerequisites of a microservice architecture -- Scaling -- Vertical scaling -- Horizontal scaling -- DevOps culture -- Automation -- Testing -- Deployment -- Microservices ecosystem in ASP.NET Core -- Azure Service Fabric -- microservice platform -- Stateless and Stateful services -- a service programming model -- Communication -- a way to exchange data between services -- Summary -- Other Books You May Enjoy -- Index.</subfield></datafield><datafield tag="630" ind1="0" ind2="0"><subfield code="a">Microsoft .NET Framework.</subfield><subfield code="0">http://id.loc.gov/authorities/names/n2017043838</subfield></datafield><datafield tag="630" ind1="0" ind2="7"><subfield code="a">Microsoft .NET Framework</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Web services.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh2003001435</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Application program interfaces (Computer software)</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh98004527</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Web sites</subfield><subfield code="x">Design.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh98000035</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Services Web.</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Interfaces de programmation d'applications.</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Sites Web</subfield><subfield code="x">Conception.</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">APIs (interfaces)</subfield><subfield code="2">aat</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Programming & scripting languages: general.</subfield><subfield code="2">bicssc</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Web services.</subfield><subfield code="2">bicssc</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS</subfield><subfield code="x">Web</subfield><subfield code="x">Design.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Application program interfaces (Computer software)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Web services</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Web sites</subfield><subfield code="x">Design</subfield><subfield code="2">fast</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Dash, Tadit,</subfield><subfield code="e">author.</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="l">FWS01</subfield><subfield code="p">ZDB-4-EBA</subfield><subfield code="q">FWS_PDA_EBA</subfield><subfield code="u">https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1823685</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBSCOhost</subfield><subfield code="b">EBSC</subfield><subfield code="n">1823685</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">GEBAY</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-4-EBA</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-863</subfield></datafield></record></collection> |
id | ZDB-4-EBA-on1042168462 |
illustrated | Illustrated |
indexdate | 2024-11-27T13:29:01Z |
institution | BVB |
isbn | 9781788296991 1788296990 1788291573 9781788291576 |
language | English |
oclc_num | 1042168462 |
open_access_boolean | |
owner | MAIN DE-863 DE-BY-FWS |
owner_facet | MAIN DE-863 DE-BY-FWS |
physical | 1 online resource (1 volume) : illustrations |
psigel | ZDB-4-EBA |
publishDate | 2018 |
publishDateSearch | 2018 |
publishDateSort | 2018 |
publisher | Packt Publishing, |
record_format | marc |
spelling | Aroraa, Gaurav, author. Building RESTful web services with .NET Core : developing distributed web services to improve scalability with .NET Core 2.0 and ASP.NET Core 2.0 / Gaurav Aroraa, Tadit Dash. Building representational state transfer web services with .NET Core Birmingham, UK : Packt Publishing, 2018. 1 online resource (1 volume) : illustrations text txt rdacontent computer c rdamedia online resource cr rdacarrier data file Online resource; title from title page (Safari, viewed June 27, 2018). Annotation Building Complete E-commerce/Shopping Cart ApplicationKey FeaturesFollow best practices and explore techniques such as clustering and caching to achieve a reactive, scalable web serviceLeverage 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 annotationsWho 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. Cover -- Title Page -- Copyright and Credits -- Dedication -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Getting Started -- Discussing RESTful services -- REST characteristics -- Resource-oriented architecture -- URI -- REST constraints -- Client-server architecture -- Stateless -- Caching -- Code on demand (optional) -- Uniform interface -- More explanation -- POST versus PUT explained -- Layered system -- Advantages and disadvantages of RESTful services -- Advantages -- Disadvantages -- ASP.NET Core and RESTful services -- Summary -- Chapter 2: Building the Initial Framework -- Laying the Foundation of the Application -- SOAP -- SOAP structure -- Important points about SOAP -- SOAP with HTTP POST -- REST -- Server and client are independent -- Statelessness -- Setting up the environment -- Running the application -- What's cooking here? -- Interesting facts -- Conclusions -- Request and response -- HTTP verbs -- Postman -- GET -- Status codes -- ASP.NET Core HTTP attributes -- POST -- PUT -- DELETE -- SOAP versus REST -- Single-page application model -- Service-oriented architecture -- Summary -- Chapter 3: User Registration and Administration -- Why authentication and limiting requests? -- Database design -- User registration -- Setting up EF with the API -- Configuring DbContext -- Generating the controller -- Calling the API from a page to register the customer -- CORS -- Adding basic authentication to our REST API -- Step 1 -- Adding the (authorize) attribute -- Step 2 -- Designing BasicAuthenticationOptions and BasicAuthenticationHandler -- Step 3 -- Registering basic authentication at startup -- Adding OAuth 2.0 authentication to our service -- Step 1 -- Designing the Config class -- Step 2 -- Registering Config at startup -- Step 3 -- Adding the [Authorize] attribute -- Step 4 -- Getting the token. Step 5 -- Calling the API with the access token -- Step 6 -- Adding the ProfileService class -- Client-based API-consumption architecture -- Summary -- Chapter 4: Item Catalogue, Cart, and Checkout -- Implementing controllers -- Generating models -- Generating controllers -- Product listing -- Product searching -- Adding to cart -- Implementing security -- Client-side AddToCart function -- API calls for AddToCart -- POST -- api/Carts -- PUT -- api/Carts/{id} -- DELETE -- api/Carts/{id} -- Placing orders -- UI design for placing an order -- The client-side PostOrder function -- Building order objects to match the model class Orders.cs -- Pushing cart items into an order object as an array -- Calling POST /api/Orders -- PostOrders API POST method -- Exposing shipping details -- Summary -- Chapter 5: Integrating External Components and Handling -- Understanding the middleware -- Requesting delegates -- Use -- Run -- Map -- Adding logging to our API in middleware -- Intercepting HTTP requests and responses by building our own middleware -- JSON-RPC for RPC communication -- Request object -- Response object -- Summary -- Chapter 6: Testing RESTful Web Services -- Test paradigms -- Test coverage and code coverage -- Tasks, scenarios, and use cases -- Checklist -- Bugs and defects -- Testing approach -- Test pyramid -- Types of tests -- Testing the ASP.NET Core controller (unit testing) -- Getting ready for the tests -- Writing unit tests -- Stubs and mocking -- Security testing -- Integration testing -- Run tests -- Fake objects -- Run tests -- Testing service calls using Postman, Advanced REST Client, and more -- Postman -- Advanced Rest Client -- User acceptance testing -- Performance or load testing -- Run tests -- Summary -- Chapter 7: Continuous Integration and Continuous Deployment -- Introduction -- deployment terminology -- The build stage. Continuous integration -- Deployment -- Continuous deployment -- Continuous delivery -- Build and deployment pipeline -- Release -- Prerequisites for successful RESTful services deployments -- The Azure environment -- Cloud computing -- The benefits of the cloud -- Cloud-computing service models -- Discussing the Azure environment -- Starting with Azure -- Publishing/hosting -- Project hosting -- The dashboard -- Code -- Work -- Adding code to the repository -- Test -- Creating a test plan -- Creating test cases -- Running manual tests -- Wiki -- Build and Release tab -- CI versus CD -- CI and CD using TFS online -- Initiating the CD release process -- Summary -- Chapter 8: Securing RESTful Web Services -- OWASP security standards -- Securing RESTful web services -- The vulnerable areas of an unsecured web application -- Cross-site scripting attacks -- SQL injection attacks -- What is cooking here? -- Fixing SQL injection attacks -- Cross-site request forgery -- Authentication and authorization in action -- Basic authentication, token-based authorization, and other authentications -- Basic authentication -- The security concerns of basic authentication -- Token-based authorization -- Other authentication methods -- Securing services using annotations -- Validations -- Securing context -- Data encryption and storing sensitive data -- Sensitive data -- Summary -- Chapter 9: Scaling RESTful Services (Performance of Web Services) -- Clustering -- Load balancing -- How does it work? -- Introduction to scalability -- Scaling in (vertical scaling) -- Scaling out (horizontal scaling) -- Linear scalability -- Distributed caching -- Caching persisted data (data-tier caching) -- First-level caching -- Second-level caching -- Application caching -- CacheCow -- Memcached -- Azure Redis Cache -- Communication (asynchronous) -- Summary. Chapter 10: Building a Web Client (Consuming Web Services) -- Consuming RESTful web services -- Building a REST web client -- Cooking the web client -- Writing code -- Implementing a REST web client -- Summary -- Chapter 11: Introduction to Microservices -- Overview of microservices -- Microservice attributes -- Understanding microservice architecture -- Communication in microservices -- Synchronous messaging -- Asynchronous messaging -- Message formats -- Why we should use microservices -- How a microservice architecture works -- Advantages of microservices -- Prerequisites of a microservice architecture -- Scaling -- Vertical scaling -- Horizontal scaling -- DevOps culture -- Automation -- Testing -- Deployment -- Microservices ecosystem in ASP.NET Core -- Azure Service Fabric -- microservice platform -- Stateless and Stateful services -- a service programming model -- Communication -- a way to exchange data between services -- Summary -- Other Books You May Enjoy -- Index. Microsoft .NET Framework. http://id.loc.gov/authorities/names/n2017043838 Microsoft .NET Framework fast Web services. http://id.loc.gov/authorities/subjects/sh2003001435 Application program interfaces (Computer software) http://id.loc.gov/authorities/subjects/sh98004527 Web sites Design. http://id.loc.gov/authorities/subjects/sh98000035 Services Web. Interfaces de programmation d'applications. Sites Web Conception. APIs (interfaces) aat Programming & scripting languages: general. bicssc Web services. bicssc COMPUTERS Web Design. bisacsh Application program interfaces (Computer software) fast Web services fast Web sites Design fast Dash, Tadit, author. FWS01 ZDB-4-EBA FWS_PDA_EBA https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1823685 Volltext |
spellingShingle | Aroraa, Gaurav Dash, Tadit Building RESTful web services with .NET Core : developing distributed web services to improve scalability with .NET Core 2.0 and ASP.NET Core 2.0 / Cover -- Title Page -- Copyright and Credits -- Dedication -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Getting Started -- Discussing RESTful services -- REST characteristics -- Resource-oriented architecture -- URI -- REST constraints -- Client-server architecture -- Stateless -- Caching -- Code on demand (optional) -- Uniform interface -- More explanation -- POST versus PUT explained -- Layered system -- Advantages and disadvantages of RESTful services -- Advantages -- Disadvantages -- ASP.NET Core and RESTful services -- Summary -- Chapter 2: Building the Initial Framework -- Laying the Foundation of the Application -- SOAP -- SOAP structure -- Important points about SOAP -- SOAP with HTTP POST -- REST -- Server and client are independent -- Statelessness -- Setting up the environment -- Running the application -- What's cooking here? -- Interesting facts -- Conclusions -- Request and response -- HTTP verbs -- Postman -- GET -- Status codes -- ASP.NET Core HTTP attributes -- POST -- PUT -- DELETE -- SOAP versus REST -- Single-page application model -- Service-oriented architecture -- Summary -- Chapter 3: User Registration and Administration -- Why authentication and limiting requests? -- Database design -- User registration -- Setting up EF with the API -- Configuring DbContext -- Generating the controller -- Calling the API from a page to register the customer -- CORS -- Adding basic authentication to our REST API -- Step 1 -- Adding the (authorize) attribute -- Step 2 -- Designing BasicAuthenticationOptions and BasicAuthenticationHandler -- Step 3 -- Registering basic authentication at startup -- Adding OAuth 2.0 authentication to our service -- Step 1 -- Designing the Config class -- Step 2 -- Registering Config at startup -- Step 3 -- Adding the [Authorize] attribute -- Step 4 -- Getting the token. Step 5 -- Calling the API with the access token -- Step 6 -- Adding the ProfileService class -- Client-based API-consumption architecture -- Summary -- Chapter 4: Item Catalogue, Cart, and Checkout -- Implementing controllers -- Generating models -- Generating controllers -- Product listing -- Product searching -- Adding to cart -- Implementing security -- Client-side AddToCart function -- API calls for AddToCart -- POST -- api/Carts -- PUT -- api/Carts/{id} -- DELETE -- api/Carts/{id} -- Placing orders -- UI design for placing an order -- The client-side PostOrder function -- Building order objects to match the model class Orders.cs -- Pushing cart items into an order object as an array -- Calling POST /api/Orders -- PostOrders API POST method -- Exposing shipping details -- Summary -- Chapter 5: Integrating External Components and Handling -- Understanding the middleware -- Requesting delegates -- Use -- Run -- Map -- Adding logging to our API in middleware -- Intercepting HTTP requests and responses by building our own middleware -- JSON-RPC for RPC communication -- Request object -- Response object -- Summary -- Chapter 6: Testing RESTful Web Services -- Test paradigms -- Test coverage and code coverage -- Tasks, scenarios, and use cases -- Checklist -- Bugs and defects -- Testing approach -- Test pyramid -- Types of tests -- Testing the ASP.NET Core controller (unit testing) -- Getting ready for the tests -- Writing unit tests -- Stubs and mocking -- Security testing -- Integration testing -- Run tests -- Fake objects -- Run tests -- Testing service calls using Postman, Advanced REST Client, and more -- Postman -- Advanced Rest Client -- User acceptance testing -- Performance or load testing -- Run tests -- Summary -- Chapter 7: Continuous Integration and Continuous Deployment -- Introduction -- deployment terminology -- The build stage. Continuous integration -- Deployment -- Continuous deployment -- Continuous delivery -- Build and deployment pipeline -- Release -- Prerequisites for successful RESTful services deployments -- The Azure environment -- Cloud computing -- The benefits of the cloud -- Cloud-computing service models -- Discussing the Azure environment -- Starting with Azure -- Publishing/hosting -- Project hosting -- The dashboard -- Code -- Work -- Adding code to the repository -- Test -- Creating a test plan -- Creating test cases -- Running manual tests -- Wiki -- Build and Release tab -- CI versus CD -- CI and CD using TFS online -- Initiating the CD release process -- Summary -- Chapter 8: Securing RESTful Web Services -- OWASP security standards -- Securing RESTful web services -- The vulnerable areas of an unsecured web application -- Cross-site scripting attacks -- SQL injection attacks -- What is cooking here? -- Fixing SQL injection attacks -- Cross-site request forgery -- Authentication and authorization in action -- Basic authentication, token-based authorization, and other authentications -- Basic authentication -- The security concerns of basic authentication -- Token-based authorization -- Other authentication methods -- Securing services using annotations -- Validations -- Securing context -- Data encryption and storing sensitive data -- Sensitive data -- Summary -- Chapter 9: Scaling RESTful Services (Performance of Web Services) -- Clustering -- Load balancing -- How does it work? -- Introduction to scalability -- Scaling in (vertical scaling) -- Scaling out (horizontal scaling) -- Linear scalability -- Distributed caching -- Caching persisted data (data-tier caching) -- First-level caching -- Second-level caching -- Application caching -- CacheCow -- Memcached -- Azure Redis Cache -- Communication (asynchronous) -- Summary. Chapter 10: Building a Web Client (Consuming Web Services) -- Consuming RESTful web services -- Building a REST web client -- Cooking the web client -- Writing code -- Implementing a REST web client -- Summary -- Chapter 11: Introduction to Microservices -- Overview of microservices -- Microservice attributes -- Understanding microservice architecture -- Communication in microservices -- Synchronous messaging -- Asynchronous messaging -- Message formats -- Why we should use microservices -- How a microservice architecture works -- Advantages of microservices -- Prerequisites of a microservice architecture -- Scaling -- Vertical scaling -- Horizontal scaling -- DevOps culture -- Automation -- Testing -- Deployment -- Microservices ecosystem in ASP.NET Core -- Azure Service Fabric -- microservice platform -- Stateless and Stateful services -- a service programming model -- Communication -- a way to exchange data between services -- Summary -- Other Books You May Enjoy -- Index. Microsoft .NET Framework. http://id.loc.gov/authorities/names/n2017043838 Microsoft .NET Framework fast Web services. http://id.loc.gov/authorities/subjects/sh2003001435 Application program interfaces (Computer software) http://id.loc.gov/authorities/subjects/sh98004527 Web sites Design. http://id.loc.gov/authorities/subjects/sh98000035 Services Web. Interfaces de programmation d'applications. Sites Web Conception. APIs (interfaces) aat Programming & scripting languages: general. bicssc Web services. bicssc COMPUTERS Web Design. bisacsh Application program interfaces (Computer software) fast Web services fast Web sites Design fast |
subject_GND | http://id.loc.gov/authorities/names/n2017043838 http://id.loc.gov/authorities/subjects/sh2003001435 http://id.loc.gov/authorities/subjects/sh98004527 http://id.loc.gov/authorities/subjects/sh98000035 |
title | Building RESTful web services with .NET Core : developing distributed web services to improve scalability with .NET Core 2.0 and ASP.NET Core 2.0 / |
title_alt | Building representational state transfer web services with .NET Core |
title_auth | Building RESTful web services with .NET Core : developing distributed web services to improve scalability with .NET Core 2.0 and ASP.NET Core 2.0 / |
title_exact_search | Building RESTful web services with .NET Core : developing distributed web services to improve scalability with .NET Core 2.0 and ASP.NET Core 2.0 / |
title_full | Building RESTful web services with .NET Core : developing distributed web services to improve scalability with .NET Core 2.0 and ASP.NET Core 2.0 / Gaurav Aroraa, Tadit Dash. |
title_fullStr | Building RESTful web services with .NET Core : developing distributed web services to improve scalability with .NET Core 2.0 and ASP.NET Core 2.0 / Gaurav Aroraa, Tadit Dash. |
title_full_unstemmed | Building RESTful web services with .NET Core : developing distributed web services to improve scalability with .NET Core 2.0 and ASP.NET Core 2.0 / Gaurav Aroraa, Tadit Dash. |
title_short | Building RESTful web services with .NET Core : |
title_sort | building restful web services with net core developing distributed web services to improve scalability with net core 2 0 and asp net core 2 0 |
title_sub | developing distributed web services to improve scalability with .NET Core 2.0 and ASP.NET Core 2.0 / |
topic | Microsoft .NET Framework. http://id.loc.gov/authorities/names/n2017043838 Microsoft .NET Framework fast Web services. http://id.loc.gov/authorities/subjects/sh2003001435 Application program interfaces (Computer software) http://id.loc.gov/authorities/subjects/sh98004527 Web sites Design. http://id.loc.gov/authorities/subjects/sh98000035 Services Web. Interfaces de programmation d'applications. Sites Web Conception. APIs (interfaces) aat Programming & scripting languages: general. bicssc Web services. bicssc COMPUTERS Web Design. bisacsh Application program interfaces (Computer software) fast Web services fast Web sites Design fast |
topic_facet | Microsoft .NET Framework. Microsoft .NET Framework Web services. Application program interfaces (Computer software) Web sites Design. Services Web. Interfaces de programmation d'applications. Sites Web Conception. APIs (interfaces) Programming & scripting languages: general. COMPUTERS Web Design. Web services Web sites Design |
url | https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1823685 |
work_keys_str_mv | AT aroraagaurav buildingrestfulwebserviceswithnetcoredevelopingdistributedwebservicestoimprovescalabilitywithnetcore20andaspnetcore20 AT dashtadit buildingrestfulwebserviceswithnetcoredevelopingdistributedwebservicestoimprovescalabilitywithnetcore20andaspnetcore20 AT aroraagaurav buildingrepresentationalstatetransferwebserviceswithnetcore AT dashtadit buildingrepresentationalstatetransferwebserviceswithnetcore |