Know Your Toolset
open-menu closeme
Home
About
github twitter linkedin rss
  • Hello, AI World and Streaming Content Between ASP.NET APIs and Angular

    calendar Jan 11, 2025 · 8 min read · .NET ASP.NET C# Aspire BFF Duende Software Azure OpenAI OpenAI Angular Fetch API  ·
    Share on: twitter facebook linkedin copy
    Hello, AI World and Streaming Content Between ASP.NET APIs and Angular

    tl;dr - just show me the code (and the readme): https://github.com/dahlsailrunner/hello-ai-world AI technologies and tooling are evolving more rapidly than most technology in recent past and are not slowing down. Getting started in this space can be intimidating. In this post I intend to make this as easy as possible, …


    Read More
  • .NET Templates with Optional Content

    calendar Nov 28, 2024 · 7 min read · .NET ASP.NET C# Aspire BFF Duende Software PostgreSQL SQL Server Open Telemetry templates  ·
    Share on: twitter facebook linkedin copy
    .NET Templates with Optional Content

    tl;dr - just show me the code (and the readme): https://github.com/dahlsailrunner/knowyourtoolset-templates Updates to Templates from a Previous Post This post builds upon templates that were described in an earlier post of mine. That post has some background information on templates that you may find useful. This post …


    Read More
  • Visual Studio Tips and Tricks

    calendar Feb 8, 2024 · 11 min read · C# ASP.NET Visual Studio  ·
    Share on: twitter facebook linkedin copy
    Visual Studio Tips and Tricks

    If you're working with Visual Studio on a daily basis, taking a little time to customize your experience and knowing about a few key features can help make your time spent both more productive and more joyful -- if you're happy when you're in the IDE (Integrated Development Environment -- Visual Studio is one of those) …


    Read More
  • Using WireMock in Integration Tests for ASP.NET Core APIs

    calendar Jan 29, 2024 · 4 min read · C# API ASP.NET Testing XUnit WireMock  ·
    Share on: twitter facebook linkedin copy

    If you have a reasonably-complex API project in ASP.NET, chances are pretty good that it needs to call other APIs for some operations. Having integration tests to accommodate different behavior for those external API calls - without having to call the real version of the external API can be super helpful. Turns out …


    Read More
  • Code Coverage Reports for .NET Projects

    calendar Jan 28, 2024 · 6 min read · C# API ASP.NET Testing XUnit Coverlet Code Coverage GitHub Actions Azure DevOps  ·
    Share on: twitter facebook linkedin copy
    Code Coverage Reports for .NET Projects

    My last 3 posts were all about writing good integration tests for your ASP.NET Core API projects. But how much of your code do the tests you've written actually cover? And what's missing? Show me the Code! The code I used as a reference for this article is in the same repo as the previous posts I did about integration …


    Read More
  • Integration Testing for ASP.NET APIs (3/3) - Auth

    calendar Jan 25, 2024 · 7 min read · C# API ASP.NET Testing XUnit OAuth2 OIDC  ·
    Share on: twitter facebook linkedin copy

    Where's the code? Fully working examples for this code are in the 04-api-with-postgres-and-auth folder of the GitHub repo with the examples for this series of posts. In the previous post we got started with some basic integration tests. In this one we'll require authentication in the API and write tests to ensure …


    Read More
  • Integration Testing for ASP.NET APIs (2/3) - Data

    calendar Jan 23, 2024 · 11 min read · C# API ASP.NET Testing XUnit Bogus TestContainers FluentValidation SQLite Postgres  ·
    Share on: twitter facebook linkedin copy

    Where's the code? Fully working examples for this code are in the 02-api-with-sqlite and 03-api-with-postgres folder of the GitHub repo with the examples for this series of posts: 02-api-with-sqlite 03-api-with-postgres In the previous post we got started with some basic integration tests. In this one we'll use a …


    Read More
  • Integration Testing for ASP.NET APIs (1/3) - Basics

    calendar Jan 18, 2024 · 9 min read · C# API ASP.NET Testing XUnit Bogus  ·
    Share on: twitter facebook linkedin copy
    Integration Testing for ASP.NET APIs (1/3) - Basics

    Where's the code? A fully working example for this code is in the 01-simple-api folder of the GitHub repo with the examples for this series of posts: https://github.com/dahlsailrunner/testing-examples/tree/main/01-simple-api. The tests are in the SimpleApi.Tests project (surprise!). Having automated tests to ensure …


    Read More
  • Logging Updates in .NET 8 and ASP.NET 8

    calendar Nov 21, 2023 · 4 min read · C# API ASP.NET Logging  ·
    Share on: twitter facebook linkedin copy

    The recent release of .NET 8 has occurred and as I was updating my Pluralsight course on Logging and Monitoring in ASP.NET Core, I thought it would also be useful to write a post about some of the nice new goodness related to logging and monitoring. Everything that you had in place for recent versions of .NET and …


    Read More
  • Using the System.CommandLine Package to Create Great CLI Programs

    calendar May 6, 2023 · 8 min read · C# System.CommandLine NBomber  ·
    Share on: twitter facebook linkedin copy
    Using the System.CommandLine Package to Create Great CLI Programs

    Problem Statement A recent blog post of mine showed a significant performance difference between an async API method and a synchronous one. The performance test was generating 100 new requests each second for 30 seconds, making a total of 3,000 requests. The async code behaved much better under this load, but at what …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • »
    • »»

