-
Friday links 479
Eager refresh of values for AsyncExpiringLazy | StrathWeb. A free flowing web tech monologue. .NET Core HttpClient Best Practices | by bytedev | Jun,2021 | Medium How to create a list of non upgradable software for winget • Codewrecks Publishing to winget with MSIX Hero – Marcin Otorowski HttpClientCodeGenerator/HttpClientCodeGeneratorSyntaxReceiver.cs at 25e03c6f0453df082f377b9fa79216afb1884592 · Jalalx/HttpClientCodeGenerator Use IHttpClientFactory…
-
[ADCES] 14 iunie 2022,ora 19:30 – ASM + GM
Pe 14 iunie 2022,ora 19:30, va fi un nou meetup ADCES despre “OldSchool – Programare in ASM si Win3.11” & “De la programator la Group Manager” Details Prezentare 1: OldSchool – Programare in ASM si Win3.11Descriere; Pregatiti-va (sau amintiti-va ) de cum se facea programarea in Windows 3.11 in ASMPrezentator: MIhai Florescu,https://www.linkedin.com/in/mihai-f-6208724/Prezentare 2: De la…
-
Friday links 478
10 Common Software Architectural Patterns in a nutshell | by Vijini Mallawaarachchi | Towards Data Science microsoft/winget-pkgs: The Microsoft community Windows Package Manager manifest repository Navigating the 8 fallacies of distributed computing | Ably Blog: Data in Motion Patterns of Distributed Systems ExpressionPowerTools/quickstart.md at master · JeremyLikness/ExpressionPowerTools How Directorybrowsermiddleware middleware renders the directory structure RabbitMQ…
-
app.Use vs Middleware–and scoped services
When you want to use a fast middleware,you can use ( pun intended) app.Use( However,if you want to use some of scoped services,e.g. app.Use(async (context,next) => { var st= app.Services.GetRequiredService<IServerTiming>(); //code } then it gives an error Cannot resolve scoped service from root provider For this you should create a scope: app.Use(async (context,next) => { …
-
Friday links 477
The pain points of C# source generators – Turnerj (aka. James Turner) github/codeql-action: Actions for running CodeQL analysis It haunts us | CommitStrip Don’t Write Code for a Startup. Confessions of a serial startup… | by Chris The Data Guy | Jun,2021 | Better Programming migueldeicaza/gui.cs: Console-based user interface toolkit for .NET applications. HTTP Range…
-
Friday links 476
PACELC theorem – Wikipedia 5 Rules of Coaching | Liz Keogh,lunivore dotnet repl – Scott Hanselman’s Blog The Hells Every Developer Experiences – DEV Community Running .NET Core Apps on a Framework other than Compiled Version? – Rick Strahl’s Web Log runtime/framework-version-resolution.md at main · dotnet/runtime Using Roslyn for Compiling Code into Separate Net Modules…
-
Services.Add => 2 NuGet
If you make a NuGet package for ASP.NET Core and you make an extension method that calls Services.AddWhatever in order to add a Sngleton / Scoped / Transient a IWhatever => Whatever implementation,please add IWhatever in a separate Nuget . Why ? Because not all ASP>NET Core projects are made of a single project –…
-
Friday links 475
thepirat000/Audit.NET: An extensible framework to audit executing operations in .NET and .NET Core. stevetalkscode.co.uk Documenting and testing APIs with Postman – Simple Talk The key to great database Continuous Integration is disposable databases | by Matthew Flatt | Spawn DB | Jun,2021 | Medium How to Reduce Your Chances of an API Data Breach –…
-
TypeScript is not type safe
Let’s say we have an API that return true or false ( TILT – Things I learned Today – http://tiltwebapp.azurewebsites.net/ – returns true if I have learned something today ) What is wrong with this code: public HasTILTToday():Observable<boolean>{ if(!this.wasLoggedIn)return of(false); return this.http.get<string>(this.baseUrl+’TILT/HasTILTToday’,{ headers: new HttpHeaders( { ‘Authorization’: ‘CustomBearer ‘ + this.jwt, ‘Content-Type’: ‘application/json’ …
-
Friday links 474
PawelGerr/Thinktecture.Abstractions: Interfaces for commonly used .NET types like `File`,`Directory`,`Stream`,`Path`,`Math`,`Environment`,`Task`,etc. for better testability. System-IO-Abstractions/System.IO.Abstractions: Just like System.Web.Abstractions,but for System.IO. Yay for testable IO access! Debugging C# Source Generators with Visual Studio 2019 16.10 – Steve Talks Code reaqtive/reaqtor: Reaqtor is a framework for reliable,stateful,distributed,and scalable event processing based on Rx. Things your manager might not know…
I am ok , you are ok