Browse our archives by topic…
C# 8.0 nullable references: MaybeNull
The MaybeNull attribute enables C#8's nullable references feature to provide more useful warnings, by helping it infer information about a method output.
C# 8.0 nullable references: NotNull
The NotNull attribute enables C#8's nullable references feature to provide more useful warnings, by helping it infer information about a method argument.
Azure Synapse for C# Developers: 5 things you need to know
Did you know that Azure Synapse has great support for .NET and #csharp? Learning new languages is often a barrier to digital transformation, being able to use existing people, skills, tools and engineering disciplines can be a massive advantage.
Using multiple azure-cli credentials within automation
Have you ever needed an automated process to use alternative credentials for a subset of tasks? This post will demonstrate a technique that allows you setup multiple, concurrent authenticated sessions when using the azure-cli and switch freely between them.
Does Azure Synapse Analytics spell the end for Azure Databricks?
Have you or are you about to invest in Azure Databricks? If so, the new Spark offering in Azure Synapse Analytics is likely to have grabbed your attention and rightly so. Why is Microsoft putting yet another Spark offering on the table and what does it mean for you?
C# 8.0 nullable references: transcending the type system with AllowNull
C# 8.0 nullable references enable us to annotate our code with information that lets the compiler discover possible null-related bugs. The AllowNull attribute lets us get more expressive with properties and generics.
C# 8.0 nullable references: get better results with nullability attributes
C# 8.0 nullable references enable us to annotate our code with information that lets the compiler discover possible null-related bugs.
Why Power BI developers should care about the new read/write XMLA endpoint
Whilst "read/write XMLA endpoint" might seem like a technical mouthful, its addition to Power BI is a significant milestone in the strategy of bringing Power BI and Analysis Services closer together. As well as closing the gap between IT-managed workloads and self-service BI, it presents a number of new opportunities for Power BI developers in terms of tooling, process and integrations. This post highlights some of the key advantages of this new capability and what they mean for the Power BI developer.
5 tips for an awesome Windows Terminal experience
Improve the already-great Windows Terminal experience by following these tips for customizing the application to work best for you.
C# 8.0 nullable references: getting started in an existing codebase
C# 8.0's nullable references feature dramatically changes a fundamental aspect of the language. In this post, Ian explains how to you can soften the impact by enabling gradually across your projects.
Testing Power BI reports using SpecFlow and .NET
Despite being inherently difficult to test, the need to validate data modelling, business rules and security boundaries in Power BI reports is important, as well as the need for ensuring that quality doesn't regress over time as the insights evolve. This post explains that, by connecting to the underlying tabular model, it is possible to execute scenario-based specifications to add quality gates and build confidence in Power BI reports, just as any other software project.
C# 8.0 nullable references: inferred (non-)nullness
C# 8.0 has two related but distinct notions of nullability. In this article, Ian explains why inferred nullness is a vitally important part of the language's new Nullable References feature.
Testing Power BI Dataflows using SpecFlow and the Common Data Model
Whilst testing Power BI Dataflows isn't something that many people think about, it's critical that business rules and associated data preparation steps are validated to ensure the right insights are available to the right people across the organisation. Data insights are useless, even dangerous, if they can't be trusted, so despite the lack of "official support" or recommended approaches from Microsoft, endjin treat Power BI solutions just as any other software project with respect to testing - building automated quality gates into the end to end development process. This post outlines an approach that endjin has used to test Power BI Dataflows to add quality gates and build confidence in large and complex Power BI solutions.
C# 8.0 nullable references: embrace the expressiveness
C# 8.0 nullable references offer benefits besides the obvious win of detecting null-related coding errors. This new language feature can also improve the expressiveness of your code.
Azure Analysis Services - how to save money with automatic shutdown
Azure Analysis Services provides an enterprise-grade analytical platform with massive scale and flexibility. But, as one of the more expensive services in the Azure platform, consideration should be given to cost management, especially in multi-environment ALM scenarios. This post explains how to massively reduce running costs through automation using Powershell and orchestration tools like Azure DevOps.
Building a proximity detection pipeline
At endjin, our approach focuses on using scientific experimental method to support the creation of fully proved and tested decision making, and the use of scientific research to support our work. This post runs through how we applied that process to creation a pipeline to detect vessel proximity.This is an example which is based around the project we recently worked on with OceanMind. In this project we helped them to build a #serverless architecture which could detect vessel proximity in close to real time. The vessel proximity events we detected were then fed into machine learning algorithms in order to detect illegal fishing!Carmel also runs through some of the actual calculations we used to detect proximity, how we used #data projections to efficiently process large quantitities of incoming data, and the use of #durablefunctions to orchestrate the processing.
Using complex objects in BDD Scenarios with SpecFlow
During our projects at endjin, we often find ourselves evangelising Behaviour Driven Development, and specifically SpecFlow. In this post we look at a technique for defining complex test data objects in your Gherkin feature files, which we've also made available via the endjin-sponsored Corvus.NET project.
C# 8.0 nullable references: non-nullable is the new default
C# 8.0 has an ambitious new feature, called nullable references. In this post, Ian explains why this makes a fundamental change to the default assumptions about nullability.
C# teamwork: share project config with common Nuget Build Asset Packages
See how to manage consistent default configuration across all your .NET projects by using NuGet build assets.
Integration Testing Azure Functions with SpecFlow and C#, Part 5 - Using Corvus.SpecFlow.Extensions in a build pipeline
If you use Azure Functions on a regular basis, you'll likely have grappled with the challenge of testing them. Even now, several years after their introduction, the testing story for Functions is not hugely well defined. In the final post in this series, we show how to ensure specs written using Corvus.SpecFlow.Extensions can run as part of your build pipeline.
Integration Testing Azure Functions with SpecFlow and C#, Part 4 - Controlling your functions with additional configuration
If you use Azure Functions on a regular basis, you'll likely have grappled with the challenge of testing them. Even now, several years after their introduction, the testing story for Functions is not hugely well defined. In the fourth of this series of posts, we look at how configuration can be supplied from your tests to the functions apps being tested.
Integration Testing Azure Functions with SpecFlow and C#, Part 3 - Using hooks to start Functions
If you use Azure Functions on a regular basis, you'll likely have grappled with the challenge of testing them. Even now, several years after their introduction, the testing story for Functions is not hugely well defined. In the third of a series of posts, we look at using classes in the Corvus.SpecFlow.Extensions library to run functions apps via scenario and feature hooks.
Integration Testing Azure Functions with SpecFlow and C#, Part 2 - Using step bindings to start Functions
If you use Azure Functions on a regular basis, you'll likely have grappled with the challenge of testing them. Even now, several years after their introduction, the testing story for Functions is not hugely well defined. In the second of a series of posts, we look at using step bindings provided by the Corvus.SpecFlow.Extensions library to run functions apps as part of your SpecFlow scenarios.
Integration Testing Azure Functions with SpecFlow and C#, Part 1 - Introduction
If you use Azure Functions on a regular basis, you'll likely have grappled with the challenge of testing them. Even now, several years after their introduction, the testing story for Functions is not hugely well defined. In the first of a series of posts, we look at some different approaches to testing your functions apps, and introduce the Corvus.SpecFlow.Extensions library.
High-performance C#: a test pattern for ref structs
C# 7.2 introduce ref structs, a new kind of type (Span<T> is a ref struct) designed to support certain high performance scenarios. There are constraints around their use, and when writing unit tests for our Ais.Net parser, this caused some challenges. This blog describes the technique we used to work around the constraints.
An experimental approach to software development
The application of scientific experimental process to software development leads to the development of fully-validated solutions. This approach provides you with confidence in designs and means that you can quickly identify ideas which are not worth pursuing. At endjin we use the ideas of hypotheses and experimentation when designing any solution and this gives us full confidence in the designs we produce. In this post we outline the steps and advantages of using this approach.
Help for the new CTO: Getting to know your team
As part of my series on guidance for CTOs, I discuss using the Office of the CTO (OCTO) approach to management, its strengths and limitations.
Azure Analysis Services - How to process an asynchronous model refresh from .NET
Integrating Azure Analysis Services into custom applications doesn't just mean read-only data querying. But if your application changes the underlying model, it will need to be re-processed before the changes take effect. This post describes how to use the REST API for Azure Analysis Services inside a custom .NET application to perform asynchronous model refreshes, meaning your applications can reliably and efficiently deal with model updates.
Introducing Ais.Net - High-Performance Parsing in C#
As part of our work with OceanMind, endjin wrote a high performance .NET AIS parser. AIS (Automatic Identification System) is how commercial ships report location information. This blog describes the parser, and the performance techniques it uses.
C# developers! Your scoped components are more dangerous than you think.
There are hidden pitfalls with dependency injection, particularly when managing the lifetime of scoped components. What is safe? And are there other approaches we can take to managing scoped object lifetimes?
Azure Analysis Services: How to execute a DAX query from .NET
Being able to construct DAX queries dynamically in C# means the possibilities are endless in terms of integrating Azure Analysis Services queries into your custom applications, and with the code samples in this post, you have everything you need to get started.
Why You Should Buy My Book: Programming C# 8.0
Ian spent a big chunk of last year writing an update to his book, Programming C# 8.0. Books continue to be Ian's preferred source of learning because nothing else offers the combination of depth, breadth, and coherence. His goal with Programming C# 8.0 (and its predecessors) was very clear: to write the book that he would want to read if he were learning C# today. It is Ian's attempt to distil around 18 years of experience with C# (part of almost 30 years of work as a programmer) into a coherent, complete description of what you'll need to know to be productive today in C#.
Setting up Porter on Windows
Porter is a tool based on the CNAB (Cloud Native Application Bundle) spec. It can be used for building, managing, and installing application bundles. This guide will walk you through how to get set up with Porter on Windows.
Setting up Windows Subsystem for Linux (WSL) 2 for Windows 10 & Docker
In this post, we describe the steps needed to enable Windows Subsystem for Linux (WSL) 2 on Windows 10, and how you can use the WSL 2 features with Docker for Windows.
An Overview of the Azure CNAB Quickstarts Library
The Azure CNAB Quickstarts Library helps you get up and running with CNAB and Porter. We've built quickstarts covering solutions like WordPress, Ghost, Mattermost, and data platforms like Apache Airflow, SQL Server AlwaysOn clusters and Kubernetes features like an nginx ingress controller and an Azure AD enabled OAuth2 Proxy. We've condensed all our learnings from the past 9 months of working on the project and turned them into a 10 minute video which explains all the key concepts. We hope this video helps accelerate your own CNAB & Porter epiphanies!
Introducing the Azure CNAB Quickstarts Library
In partnership with Microsoft, we have released Azure CNAB Quickstarts Library on GitHub. CNAB (Cloud-Native Application Bundle) is a new specification designed for facilitating the packaging, installation, upgrading and uninstallation of cloud-native solutions in the cloud, on-premise or on the edge. We've created a number of quickstarts covering Apache Airflow, Azure Kubernetes Service, Ghost, Kubeflow, SQL Server Always On and Wordpress to help demonstrate the power of CNAB and Porter.
Azure Analysis Services - How to query all the measures in a model from .NET
Integrating Azure Analysis Services into custom applications means more than just querying the data. By surfacing the metadata in your models, you can build dynamic and customisable UIs and APIs, tailored to the needs of the client application. This post explains how easy it is to query model metadata from .NET, so you can create deeper integrations between your data insights and your custom applications.
Azure Analysis Services: How to open a connection from .NET
One of the first steps in integrating Azure Analysis Services into your applications is creating and opening a connection to the server - just like any other database technology. This post explains the ins and outs of creating Azure Analysis Services connections, including code samples for each of the key scenarios.
NDC London 2020 - My highlights
Ed attended NDC London 2020, along with many of his endjin colleagues. In this post he summarises and reflects upon his favourite sessions of the conference including; "OWASP Top Ten proactive controls" by Jim Manico, "There's an Impostor in this room!" by Angharad Edwards, "How to code music?" by Laura Silvanavičiūtė, "ML and the IoT: Living on the Edge" by Brandon Satrom, "Common API Security Pitfalls" by Philippe De Ryck, and "Combatting illegal fishing with Machine Learning and Azure - for less than £10 / month" by Jess Panni & Carmel Eve.
NDC London Day 1
In this post, Ian describes some of the highlights from the NDC London conference
NDC London Day 3 Retrospective - from personal projects to developer comedy
Along with several of my endjin colleagues, I attended NDC London in January this year - here's a run through of the sessions I attended on Day 3 and my thoughts. This final day was a mixed bag, taking in talks on drumming and AKKA.net, as well as something a bit more close to home - a session from endjin's own Jess Panni and Carmel Eve on our recent project for OceanMind.
NDC London Day 2 Retrospective - Full Stack, from SPAs to high performance .NET Core via Websockets
Along with several of my endjin colleagues, I attended NDC London in January this year - here's a run through of the sessions I attended on Day 2 and my thoughts. This day was UI heavy, with sessions on Vuejs and UI testing, but I also learned more about GraphQL and writing high performance C# code.
NDC London Day 1 Retrospective - dangerous AI, microservices, diagnostics and Blazor
A retrospective of my first day at NDC London 2020, taking in sessions on AI and Machine Learning, Capability Mapping, Micro Frontends, Diagnostics and Blazor.
Azure Analysis Services - integration options using .NET, REST APIs and PowerShell
With a variety of integration support through client SDKs, PowerShell cmdlets and REST APIs, it can be hard to know where to start with integrating Azure Analysis Services into your custom applications. This posts walks through the options, and lays out a simple guide to choosing the right framework.
C# 8 Positional Patterns Custom Deconstructor Pitfall
The 'positional patterns' added in C# 8 support types with custom desconstructors. However, the way this works might always be quite what you would expect. This article shows a surprising behaviour, and explains how it arises.
C#, Span and async
The addition of ref struct types, most notably Span<T>, opened C# to a range of high performance scenarios that were impractical to tackle with earlier versions of the language. However, they introduce some challenges. For example, they do not mix very well with async methods. This article shows some techniques for mitigating this.
Comparing GitHub Actions and Azure Pipelines: High-level concepts
GitHub Actions is GitHub's new CI/CD platform. It is comparable with Azure Pipelines, which forms part of the Azure DevOps suite. In this post, Mike Larah looks at the similarities and differences in the high-level concepts and terminology between the two platforms.
Long Running Functions in Azure Data Factory
While on first inspection Azure Function look like a good candidate for long running operations as they can run for 10 minutes on a Consumption plan, HTTP Triggers only run for 230 seconds because of a limitation with the Azure Load Balancer. In this blog post Jess Panni demonstrates how Durable Functions can be used instead.
How Azure DevTestLabs is helping me climb Everest
Remote working allows us to work from anywhere we want. This brings a huge amount of flexibility in freedom, however we do need the help of a working laptop! When Carmel's laptop gave in just before a trip, she used Azure DevTestLabs to allow her to continue to work using a 10 year old Mac that probably couldn't wouldn't have been up to the task alone...
Passwordless SSH from Windows 10 to Raspberry Pi
In this post, Mike Larah explains how to enable SSH on the Pi, how to access the Pi via SSH using a Windows 10 development machine, and how to enable passwordless SSH access to the Pi.
Increasing performance via low memory allocation in C#
We worked on a project recently which required us to build a highly performant system for processing vast quantities of messages in real time. We had made the decision to run this processing using Azure Functions with C#. This post runs through some of the techniques we used for writing highly performant, low allocation code, including data streaming, list preallocation and the relatively new C# feature: Span<T>.
Running Azure functions in Docker on a Raspberry Pi 4
For one of my first experiments with the Raspberry Pi 4, I decided to get an Azure Function running in a Docker container. This post gives a step-by-step guide on how to do it, as well as providing code you can use a starting point for your own experiments.
Donut chart corkscrew entry animation with d3.js
In this post we show a smooth entry animation for D3.js donut (or pie) charts, using a combination of a sweep and a zoom to give a corkscrew-like effect.
Design patterns in C# - The Composite Pattern
This blog is part of a series around design patterns. This post focuses on the composite pattern. The composite pattern is often used in situations where you want to me able to treat groups and individuals in the same way during processing.
Design patterns in C# - The Builder Pattern
This is the second blog in a series around design patterns. This post focuses on the builder pattern. The builder pattern is used when there is complex set up involved in creating an object. Like the other creational patterns, it also separates out the construction of an object from the object's use.
How to use the AzureAD module in PowerShell Core
Whilst some of the Azure Active Directory PowerShell for Graph module (AzureAD) functionality has been rolled into the new Azure PowerShell Az module, it's not currently (and might never be) a replacement for the full power of what you can achieve with AzureAD. So, there's every chance you'll find yourself needing to use both side-by-side. This post explains how to do that using the new cross-platform PowerShell Core.
Design Patterns in C# - Factory Method and Abstract Factory
This is the first blog in a series about design patterns. This blog focuses on the differences between the factory method and abstract factory patterns. The factory method is a method which takes the creation of objects and moves it out of the main body of the code. An abstract factory is similar to the factory method, but instead of a method it is an object in its own right.
How to create a Power BI workspace in an Azure DevOps Pipeline using Powershell
A Power BI based solution typically consists of a variety of technologies - for example Azure data platform services containing source data. As such, automation of Power BI resources needs to be considered as part of a wider DevOps strategy. This post describes the specific steps needed in order to fully automate the creation and security of Power BI workspaces using Powershell and Azure DevOps pipelines.
Incorporating software architecture into agile projects
Software architecture and Agile project planning are often seen to be at odds. However, here at endjin we think that the way in which they intersect solves a lot of the common issues surrounding architecture. The key to successful architecture is constantly keeping the drivers in mind and having a tight communication loop as the architecture is implemented. These concepts are ones which are key to agile project management, and the combination of these two disciplines can be extremely powerful and successful when applied correctly.
Snowflake Connector for Azure Data Factory - Part 2
A code review with NDepend Part 2: The initial review
At endjin we have a high quality bar when it comes to our code. As part of this we carry out regular code reviews. One of the tools we have used for these code reviews is NDepend. This is the second in a blog series written as we carried out that process. This post focuses on the insight you can quickly gain just by glancing at the NDepend UI.
Enforce resource tagging with Azure Policy
This blog post details how we used Azure Policy to enforce Azure resources were tagged with appropiate tags and ensured tags were inherited from parent resource groups where possible.
A code review with NDepend Part 1: Quality metrics
At endjin we have a high quality bar when it comes to our code. As part of this we carry out regular code reviews. One of the tools we have used for these code reviews is NDepend. This is the first in a blog series written as we carried out that process. This post runs through the different metrics used by NDepend, and the reasons that each of these can be an indication of code quality.
C# faux amis 3: variable declarations and type patterns
In this, the final article in a series on the potentially deceptive nature of some new features in C# 8, Ian Griffiths shows how using var can sometimes result in better compile-time type checking than using an explicit type. He reflects on the evolution of C#, and what we can learn from this.
C# faux amis 2: tuple deconstruction and positional patterns
C# v8.0 introduces various new patterns. In this article, part of a series on how the evolution of the language has added complexity, Ian Griffiths shows how the strong resemblance between the new Positional Patterns and Deconstruction can be misleading.
C# faux amis 1: discards and underscores
Visual Studio 2019 saw the arrival of C# v8.0. This article shows the first of a series of examples of how friction can arise when integrating new features into a mature language: the relatively late addition of 'discards' causes some surprises.
C# 8 surprising patterns
Visual Studio 2019 saw the arrival of C# v8.0. A programming language cannot evolve for 20 years without developing a few quirks. Ian Griffiths writes about a surprising aspect of the new pattern matching features, and what this reveals about how the language has changed.
Rx operators deep dive Part 5 – Thank you for joining me on this journey
This is the final blog in a series which delves into how the Rx operators work under the covers. This series aims to provide a greater understanding of Rx and its operators. This post focuses on the JOIN operator.
Rx operators deep dive Part 4: A window into scheduling in Rx
This is the fourth blog in a series which delves into how the Rx operators work under the covers. This series aims to provide a greater understanding of Rx and its operators. This post focuses on the WINDOW operator.
How to run a script on an existing Azure Virtual Machine
Using PowerShell and the VM Custom Script Extension to download and execute scripts on existing Azure VMs
Rx operators deep dive Part 3: Re-grouping our thoughts
This is the third blog in a series which delves into how the Rx operators work under the covers. This series aims to provide a greater understanding of Rx and its operators. This post focuses on the GROUP operator.
Rx operators deep dive part 2: Slowly aggregating knowledge
This is the second blog in a series which delves into how the Rx operators work under the covers. This series aims to provide a greater understanding of Rx and its operators. This post focuses on the AGGREGATE operator.
Explicit interface implementation
Two of the main use-cases for explicit interface implementation are: 1. to hide members of the interface in a class which inherits from that interface, and 2. to work around the scenario when a class is inheriting from two interfaces which share a member of the same name. Take a look at this blog to go into more depth about each of those scenarios.
Rx operators deep dive part 1: Where observables meet LINQ
This is the first blog in a series which delves into how the Rx operators work under the covers. This series aims to provide a greater understanding of Rx and its operators. This post focuses on the WHERE operator.
Using Step Argument Tranformations in SpecFlow to pass null values into scenarios
A good test suite should validate behaviour across your code base, testing as many edge cases as reasonably possible. A common "edge case", is passing a null value when a value isn't expected to be null. In Specflow, all values used in scenario examples are treated as strings, so it isn't possible (by default) to pass in a null value. However, using "Step Argument Transformations", we can achieve the desired behaviour. Read this blog to learn how this can be implemented.
Understanding Rx: Making the interfaces, subscribing and other Subject<T>s finally click
At endjin we've done quite a lot of work around reactive data processing. This post is a great introduction to the main concepts in reactive programming. It runs through the main classes in Rx.NET and provides an easy-to-follow explanation of this powerful (and somewhat complex) area of .NET.
Async pitfalls: deferred work and resource ownership
Whose package is it anyway? Why it's important to minimise dependencies in your solutions...
This is a post about the importance of reducing your dependencies as much as possible when designing solutions.If as much as possible is under your own control, there is far less room for synchronization errors and update conflicts.
Garbage collection, a memorandum on memory in C#
Garbage collection is the process in .NET of cleaning up unused memory. Here is a great post which explains how it works under the covers. If you have ever wanted to get an understanding of exactly what is going on behind the scenes when you write C# code, then this is the post for you!
Configuring SpecFlow for XUnit using new-style csproj
My first month as an apprentice at endjin
Structured apprenticeships provide a great way to build skills whilst getting real-life experience. Endjin's apprenticeship scheme has been refined over years, with an optimal mixture of training, project work, and exposure to commercial processes - a scheme which is designed to build strong foundations for a well-rounded Software Engineering consultant. This post explains the transition from university to an apprenticeship at endjin, including the types of work an apprentice could end up doing, and some examples of real-life learnings from a real-life apprentice.
How to choose the right .NET technology or "learn to stop worrying and love NetStandard2.0"
Azure Tech Selector - 2017 Edition
2 Day Microsoft Bot Framework Hackathon with Watchfinder
My final year as a software engineering apprentice at endjin
Advanced Azure Resource Manager template patterns – t-shirt sizing and optional resources
One very useful but little used pattern when working with Resource Manager templates, is the ability to use parameters to optionally deploy resources, constrain certain resource configurations based on other user defined parameters, or to toggle parameters based on other values. This blog post explores some of these options.
Automating office security with Synology, Surveillance Station, OneDrive and Power Automate
Read about how we set up automated backups of our office security camera footage and used Power Automate to alert us if anything went wrong
Welcome to an internship at endjin!
A career in software engineering doesn't need to start with a Computer Science degree. The underlying traits of problem solving, a willingness to learn and the ability to collaborate well can be built in any field. Internships provide a great way to get your foot-in-the-door in the professional world, and arm you with some real-life experience for future endeavours. This post describes an internship at endjin, including the type of work you could be asked to do and what you could learn.
How to package a web project for deployment from the command line
Creating a package to deploy a web project from the command line (for deployment into Azure) is not as easy as it should be. In this post we cover the whole process.
How to use Power BI Embedded with AspNetCore
AWS vs Azure vs Google Cloud Platform - Mobile Services
My internship at endjin – New Proposition Development, Programming, and a very long list of acronyms
Automating creation of new ALM environments using PowerShell and Azure DevOps
Did you know that you can fully automate the bootstrapping process of setting up an Azure DevOps enviornment? This post shows you how.
Deploying to Azure using Azure Resource Manager templates and Octopus Deploy
Learn how to combine the power of Azure Resource Manager and Octopus Deploy for a frictionless Azure DevOps experience.
Using Postman to load test an Azure Machine Learning web service
Azure Machine Learning Studio is a fantastic service for experimentation, but you can also easily productionize your machine learning models. In this post we show how to create an Azure ML Studio web service and test it using Postman.
My Apprenticeship Retrospective
In this post, Mike Larah reflects on his experiences going through the endjin apprenticeship scheme
Using Azure Automation to run VMs during office hours only – using graphical runbooks
We've improved our approach for saving money by turning off our virtual machines outside of office hours. This post explored how to do it using graphical runbooks.
Improve your Windows Command Prompt and PowerShell experience with ConEmu
Mike Larah shares his tips for how to best customize ConEmu to improve your terminal experience for Windows Command Prompy and PowerShell
SpecFlow 2.0, NUnit3, Visual Studio and TeamCity
Azure Resource Manager authentication from a PowerShell script
Learn how to authenticate against Azure Resource Manager using PowerShell, for fully automated deployments.
CucumberJS Visual Studio Test Runner
We've built and open-sourced a Visual Studio Extension that provides basic support for discovering and running CucumberJS tests with Node.JS, in the Visual Studio Test Environment.
Using Lazy and ConcurrentDictionary to ensure a thread-safe, run-once, lazy-loaded collection
In this post, Mike Larah discusses how to ensure your C# collections are thread-safe, only run-once, and are lazy-loaded.
Azure Batch - Time is Money in Big Compute
A Step-by-step guide to setting up CucumberJS in Visual Studio 2015
This is a quick guide to setting up cucumber JS in Visual Studio with grunt.
Using Azure Resource Manager and PowerShell DSC to create and provision a VM
Azure Resource Manager and PowerShell Desired State Configuration are powerful tools for provisioning and then configuring your virutal machines in Azure. This post delves into the details.
Reduce Merge Conflicts in .NET Solutions with PowerShell based Git Hooks
SpecFlow Extensions for Azure Storage Emulator
Speed kills: decrease page load time and increase conversions with Azure CDN
A CDN, short for Content Delivery Network, is essentially a network of servers set-up, in various geographic locations, with the aim of speeding up the delivery of content to end-users across the Internet.
Azure Automation scheduler and daylight saving time
Everything in Azure runs in Coordinated Universal Time; learn how to deal with Daylight saving time in Azure Automation, so your jobs still run on time.
Visualise your Azure Table Storage data with Power BI
Azure Web Apps: Package Restore against a private NuGet Feed
Using Git for .NET Development: Part 5 – Staging Some Changes In A File But Not Others
Improve your SpecFlow scenarios with custom step argument transformations
One of the great benefits of using SpecFlow is that it allows you to write your specifications in a human readable format. Learn how you can create reusable step argument transformations to apply custom transformations to your parameters, so that you can keep your specifications easy to read.
Amazingly Useful Chrome Developer Tips: #1 Inspecting dynamically created DOM elements
Using a different New Relic application name per environment with Azure Cloud Services
Just because you're using the cloud, doesn't mean you don't use traditional DTAP environments. But you do need to configure your cloud services to understand them.
You're hiring the wrong people: 10 tips to find great developers
Hiring developers is hard. Really hard. Here are some tips on how to make it easier on yourself.
Which programming language should I learn in 2015?
Reporting errors to New Relic from an Azure Worker Role
In this post we demonstrate how to use New Relic to monitor an Azure Cloud Service Worker Role, step by step.
Generating and using a certificate to authorise Azure Automation
Diagnostic logging with Azure SDK 2.5
Learn how to use diagnostics in Azure Virtual Machines and Cloud Service Web or Worker Roles using the Azure SDK.
Refactoring by pattern using Regular Expressions and ReSharper search by pattern
Using SmartGit to follow the GitFlow branching and workflow model
TPL Dataflow by Example code samples for LINQPad
Using Azure Automation to run VMs during office hours only
One of the strongest selling points of cloud computing is that you only pay for what you use. Running virtual machines can become expensive, but you can save significant money if you turn those VMs off outside of office hours.
Elasticsearch gotchas and tips - part 2
We've delivered a number of Elasticsearch solutions on Azure. In this second post in the series, we share some useful tips.
Avoid circular dependencies with AngularJS Directives
Using AngularJS decorators to resolve view templates by resource content type
Jasmine MetaRunner for TeamCity
Unit testing AngularJS with Visual Studio, ReSharper and TeamCity
Using SemanticMerge to fix Git merge conflicts
Gotchas when installing an Elasticsearch cluster on Microsoft Azure
We've built a number of Elasticsearch clusters on Microsoft Azure. This blog post contains some of our top tips and gotchas.
A Step by Step Guide to Testing NuGet Packages Locally
There's a lot of documentation available around NuGet and how to create/publish packages, etc. But when I looked for a simple step-by-step guide on how to test a package locally, I couldn't find any.
How to retry commands in PowerShell
Transient failures can happen at any time. There are many useful frameworks for .NET, but what about PowerShell?
Create a custom TeamCity PowerShell MetaRunner to Notify NewRelic that new deployment has occurred
Using Git for .NET Development: Part 4 - Resolving Merge Conflicts
Button Visual States in Xamarin.iOS
One way to manage a button visual state in iOS is by setting a different background image for each one of the UIControlState values available...
Event stream manipulation using Rx – Part 2
Having described the problem space using Marble Diagrams, it's now time to create a real solution using Rx and the Observer pattern to process data from Windows Event Log.
Event stream manipulation using Rx – Part 1
This blog post delves into using Rx to process the messages received from Windows Event Logs, so that they can be shaped in a way that is useful to us to consume.
Understanding dependency injection
Getting started with semantic logging
Semantic logging enables much richer diagnostics and analysis. It is supported in Windows and in .NET. This post explores the problem space. Others in the series explore how we can use Reactive Extensions to enable some powerful scenarios.
A Step by Step Guide to Connecting to an Azure Virtual Machine with PowerShell Remoting
Using Git for .NET Development: Part 3 – branching and pushing your changes
Using Git for .NET Development: Part 2 – basic operations and tools
Configuring TeamCity and YouTrack to use Office 365 for Email Notifications
Downloading Windows Azure Subscription Files
If you use Azure Management Studio, you can quickly setup your connections by importing your publish settings...
Reclaiming Space after updating to Windows 8.1
Azure From The Trenches: Updating Service Configuration Whilst Running In The Emulator
Azure Table Storage throws a StorageException when using DateTime.Min
1601 was the year that Pierre de Fermat and King Louis XIII of France were born, Robert Devereux was beheaded in the Tower of London, the Dutch defeated the Portuguese navy in the battle of Bantam Bay and the year Shakespeare's Hamlet is thought to have been performed for the first time. Monday January, 1st 1601 (in the Gregorian calendar) was a pretty uneventful day yet the first day of the 17th century is affecting millions today.
Bootstrap 3 At A Glance - Part One - Motivations
Learning to Program – A Beginners Guide – Part Twelve – Dealing with Repetitive Tasks - Recursion in F#
A Step by Step Guide to Automating TeamCity Backups
Learning to Program – A Beginners Guide – Part Eleven – More With Functions and Logic in F#: Minimizing Boolean Expressions
A Step by Step Guide to Migrating a TeamCity Instance from One Server to Another
Learning to Program – A Beginners Guide – Part Ten – Getting Started With Operators in F#
Assign a keyboard shortcut to collapse all projects in Solution Explorer
Just so that I never ever forget this again. Here's how to assign a keyboard shortcut to collapse all projects in Visual Studio Solution Explorer.
Learning to Program – A Beginners Guide – Part Nine – Introducing Functions in F#
What does sudo mean?
I've always wondered what sudo means when I use it to run a command in a terminal.
Example of a full-width bleed using Bootstrap 3
Learning to Program - A Beginners Guide - Part Eight - Working With Logic
Xamarin platform setup gotchas: Final Edition!
Last post on the topic and links to all the other entries centred around troubleshooting/setting up your Xamarin mobile dev environment.
Visual Studio, Xcode and VMware Fusion Shared Folders
Xamarin lets you develop iOS applications using Visual Studio. This is obviously great for .NET Developers except that you currently have to go to Xcode (Apple's Developer tool) if you want to create the UI using a designer tool.
Learning to Program - A Beginners Guide - Part Seven - Representing Numbers
Running the Windows Phone Emulator in VMware Fusion
If you run Windows 8 on your Mac with VMware Fusion 5.0 , you might get the following error message when starting the Windows Phone emulator for the first time: The Windows Phone Emulator wasn't able to create the virtual machine.
More Xamarin platform setup gotchas
Today my Xamarin trial expired - Sadface. But endjin generously supplied me with a new Xamarin.Android and Xamarin.iOS Business edition license, things were looking up - Happyface! However after activating the new license and upgrading to a newer version of Xamarin Studio on both my Mac and the guest Windows 8 OS, my master solution containing all the projects for the different platforms (Android, iOS and Windows Phone) was no longer building.
Angular.JS ngRepeat and Bootstrap layout bug on IE7
Learning to Program - A Beginners Guide - Part Six - A First Look at Algorithms
Android Device Manager and SDK Location
After going through the Xamarin installation instructions for Mac and Windows , I ended up in a situation where the AVD Manager ( Android Virtual Device Manager ) on my Windows VM would not let me create a new AVD...
Learning to Program – A Beginners Guide – Part Five – Running a program
Windows Phone Capabilities and enabling the camera in the emulator
A short explanation of Windows Phone capabilities and how to enable the camera.
Introducing endjin composition framework 2.0 : Part 5 - Debugging
Learning to Program - A Beginners Guide - Part Four - A Simple Model of a Computer
Windows Phone Registration Failure: Error 0x64
A quick fix to error 0x64 when registering a new Windows Phone device.
Introducing endjin composition framework 2.0 : Part 4 - ASP.NET MVC/WebAPI
Learning To Program - A Beginners Guide - Part Three - How Does a Computer Work?
Windows Run Commands for Developers
The other day I wanted to bring up the Windows "Program and Features" panel using the run command (Win+R or just start typing in the Start screen in Win 8). Something I've done countless number of times in the past. For some reason, I had a complete blank and couldn't recall what that particular command was. So I thought it would be good to have a couple of tips and some of the most useful run commands for Developers (and everybody else) in one place.
Introducing endjin composition framework 2.0 : Part 3 - Using the content factory
Retrying tasks with TPL, async and synchronous code
Learning To Program - A Beginners Guide - Part Two
A step by step guide to installing an F# REPL environment on Linux
A step by step guide to installing an F# REPL environment on Windows
Xamarin platform setup gotchas
Yesterday I attended the "C# and Mvvm - Developing apps for all of Android, iPhone and Windows" event hosted by Stuart Lodge at Modern Jago. In preparation for the day I had the daunting task of setting up my Mac for cross platform development with Xamarin. While most of it was fairly straight forward and well documented, I came across a few gotchas worth blogging about.
Introducing endjin composition framework 2.0 : Part 2 - Getting Started
Learning To Program - A Beginners Guide - Part One
Introducing endjin composition framework 2.0 : Part 1
High-Res Prototyping Tips: How we eliminated waste and enabled collaboration
At endjin we believe in collaboration and the ability to pull together expertise and ideas. In this post we talk about the collaborative efforts between designers and developers the importance of communication, a step by step guide followed by some handy tips.
PowerShell Best Kept Secrets: Splatting
Prototyping and Proof of Concept: Charting and Data Visualization on the Microsoft Platforms
A Step by Step Guide to using GitFlow with TeamCity – Part 4 – Feature Branches in TeamCity
Example Responsive Layout Using Bootstrap
Tips for implementing responsive designs using Bootstrap 3
Which programming languages should I learn: Beginners Edition
Which programming languages should I learn?
A Step by Step Guide to using GitFlow with TeamCity – Part 3 – GitFlow Commands
A Step by Step Guide to using GitFlow with TeamCity – Part 2 – GitFlow - a Branching Model for a Release Cycle
A Step by Step Guide to using GitFlow with TeamCity - Part 1 - Different Branching Models
RavenDB in the Cloud
A step by step guide to building a Twilio voice app with Web API
Integration testing with Web API
Agile:MK January 2013 Meeting
Calculating Distance using SQL Server Spatial CLR Types
Using the endjin composition framework in an MVC application
Windows 8 Development Camp
Day 1: PowerShell, BDD and Git
An Omega Geek's Guide to Learning PowerShell
Where do my Visual States come from in Blend?
Work Smarter with Convention Over Configuration and the Endjin Composition Framework
Component Discovery and Composition II - Abstracting the container implementation
A Step by Step Guide to MongoDB for .NET Developers
MongoDB has been taken a large amount of mindshare in the NoSQL space. In this blog post we share a simple step-by-step guide on how to get started as a .NET developer.