JSON Web Tokens is an emerging standard. They are very close to their standardisation. IETF has taken care of that, and OpenID connect mandates the use of JSON Web token for all of the tokens that are exchanged in that protocol. this article gives you a little look, an overview of the purpose of security tokens, and, and what other types of tokens we have out there and where, where they are used. Then we have a look at the structure of a JSON Web Token, and then we’ll show you how easy it is to create and consume them using the Microsoft DotNet Core development framework.
Continue reading JSON Web Tokens (JWT)
Here is a simple REST Client talking to a stand along Server API all written in DotNet Core 3.1.
It is loosely based on creating a simple REST Client, an tutorial from Microsoft can give you the very basic features in DotNet Core
Continue reading REST Client / Server API
Build an image from the Dockerfile in the current directory and tag the image
docker build -t myimage -f Dockerfile .
List all images that are locally stored with the Docker Engine
docker ps -a
Delete an image from the local image store
docker image rm CONTAINER_NAME
You may want to remove all orphaned images, you can do this with dandling field
Continue reading Docker cribsheet
docker rmi $(docker images -f dangling=true -q)
I came across this guide as it is an introduction to developing microservices-based applications and managing them using containers. It discusses architectural design and implementation approaches using .NET Core and Docker containers. To make it easier to get started with containers and microservices, the guide focuses on a reference containerized and microservice-based application that you can explore. The sample application is available at the eShopOnContainers GitHub repo.
Continue reading NET Microservices Architecture for Containerised NET Applications
How do you achieve anonymity between publisher and subscriber? An easy way is to let a middleman take care of all the communication. An event bus is one such middleman.
Continue reading event bus interface
I’m going to take a high-level overview of the Microsoft Azure Service Bus. I’ll discuss briefly the four services that make up the Service Bus.
Continue reading The Microsoft Azure Service Bus
Places I have been working they have banded the use of WebSockets to pushing data to the end-user, or devices. I want to delve into the concept of WebSocket introduced in HTML 5, security issues around the WebSocket model, and the best practices that should be adopted to address security issues around WebSocket.
Continue reading WebSocket Security Issues
What are Push Notifications?
A notification is a message that pops up on the user’s device. Notifications can be triggered locally by an open application, or they can be “pushed” from the server to the user even when the app is not running. They allow your users to opt-in to timely updates and allow you to effectively re-engage users with customised content.
Continue reading Push Notifications
.NET Core 3.0, has shipped with the new
Continue reading High-performance JSON API
System.Text.Json APIs, which provides built-in support for JSON, including reader/writer, read-only DOM, and serializer/deserializer. With the performance, the main improvement to the methods, check and see the typical speedups of up to 2x over Json.NET.
The new feature Async Streams in C# has removed the scalar result limitation and allows the async method to returns multiple results.
This change makes the async pattern more flexible so that you can retrieve data in lazy asynchronous sequence from a database or you can download data from an asynchronous sequence that returns the data in chunks when they become available.
Continue reading Async Streams