Tag: GUID

The 2 secret endpoints I create in my .NET APIs

In this article, I will show you two simple tricks that help me understand the deployment status of my .NET APIs ...
Continue Reading The 2 secret endpoints I create in my .NET APIs

Understanding WordPress GUIDs: What They Are, and Why Change Them

The WordPress GUID is a unique identifier for individual posts, pages, media, and practically any other custom post type. As such, it’s a key element in rendering your WordPress content… Read more The post Understanding WordPress GUIDs: What They Are, and Why Change Them appeared first on Delicious Brains. ...
Continue Reading Understanding WordPress GUIDs: What They Are, and Why Change Them

Getting resource location with CreatedAtAction and CreatedAtRoute action results

It’s not a good practice to return the ID of a newly created item in the HTTP Response Body. What to do? You can return it in the HTTP Response Headers, with CreatedAtAction and CreatedAtRoute. ...
Continue Reading Getting resource location with CreatedAtAction and CreatedAtRoute action results

3 ways to inject DateTime and test it

DateTime, Guid, and Random values are not under your direct control. You should abstract them to write better code and testing. We’ll see 3 ways to inject and test them in .NET Core projects. ...
Continue Reading 3 ways to inject DateTime and test it

The Ultimate Developer’s Guide to the WordPress Database

Here at Delicious Brains we eat, drink and sleep databases. However, we believe that any developer working with WordPress should have some level of knowledge about the database that sits… Read more The post The Ultimate Developer’s Guide to the WordPress Database appeared first on Delicious Brains. ...
Continue Reading The Ultimate Developer’s Guide to the WordPress Database

Dependency Injection lifetimes in .NET – my epiphany

Singleton, Scoped and Transient: these are the possible lifetimes for DI with .NET Core. How do they change the way objects are constructed? ...
Continue Reading Dependency Injection lifetimes in .NET – my epiphany

Dependency Injection lifetimes in .NET – my epiphany

Singleton, Scoped and Transient: these are the possible lifetimes for DI with .NET Core. How do they change the way objects are constructed? ...
Continue Reading Dependency Injection lifetimes in .NET – my epiphany

5 things you didn’t know about Guid in C#

I’m pretty sure that you’ve already used Guids in C#, but have you ever stopped to think what they are under the hood?an 3 seconds to load. Here you’ll learn few trick to improve your site performance. ...
Continue Reading 5 things you didn’t know about Guid in C#

API Gateways – an overview

API Gateways can help you create microservices and micro frontends, and expose rich APIs to your customers while keeping things simple on your company. ...
Continue Reading API Gateways – an overview