Erik Dahl photo

Erik Dahl

Technologist, lifelong learner, Microsoft MVP, Pluralsight author, seeker of continuous incremental improvement.
Read More

Featured Posts

  • Hello, AI World and Streaming Content Between ASP.NET APIs and Angular
  • .NET Templates with Optional Content
  • Creating Useful .NET Templates
  • Add K8s Cluster to Windows Terminal
  • Moving Authentication From an ASP.NET Site Into IdentityServer4
  • Comparing OpenAPI / Swagger, GraphQL, and gRPC
  • Guiding Principles for Programmers

Recent Posts

  • Hello, AI World and Streaming Content Between ASP.NET APIs and Angular
  • .NET Templates with Optional Content
  • Using Shared Logging Levels with .NET Aspire
  • A Great Prompt Experience
  • Visual Studio Tips and Tricks
  • Using WireMock in Integration Tests for ASP.NET Core APIs
  • Code Coverage Reports for .NET Projects
  • Integration Testing for ASP.NET APIs (3/3) - Auth

Tags

ASP.NET 26 C# 21 API 12 .NET 8 OAUTH2 6 TESTING 5 XUNIT 5 ADO.NET 3 ASPIRE 3 AUTHENTICATION 3 DEVELOPMENT 3 ASP.NET-IDENTITY 2 AUDIO 2 AZURE-DEVOPS 2
All Tags
.NET8 ADO.NET3 ANALYTICS1 ANGULAR1 API12 ASP.NET26 ASP.NET-CORE1 ASP.NET-IDENTITY2 ASPIRE3 AUDIO2 AUTH01 AUTHENTICATION3 AZURE1 AZURE-DEVOPS2 AZURE-OPENAI1 BFF2 BLOGGING2 BOGUS2 C#21 CAMTASIA2 CODE-COVERAGE1 COVERLET1 DAPPER1 DEVELOPMENT3 DOCUMENTATION1 DUENDE-SOFTWARE2 ELK1 FETCH-API1 FLUENTVALIDATION1 GITHUB-ACTIONS1 HUGO1 ICONS1 IDENTITYSERVER2 JWT1 KENDO-UI2 KIDS1 KUBERNETES2 LAUNCHDARKLY1 LOGGING2 NBOMBER2 NERD-FONTS1 OAUTH26 OH-MY-POSH2 OIDC1 OPEN-TELEMETRY1 OPENAI1 PI-SENSE-HAT1 POSTGRES1 POSTGRESQL1 RASBERRYPI1 READ-THE-DOCS1 SERILOG1 SQL2 SQL-SERVER1 SQLITE2 SWAGGER1 SWASHBUCKLE1 SYSTEM.COMMANDLINE1 TEMPLATES2 TESTCONTAINERS1 TESTING5 TYPESCRIPT2 VIDEOS1 VISUAL-STUDIO1 WINDOWS-TERMINAL1 WIREMOCK1 XUNIT5
[A~Z][0~9]
Know Your Toolset

Copyright 2015-  KNOW YOUR TOOLSET. All Rights Reserved

to-top