So today I wanted to see if Excel could natively consume JSON APIs.
So today in a rather large project I began getting the following error when I ran a build:
Regular expressions (
Regexes) are a powerful tool for solving certain types of problems - and in particular looking for a certain pattern of text in a larger string and (optionally) replacing it with another.
Assume you have a controller with this
GET end point
Many of the .NET APIs take time intervals as their parameters, and it usually is in milliseconds.
In your traditional database, there are two ways to enforce the restriction that “the value of this column should be unique”:
- Unique constraints
- Unique indexes
This is the dialog I saw when I launched Oracle VM VirtualBox today.
If you are using Entity Framework Core, and are configuring your models using configuration classes (as you probably should) you might run into a situation where after adding your migrations and updating your database, you find that the resulting schema does not have indexes or unique constraints.
While running the entity framework command to add a migration, I got the following error
Are you attempting to open the pgAdmin web console and it appears to be loading endlessly?
I have been writing software for exactly twenty years now. In the course of this I have learnt very many things, which I hope to journal over time.
This is another improvement to the logic of making a
Http request using the HttpClient.
I ran into an interesting problem the other day.
Today we will setup an environment where we can develop and debug code remotely on a Linux environment.
In a previous post I had mentioned that the
HttpClient does not automatically process HTTP redirects and you would have to write the logic yourself.
I recently had an opportunity to revisit some very old code (to the tune of almost a decade) and saw it as an opportunity to make some improvement and cleanup.
The Microsoft Build Engine, MSBuild, is responsible for controlling the build process that translates source code to object code and its relevant artifacts.
I have recently discovered a glorious online streaming radio station, WXQR - New York’s Classical Music Radio Station. This station streams classical music pretty much 24 hours a day.
If you are invoking a web request from your application, you may get the following error:
YouTrack is a robust web based platform for issue tracking, Sprint and Kanban management.
Here is a site I am visiting on Chrome.
This is Part 4 in the series of Joining stings
This is Part 1 in the series of Joining stings
This is Part 2 in the series of Joining stings
Good news if you have been running on Windows Subsystem For Linux (WSL) and have wanted to upgrade to version 2 but have not been willing to join the Windows Insider Program - WSL2 is now out in the main release.
This is Part 1 in the series of Joining stings
I have been running this blog on WordPress since inception, and using WordPress in general for many years (since 2005).
Kestrel, the web server that powers ASP.NET Core is highly optimized for running ASP.NET Core code, and running it fast.
A useful tool to have in your toolbelt is an ability to make web requests and retrieve responses from the command line.
In Unix / Linux land there is a handy command to create an empty file.
Ever wonder how old your favourite language is? You might be surprised!
The .NET framework has a decimal data type.
Suppose you need to extract the byte values of a string in F#
On the surface a perfectly reasonable question.
A software company is an institution that converts money into software that people pay money for.
When working with collections there are several ways that you can determine if a collection is empty.
Suppose, for whatever reason, you need to know your ISP assigned IP address.
One of the features of C# (and the .NET platform in general) is the support of properties as a first class citizen of the runtime.
One of the interesting things about using an object oriented language (like C#) vs a functional one (like Racket) is you get an opportunity to see first hand how different things are doing in either paradigm.
The FizzBuzz problem is one of those ubiquitous industry problems that has been floating around for decades, intended to separate the sheep from the goats.
The Nuget package management system has been a godsend when it comes to managing libraries and dependencies in your projects.
Many of us create .NET Core projects in the following way:
Tuples, or to use their correct name,
ValueTuples, were introduced in C#.
It is often a good idea to verify the file hashes of downloaded files, whether it is to detect that the file you download was actually the one that the developers intended (see what happened to Handbrake for OSX) or to detect corruption of a download.
You have probably come across the
AsReadOnly() extension method, and have probably made liberal use of it.
The other day I spent the better part of an hour trying to figure out why a particular controller action was not being hit by a request.
Did you know that Windows 10 has a proper SSH client, and has had one for a while?