As part of our customer engagement, we have defined a naming convention for GitHub repositories.
We have ideas around what conventions made sense, although the type of work influences these. As we tend to spend some of your engineering time working with different languages, conventions around naming formats make sense to the engineers. These, of course, might not make sense to individuals in other fields.
Continue reading GitHub Naming Repositories
GISTS – engage in chat or gossip.
“I need a good friend I can always gist with.”
It is always good to chat with others, which is how we learn from each other. So why don’t project teams chat with each other? In this day and age of working from home, it is becoming more and more critical to form a social network, which helps not only with mental health but also work-related ideas and time.
Continue reading gists
The installation model for OCP 4.x is different than 3.x and there are no Azure Resource Manager templates available for deploying OCP 4.x in Azure
Continue reading Requirements for Azure Red Hat OpenShift
What is Red Hat OpenShift?
OpenShift is Kubernetes, but it is also more than Kubernetes it is a collection of other software services that gives you the ability to run an entire Kubernetes environment, which includes:
Continue reading Red Hat OpenShift
On big enterprise projects, memory leaks are like rodents in a factory. You might not notice when there are a few of them, but you always have to be on guard in case they overpopulate, infesting the factory will cause the closer and failure of the factory.
Continue reading Memory Leaks in .NET
If you need a background task within .Net Core to be run at set times we can use the Hosted Service provided from the service within .Net Core.
Continue reading Hosted Background timer task
A little hidden gem within .Net Core is the ability to run a Hosted Service inside the application. This allows for your service to run in a different thread to the main application, but keeps everything together though the need to host a separate service.
Continue reading Hosting a service inside ASP.NET Core
If you are like me you will have been using ILogger in DotNet Core for some time, but you’ll have noticed there are many ways to use the logger, I found this useful article by Rico Suter going over some recommendation and best practices.
Continue reading ILogger in .NET: best practices
Here are various was to convert enums to a lists
Get a List of Enum Members
The idea is to use
Continue reading Convert an enum to a list
Enum.GetValues() method to get an array of the values of the constants in the enum. To get an
IEnumerable<T> of all the values in the enum, call
Cast<T>() on the array. To get a list, call
ToList() after casting.
The fastest way to perform a SQL record count is:
DECLARE @TableName sysname
SET @TableName = 'Log'
SELECT TBL.object_id, TBL.name, SUM(PART.rows) AS rows
FROM sys.tables TBL
INNER JOIN sys.partitions PART ON TBL.object_id = PART.object_id
INNER JOIN sys.indexes IDX ON PART.object_id = IDX.object_id
AND PART.index_id = IDX.index_id
WHERE TBL.name = @TableName
AND IDX.index_id < 2
GROUP BY TBL.object_id, TBL.name;