-
openAPISwaggerUI–part 2 – add ui for all
This is how I made https://nuget.org/packages/OpenAPISwaggerUI in order to see the UI for an ASP.NET 9 project. And hey,if you have any feedback,don’t be shy! Drop by https://github.com/ignatandrei/openAPISwaggerUI/ and let me know. Step one in this epic quest: add all the mystical references (a.k.a. NuGet packages) to the project file. Next,I had to figure out…
-
openAPISwaggerUI–part 1- idea
In .NET 9,Microsoft decided to play a little game of “Hide and Seek” with OpenAPI / Swagger JSON generation,leaving the UI part for us to figure out. So,how do we choose the best UI for our project without turning it into a guessing game? Well,I thought,why not create a project that lets you try all…
-
Friday links 498
Testing Frontend — Lessons from over a million lines of TypeScript at Palantir nexa-sdk/examples/local_file_organization at main · NexaAI/nexa-sdk How to Monetize a Blog Server-side tokens An Illustrated Proof of the CAP Theorem (11) A Startup Founder To Scaleup CEO’s Journey from $0 to $25billion (Halliganism’s) | LinkedIn Appetites instead of estimates Using Windows Error Reporting…
-
[Interface2NullObject]Debugger and Converter–part 5
It will be interesting to see the Null Object in the debugger with properties generated from interface -see https://www.nuget.org/packages/rscg_Interface_to_null_object This is not very difficult to generate once you have the interface with properties The code for generating and the code generated is More interesting is to have a converter in order…
-
[Interface2NullObject]Replace default-part 4
So for https://github.com/ignatandrei/rscg_Interface_to_null_object we put the default return value as the default for the return type. For properties,it is enough easy to modify the data. But for functions ? Let’s say we return an array The default value is null – so it will be throwing an error when do “foreach ” . So –…
-
[ADCES] Mock the Wire & How your .NET software supply chain is open to attack
Details Presentation 1 : Mock the Wire,with WireMock.NET: Simplifying API Testing in .NET Presenter : Cosmin Vladutu,https://www.linkedin.com/in/cosmin-vladutu/ Description : WireMock.NET offers an easy and flexible way to mock external dependencies,making API testing in .NET more reliable and efficient. It bridges the gap between integration and contract testing,allowing developers to validate service interactions without relying on real external services.…
-
What I use for a csproj for a Roslyn Code Generator
My csproj file looks like this And now a detailed explanation Project Sdk <Project Sdk=”Microsoft.NET.Sdk”> This tag specifies the SDK to use for the project. The Microsoft.NET.Sdk is a general-purpose SDK for .NET projects. PropertyGroup <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> <LangVersion>12.0</LangVersion> <Nullable>enable</Nullable> <ImplicitUsings>enable</ImplicitUsings> <IsRoslynComponent>true</IsRoslynComponent> <EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules> </PropertyGroup> TargetFramework: Targets .NET Standard 2.0,ensuring compatibility with a wide range of .NET…
-
Friday links 497
Why TCP needs 3 handshakes | PixelsTech 7 questions I get asked frequently as an EM | by Nitin Dhar | Total Engineering Management | Sep,2024 | Medium Everything You Want to Know About the Record Type in .NET… But Were Afraid to Ask – dotNetTips.com Terminal colours are tricky Jonas Hietala: Why I still…
-
RSCG – Pure.DI
RSCG – Pure.DI name Pure.DI nuget https://www.nuget.org/packages/Pure.DI/ link https://github.com/DevTeam/Pure.DI author Nikolay Pianikov Constructing injecting container This is how you can use Pure.DI . 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/Pure.DI
-
RSCG – ConstructorGenerator
RSCG – ConstructorGenerator name ConstructorGenerator nuget https://www.nuget.org/packages/ConstructorGenerator/ link https://github.com/Swarley97/ConstructorGenerator author Swarley97 Generate constructor for classes This is how you can use ConstructorGenerator . 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/ConstructorGenerator
I am ok , you are ok