Minimal Api in .NET 6 Out Of Process Azure Functions
Can you write a "Minimal Api" using Azure Functions in .NET 6.0? Let's take a look!
Posted on 07 September 2021
Razor Pages Scaffolding Submit with Error 400
Having an issue with submitting scaffolded razor pages on localhost?
Posted on 10 August 2021
Integration Testing with ASP.NET Core 3.1 - Set Default Headers for All Clients
Set up a custom WebApplicationFactory to always add specific headers to the generated HttpClient
Posted on 20 October 2020
Using Project Tye to Run Dependent Services for use with ASP.NET Core
Needed to spin up a dependency such as Redis locally but it's too involved using Docker or the alternatives aren't good enough? Let's explore how to harness the power of Docker but keeping the friction low.
Posted on 08 September 2020
Using Dotnet CLI To Setup ASP.NET CORE Solution And Run With Tye
Setting up a new solution purely on the command line and getting them to run with Project Tye
Posted on 01 September 2020
Optional Dependencies with Autofac
Ever wanted to define a dependency as optional and only be loaded depending on consumption of your service?
Posted on 30 June 2020
Inject JsonSerializerOptions so Don't Repeat Yourself
How many times do you create a private options variable when using json serializer and end up with duplicate code? Let's take a look at one option to help resolve this.
Posted on 31 March 2020
Integration Testing with ASP.NET Core 3.1 - Swapping a Dependency with Moq
Investigating how to write integration tests while swapping out dependencies with mocked instances using Moq
Posted on 23 December 2019
Integration Testing with ASP.NET Core 3.1 - Remove the Boiler Plate
Writing integration tests for your application while keeping your tests as DRY as possible by removing the boiler plate code
Posted on 16 December 2019
Integration Testing with ASP.NET Core 3.1 - Swapping a Dependency
Looking at how you can write integration tests for your application but swapping out a 3rd party dependency
Posted on 11 December 2019
Integration Testing with ASP.NET Core 3.1 - Testing Your Application
How to write an integration test to access your REST end point api with ASP.NET Core 3.1
Posted on 09 December 2019
Integration Testing with ASP.NET Core 3.1
How to write a basic integration test with ASP.NET Core 3.1
Posted on 05 December 2019
Multiple Ways to Register Your Dependencies with ASP.NET Core 3
Exploring the multiple ways you can register your service dependencies with the new IHost found in ASP.NET Core 3 (Preview).
Posted on 17 June 2019
Beyond Basics - ASP.Net Core Using the Decorator Pattern
Refactoring to use the Decorator Design Pattern to help apply the Single Responsibility Principle.
Posted on 10 June 2019
Beyond Basics - ASP.Net Core Adding and Using Configuration
Adding strongly typed configuration settings and injected them through dependency injection.
Posted on 06 June 2019
Beyond Basics - ASP.Net Core Adding Caching
Starting the journey of going past the basics of beginner training resources to appy software development practices and design patterns.
Posted on 04 June 2019
Resource Driven Messages in ASP.NET Core
Ever wanted to allow native country error messages from your ASP.NET Core api?
Posted on 03 December 2018
First Published Article
My first published article in DotNetCurry Nov-Dec 2018.
Posted on 21 November 2018
ASP.Net Core default route on startup
Started a new ASP.Net Core API application and want to default to a different route? Read on to find out how.
Posted on 18 October 2018
Strategy Pattern with Full Generic Contraints
Implementing the strategy pattern with generics to improve consistency of code base.
Posted on 19 July 2018
ASP.NET Core Exploring Custom Middleware
Exploring creating and consuming custom middleware in ASP.NET core and it's configuration
Posted on 10 July 2018
Strategy pattern with enum constraints
Strategy pattern implementation options with enum generic constraints
Posted on 08 June 2018
ASP.NET Core and the Strategy Pattern Continued
Building on the previous post about implementing the strategy pattern in ASP.NET Core to harness SOLID design.
Posted on 06 June 2018
Fitbit.NET ASP.NET Core Webhook Preview Released
Fitbit Subscription Webhook based on the new ASP.Net Core Webhooks library
Posted on 01 May 2018
ASP.NET Core 2.1 Preview on VSTS
Running a build on Visual Studio Team Services with ASP.NET Core 2.1 Preview SDK
Posted on 19 April 2018
ASP.NET Core WebHooks - Mini Series
Links for the ASP.NET Core WebHooks mini series
Posted on 07 April 2018
ASP.NET Core and the Strategy Pattern
Using ASP.NET Core Dependency Injection to wire up a strategy pattern implementation to harness SOLID design.
Posted on 03 April 2018
ASP.NET Core WebHooks - Running The Github Webhook Locally
Running the aspnetcore Github webhook locally.
Posted on 17 March 2018
Mocking the Clock
Reducing the coupling of code dependent on DateTimeOffset
Posted on 15 March 2018
ASP.NET Core WebHooks - Secret Values
Looking at the secret values and how they work to allow for the AzureAlertWebHook webhook to process.
Posted on 16 February 2018
ASP.NET Core WebHooks - Running the AzureAlertWebHook
Running the ASP.NET Core Webhooks project locally and debugging the AzureAlertWebHook end point.
Posted on 13 February 2018
ASP.NET Core WebHooks - Building repository locally
Looking at getting and building the ASP.NET Core Webhooks project on your development machine.
Posted on 11 February 2018
Should I use Nullable bool?
Posted on 30 January 2018
Are you registering IHttpContextAccessor correctly?
Posted on 23 January 2018
Missing ClaimsPrincipal in ViewComponents
Posted on 18 January 2018
- Code (103)
- C# (97)
- Thoughts (37)
- aspnetcore (35)
- Remote Working (27)
- Covid-19 (26)
- Azure (18)
- Azure Functions (17)
- Functions (16)
- Unit Testing (16)
- Dependency Injection (11)
- Refactoring (10)
- Design Patterns (10)
- HttpClient (7)
- AutoFixture (7)
- NET 6.0 (6)
- NET 5.0 (6)
- Integration Tests (6)
- Webhooks (6)
- Repost (6)
- Dev Tips (5)
- General (3)
- Resharper (3)
- Moq (3)
- dotnetcore (3)
- Public Speaking (2)
- Project Tye (2)
- FluentAssertions (2)
- Preview (2)
- Fitbit (2)
- NET 7.0 (1)
- Pulumi (1)
- SQL (1)
- Visual Studio (1)
- Razor Pages (1)
- Twitter (1)
- Quick Tip (1)
- Just Eat (1)
- Http Client (1)
- CLI (1)
- App Service (1)
- Azure AD B2C (1)
- ASP.NET 5.0 (1)
- Tip (1)
- Worker Services (1)
- net5 (1)
- Redis (1)
- Tye (1)
- Autofac (1)
- Buy Me a Coffee (1)
- SpaceX (1)
- netcore (1)
- Feature Management (1)
- Back to basics (1)
- Background Services (1)
- Configuration (1)
- Localisation (1)
- HTTP Headers (1)
- Published (1)
- Language Features (1)
- Design Principles (1)
- Top Tip (1)
- Middleware (1)
- NDepend (1)
- Reviews (1)
- Rest (1)
- Refit (1)
- vsts (1)
- aspnetmvc (1)
- Hardware (1)
- Surface (1)
- WCF (1)