-
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…
-
[ADCES] interact WebAPI
Prezentarea mea despre Interacting with WebAPI o gasiti la https://ignatandrei.github.io/Presentations/InteractWithWebAPIprez.html . TILT cu BlocklyAutomation la http://tiltwebapp.azurewebsites.net/blocklyautomation ( apasati load)
-
[ADCES]–WebAPI and Flutter
Tomorrow is another ADCES meetup – InteractingWithWebAPI & A day with Flutter shoes Prezentare 1 : InteractingWithWebAPI,Andrei Ignat,http://msprogrammer.serviciipeweb.ro/ Descriere: Cum interactionam cu WebAPI astfel incit sa putem sa facem un demo pentru FrontEnd developer Prezentare 2 : A day with Flutter shoes,Alex Bordei,https://whiz.ro/ Waiting for you at https://www.meetup.com/Bucharest-A-D-C-E-S-Meetup/events/283677740/
-
Friday links 473
Six Things You Thought Senior Devs Did (But We Don’t) – DEV Community (Realistic) List of Web Dev Resources – DEV Community Classifying Communities with the 3Ps: Product,Practice,and Play — Orbit Blog My Epic Life Quest – Brent Ozar Adding an endpoint graph to your ASP.NET Core application: Visualizing ASP.NET Core 3.0 endpoints using GraphvizOnline…
-
Busy with TILT
Just thinking to a new application – TILT – Things I Learned Today . It will allow me to verify Database 2 Code – an sample project – and many of Roslyn Source Code Generators. If you want to participate,just let me know. It will be on Azure as most as possible – and with…
-
Friday links 472
Top 10 Free New Testing Tools for Visual Studio 2019 — Visual Studio Magazine Debugging a .NET assembly without the source code with Visual Studio – Meziantou’s blog Being right doesn’t matter – Human Who Codes Python or R? | Tecflix Scientists Shot Tardigrades from a Gun to See If Interplanetary Travel Is Survivable draft-wkumari-not-a-draft-13…
-
Passing from .NET 5 to .NET 6
First,read the document here: Migrate from ASP.NET Core 5.0 to 6.0 | Microsoft Docs .\ So those were my steps ( fully compile after each step ): 1. Replace in csproj net5.0 with net6.0 <TargetFramework>net6.0</TargetFramework> 2. Update all nugets reference to the latest version 3. Add globals.cs with various usings 4. Add globals.cs . Mine…
I am ok , you are ok