Middleware - is the new AOP?

Middleware - is the new AOP?

a popular way to provide extensions in todays frameworks, is middleware

Many libraries and frameworks are allowing for extensions via a middleware pattern. For example 2 MVC frameworks: .NET Core MVC/WebApi and Node.js Express.

This article has a quick look into this middleware pattern, as found in the mentioned frameworks, and how it can be implemented.

use your own interface

use your own interface

coupling is something which impacts maintainability, interfaces are used to decouple, but they bring their own complexity.

Should you use other peoples interfaces, what is the impact of doing this? consider the ASP.NET IDependencyResolver, or Caslte’s ILog.

dotnet three project setup

dotnet three project setup

dotnet services structure across multiple services for consistency

This post has a few notes on a .NET application, this does not mean the way you do it is right or wrong, its just how I like to do it.

If you are looking for an out the box solution have a look at sharp-architecture, or Paramore

note I will not cover Event Sourcing or CQRS here. this is upto you if you implement it or not. everything here works with(out) either.

.Net and Docker

.Net and Docker

hosting dotnet in docker is really easy, lets look how.

Using Mono, we can take advantage of both linux and docker, which equals some really exciting stuff. In this post we will take a C#, .NET 4.6 and Nancy “hello world” example and run this in a docker container.

Microservices - part 2 - Api Gateway

Microservices - part 2 - Api Gateway

Api Gateways, are great technology and technique to expose API’s of a platform, and encapsulate the complexity of the internal services

As part of working with microservices a common practice is to employ an API Gateway, either off the shelf or custom. This article contains some notes on this component.

embedded views

embedded views

we look at the core power of Nancy, and its MVC support

Lets recap, I have looked into

  • Hosting Nancy in a Windows Service and Console Application using Topshelf
  • Adding the time taken for a request into the Trace Log
  • How to Embed views into the DLL and get them to render

Pagination


© 2022 dbones.co.uk. All rights reserved.