(Ben Nadel) When I was first learning about Abstractions in programming, one of the early patterns that I came across was the Data Access Layer (DAL), which attempted to hide the implementation details of the underlying data persistence mechanism.
Tag: Development
Using XUnit [Theory] and [InlineData] to Test C# Extension Methods
(Matthew Jones) In this final part of my unit testing series, we’re going to take a single extension method and show how we can use XUnit’s [Theory] and [InlineData] attributes to quickly write a bunch of tests for that method.
Get List Of Files From Google Drive In ASP.NET Core
(Bipin Joshi) Google drive offers a convenient way to organize and store your files in cloud. It has a rich user web interface that can be used to work with the files and folders.
Passing isArray() Decision Function Does Not Ensure Member Methods In Lucee CFML 5.3.3.62
(Ben Nadel) This post is primarily a note-to-self so I don’t make this mistake again. But, the other day, when I was working on the memory-leak detector code for Lucee CFML, I ran into a fun edge-case having to do with Reflection-style programming.
How to Compute Disorder for Machine Learning Decision Trees Using C#
(James McCaffrey) A decision tree classifier is a machine learning (ML) prediction system that generates rules such as “IF age < 42.0 AND height >= 71.0 THEN jobType = 3.”
Log Requests and Responses in ASP.NET Core 3
(Eric L. Anderson) This post is going to be a refresh of the Log Requests and Responses in ASP.NET Core post which no longer works more modern versions of ASP.NET Core. For the most part, this post will exactly match the original but with the code bits updated.
Using Local Functions to Replace Comments
(Jason Roberts) One idea I’ve been thinking about recently is the replacement of comments with local function calls.
An Introduction to Ordered Associative Containers in C++
(Manoj Debnath) Associative containers are those that provide direct access to its elements for storage and retrieval purposes.
Create and Deploy your Python Django App using Azure DevOps Project
(Abhijit Jana) You can create and deploy your Python Django App very fast using Azure DevOps Project. Azure DevOps Project makes it very easy to get started on Setting up code repo, build, and deployment with Azure.
Snapshotting ColdFusion Component State In Order To Find Memory Leaks In Lucee CFML 5.3.3.62
(Ben Nadel) A couple of years ago, I wrote about a “Snooper” component that I created that would allow you to peek into the private scope of your ColdFusion component state in order to try and find memory leaks. That approach worked.