<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Patterns on Bryan Avery</title><link>https://bryanavery.co.uk/categories/patterns/</link><description>Recent content in Patterns on Bryan Avery</description><generator>Hugo -- gohugo.io</generator><language>en-GB</language><copyright>© 2026 Bryan Avery.</copyright><lastBuildDate>Mon, 20 Jan 2020 13:11:55 +0000</lastBuildDate><atom:link href="https://bryanavery.co.uk/categories/patterns/index.xml" rel="self" type="application/rss+xml"/><item><title>Microservices Best Practices</title><link>https://bryanavery.co.uk/microservices-best-practices/</link><pubDate>Mon, 20 Jan 2020 13:11:55 +0000</pubDate><guid>https://bryanavery.co.uk/microservices-best-practices/</guid><description>&lt;h2&gt;API Gateway&lt;/h2&gt;&#10;&lt;p&gt;API Gateway acts as a &lt;strong&gt;single entry point for all clients&lt;/strong&gt; with a more critical role as an &lt;strong&gt;edge service for exposing microservices to the outside world as managed APIs&lt;/strong&gt;. It sounds like a reverse proxy, but also has additional responsibilities like &lt;strong&gt;simple load-balancing, authentication &amp;amp; authorization, failure handling, auditing, protocol translations,&lt;/strong&gt; and&lt;strong&gt; routing&lt;/strong&gt;. There are several ways in which the API Gateway can be deployed from a development perspective.&lt;/p&gt;</description></item><item><title>ASP.NET Core – MongoDB Repository Pattern &amp; Unit Of Work</title><link>https://bryanavery.co.uk/asp-net-core-mongodb-repository-pattern-unit-of-work/</link><pubDate>Thu, 11 Apr 2019 14:19:01 +0000</pubDate><guid>https://bryanavery.co.uk/asp-net-core-mongodb-repository-pattern-unit-of-work/</guid><description>&lt;p&gt;The implementation of generic repositories and Unit Of Work are complex tasks in MongoDB. The lack of mechanisms in the component hinders its adoption. See how to implement this article.&lt;/p&gt;&#10;&lt;h2&gt;Unit of Work&lt;/h2&gt;&#10;&lt;p&gt;Unit Of Work is a standard used to group one or more operations (usually database operations) into a single transaction or “unit of work”, so that all operations are approved or disapproved as one.&lt;/p&gt;</description></item><item><title>Repository Pattern – for the REST API</title><link>https://bryanavery.co.uk/repository-pattern-for-the-rest-api/</link><pubDate>Fri, 06 Apr 2018 13:51:23 +0000</pubDate><guid>https://bryanavery.co.uk/repository-pattern-for-the-rest-api/</guid><description>&lt;p&gt;The Repository Pattern used to be the next big thing when it was used, but over time it got replaced by frameworks such as the Entity Framework and LINQ, which provided much more functionality and flexibility.&lt;/p&gt;</description></item></channel></rss>