• Watch2- part 5–DI

    The Watch2 NuGet package project now has interfaces,making it test-friendly and ready for action. To make life easier,we’ve sprinkled some Dependency Injection (DI) magic throughout the project. Classes have been refactored to embrace constructor injection,ensuring all necessary interfaces are on board. The DI container has been set up in `Program.cs`,making dependency resolution a breeze. The…

  • Friday links 487

    v0 by Vercel Reasons to write design docs | nicole@web Preventing breaking changes in public APIs with PublicApiGenerator Internal Server Error Why I still self host my servers (and what I’ve recently learned) – Christian Hollinger The new way of Error Handling in .Net 8 | by Bugra Sitemkar | Medium Semantic Kernal Part 3:…

  • Watch2–part 4–CI and CD

    Now I want to do build and auto-deployment as a Nuget Package( at https://www.nuget.org/packages/watch2 ) The most simple build action on GitHub Actions is simple example of how to do it. However,I want to do more than that. I want to build,test and deploy on demand the Nuget package to Nuget.org. However,the building should be…

  • Watch2- part 3 -refactoring to interfaces and test

    The Watch2 just intercepts the dotnet watch,adds a clear console,and a delay to give a breather between running the app and the tests. So I need to have tests – if I want to be sure what the software does and to modify it without summoning the coding gremlins. More importantly,the output from dotnet watch…

  • Watch2- part 2- first fast implementation

    The first attempt to writing the code was very fast – and,surely,not testable. (Speedy Gonzales would be proud!) Some observations: 1. If you start any process inside a console application,you should intercept the cancel signal and stop the process. This is done by using the CancelKeyPress event of the Console class. This is important because…

  • Watch2–part 1–idea

    I frequently use .NET Watch for two main reasons: Running .NET applications during development. Executing tests. Seriously,if you haven’t tried .NET Watch,you’re missing out. It’s like having a personal assistant who never sleeps compiling code . For more info,check out Microsoft’s documentation  at https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-watch But,like all good things,it comes with a couple of quirks: The…

  • Friday links 486

    Code review antipatterns Manager Antipatterns Ted Neward’s Wog Software Architecture,In Practice The 1 Hour per Year Bug (But Only in Pacific Time!) gvergnaud/hotscript: A library of composable functions for the type-level! Transform your TypeScript types in any way you want using functions you already know. Trying New Technology – SQLServerCentral Free Public APIs netbox-community/netbox: The…

  • RSCG – RazorSlices

    RSCG – RazorSlices     name RazorSlices nuget https://www.nuget.org/packages/RazorSlices/ link https://github.com/DamianEdwards/RazorSlices author Damiam Edwards Generating html from razor templates. Attention: generates IHttpResult,not html string.   This is how you can use RazorSlices . The code that you start with is The code that you will use is   The code that is generated is Code…

  • RSCG – TypedSignalR.Client

    RSCG – TypedSignalR.Client     name TypedSignalR.Client nuget https://www.nuget.org/packages/TypedSignalR.Client/ link https://github.com/nenoNaninu/TypedSignalR.Client author nenoNaninu Creating typed Signal R clients   This is how you can use TypedSignalR.Client . The code that you start with is The code that you will use is   The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/TypedSignalR.Client

  • {ADCES] Playwright & GraphQL

    Presentation 1 : Introduction in Playwright – E2E testing in C# Presenter: Andrei Ignat,http://msprogrammer.serviciipeweb.ro/ Descriere : O sa facem cu Playwright si C# citeva teste de E2E ca sa aratam posibilitatile pe care Playwright le are Presentation 2 : GraphQL: Building a Public API for a Cloud ERP and the Lessons We Learned Presenter: Marius…

I am ok , you are ok