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
  • Creating Useful .NET Templates

    calendar Aug 9, 2021 · 15 min read · .NET ASP.NET C# templates  ·
    Share on: twitter facebook linkedin copy

    tl;dr - just show me the code: https://github.com/dahlsailrunner/knowyourtoolset-templates Templates in .NET are a very helpful feature that enable you to create new files, projects, or even whole solutions with some form of the dotnet new command. I have created and evolved some templates over the past few years and …


    Read More
  • Moving Authentication From an ASP.NET Site Into IdentityServer4

    calendar Nov 5, 2020 · 6 min read · IdentityServer ASP.NET .NET ASP.NET Identity Authentication  ·
    Share on: twitter facebook linkedin copy
    Moving Authentication From an ASP.NET Site Into IdentityServer4

    tl;dr: Just show me the code: https://github.com/dahlsailrunner/secure-authentication-is4 I just published a course regarding secure authentication in ASP.NET websites, and the course and its code repo focused exclusively on ASP.NET Identity (in both Core and Framework projects). An early question came up regarding how …


    Read More
  • Using JSON to Move Beyond TVPs for Multi-Row Updates

    calendar Mar 20, 2019 · 3 min read · .NET ADO.NET C# SQL  ·
    Share on: twitter facebook linkedin copy

    Many .NET applications will use Table-Valued-Parameters (TVPs) to send in a set of rows to be updated to a single stored procedure. Using this approach requires a decent amount of legwork to achieve: Define a TYPE in SQL Server to represent the table valued parameter Assign permissions to the TYPE so that it can be …


    Read More
  • On Exception Handling

    calendar May 29, 2015 · 10 min read · C# .NET Development  ·
    Share on: twitter facebook linkedin copy

    If your application is living in a production environment then good exception handling is one of the most important things you can do if you want to enable good support for your application (logging is another, but I’ll cover that in another post). A knee-jerk reaction to the question of “how do I do good exception …


    Read More
  • Using XML as an Input Parameter to Stored Procedures in Favor of table-valued-parameters

    calendar Mar 30, 2015 · 5 min read · .NET ADO.NET C# SQL  ·
    Share on: twitter facebook linkedin copy

    A common challenge with stored procedures is how to pass in multiple rows to a single stored proc call — especially when you know all of the new / updated rows at a single time. Doing so can save on round trips as well as (sometimes) making transaction handling easier. Failed Attempt 1: Just use flat parameters If you …


    Read More
  • Supporting Multiple Environments with a single XML Configuration file

    calendar Feb 17, 2015 · 7 min read · C# .NET  ·
    Share on: twitter facebook linkedin copy

    Abstract Provide a technique for setting up configuration files that can support multiple environments (e.g. staging and production) and allow for central deployment without having to update config files on the fly during deployment. Benefits of the approach described: config files are not touched during deployment …


    Read More

Erik Dahl photo

Erik Dahl

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

Featured Posts

  • Tips for Effective Written Professional Communication
  • 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

  • Tips for Effective Written Professional Communication
  • 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

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 COMMUNICATION1 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 SOFT-SKILLS1 SQL2 SQL-SERVER1 SQLITE2 SWAGGER1 SWASHBUCKLE1 SYSTEM.COMMANDLINE1 TEMPLATES2 TESTCONTAINERS1 TESTING5 TYPESCRIPT2 VIDEOS1 VISUAL-STUDIO1 WINDOWS-TERMINAL1 WIREMOCK1 WRITING1 XUNIT5
[A~Z][0~9]
Know Your Toolset

Copyright 2015-  KNOW YOUR TOOLSET. All Rights Reserved

to-top