Home
Ken Dale
Cancel

Leniently Parse Comma Separated Configuration Values Using C#

Whether you’re running .NET full framework or .NET Core sometimes you may want to read configuration values at runtime. Sometimes the value might look like "a,b,c", which some might write as "a, b,...

Using BenchmarkDotNet with Azure Functions

BenchmarkDotNet is a tool for benchmarking .NET applications. Azure Functions is a serverless web application offering. You can put these together to benchmark your Azure Functions applications. S...

Peas&Carrots: The Importance Of Url Encoding Query String Parameters

When creating web applications it’s common to create links. Sometimes, links contain query string parameters. Google uses the ?q= query string parameter for search queries. An issue can arise when ...

Coding To Support Both .NET Full Framework and .NET Core

Sometimes when writing .NET libraries we want to support .NET Full Framework, as well as .NET Core. In many cases the functionality is the same, but sometimes it is different. For the cases where ...

Quickstart for Creating a Library Using the .NET Core CLI

The .NET Core CLI enables quickly scaffolding a new library. Here’s a quickstart of commands to use, substituting My.Sample.Project for your own new project: > dotnet new --update-apply > mk...

Using SQL Server LocalDB with Travis CI Windows Builds

Travis CI now includes support for Windows builds. It doesn’t have SQL Server LocalDB installed by default currently, but it’s easy to install. Here’s an example Travis CI configuration that instal...

Using JavaScript Promises And async/await Together

async / await in JavaScript are syntactic sugar for Promises. Since it’s syntactic sugar, they can be used interchangeably! Here’s an example: class TestClass { getPromiseValue() { return ...

A Minimal UI Visual Studio Code Configuration

How would you like to go from this: to this: Add the following to your settings, accessible by File → Preferences → Settings. { "editor.codeLens": false, "editor.minimap.enabled": fa...

A Complete Protractor Travis CI Solution for Angular E2E Testing

TL;DR: Example at https://github.com/kendaleiv/angular-testing. Angular uses Protractor for end-to-end (e2e) testing. Protractor performs browser automation tasks using a running copy of your An...

Providing Outdated Browser Notifications Using Angular

Browser-Update.org is useful for notifying users about an outdated web browser. In the case of SPA applications, the experience using an older browser can range from great to completely broken. If...