Category: .NET
-
RSCG – ProtobufSourceGenerator
RSCG – ProtobufSourceGenerator name ProtobufSourceGenerator nuget https://www.nuget.org/packages/LaDeak.ProtobufSourceGenerator/ link https://github.com/ladeak/ProtobufSourceGenerator author Laszlo Deak Serializing a class to protobuf This is how you can use ProtobufSourceGenerator . 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/ProtobufSourceGenerator
-
RSCG – SafeRouting
RSCG – SafeRouting name SafeRouting nuget https://www.nuget.org/packages/SafeRouting/ link https://github.com/daviddotcs/safe-routing author David Wake Safe Routing for MVC This is how you can use SafeRouting . 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/SafeRouting
-
RSCG – SourceGenerator.Helper.CopyCode
RSCG – SourceGenerator.Helper.CopyCode name SourceGenerator.Helper.CopyCode nuget https://www.nuget.org/packages/SourceGenerator.Helper.CopyCode/ link https://github.com/LokiMidgard/SourceGenerator.Helper.CopyCode author Patrick Kranz Transform Code to string This is how you can use SourceGenerator.Helper.CopyCode . 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/SourceGenerator.Helper.CopyCode
-
RSCG – NetEscapades.EnumGenerators
RSCG – NetEscapades.EnumGenerators name NetEscapades.EnumGenerators nuget https://www.nuget.org/packages/NetEscapades.EnumGenerators/ link https://andrewlock.net/netescapades-enumgenerators-a-source-generator-for-enum-performance/ author Andrew Lock Running fast tostring and other features for enum This is how you can use NetEscapades.EnumGenerators . The code that you start with is The code that you will use is The code that is generated is Code and pdf…
-
NetCoreUsefullEndpoints–part 6–passing to .NET 7
So .NET 7 has appeared and I decided to pass NetCoreUsefullEndpoints to .NET 7 . Also,for RateLimiter,I have considered that is good to know if the request is local or remote … so I decided to add connection ( remote IP,local IP,and more details) to the nuget package. So I have created for .NET 6…
-
TILT-REACT Router
Now to see how to handle FrontEnd routing ( From Backend it is simple – just transfer to index.html and React will handle it ) The long established in React world seems to be https://github.com/remix-run/react-router . There is a new kid,https://github.com/Paratron/hookrouter – that uses hooks. However,the documentation says: This project is not and will not…
-
Vintage Development part 2 si RX
Pe 13 septembrie 2022,ora 19:30, va fi un nou meetup ADCES despre “Vintage Development part 2 si RX” Details Prezentare 1:Vintage development part 2 – VB6.0,Classic ASP,Windows NT Server,Visual SourceSafePrezentator: Julian Atanasoae,https://www.linkedin.com/in/julianatanasoae/ Prezentare 2:Reactive Extensions in .NET si JavaScript cu multe exemple in AngularPrezentator: Andrei Ignat,http://msprogrammer.serviciipeweb.ro/Descriere: In cadrul prezentarii o sa fie o introducere in…
-
[NuGet]: Transplator
This is a Nuget that it is what Razor should have been. It is a Roslyn Source Code Generator that transforms template into code. Link: https://www.nuget.org/packages/Transplator Site: https://github.com/atifaziz/Transplator What it does: Takes a template and generates source code for outputting anything inside. Usage: Somewhere in the csproj: <ItemGroup> <CompilerVisibleProperty Include=”DebugTransplator” /> <CompilerVisibleItemMetadata Include=”AdditionalFiles” MetadataName=”SourceItemType” /> …
-
RSCG Example – Tiny Types – Part 23
name BaseTypes nuget https://www.nuget.org/packages/AndreasDorfer.BaseTypes/ link https://github.com/Andreas-Dorfer/base-types author Andreas Dorfer Generated tiny types from any value type The code that you start with is The code that you will use is The code that is generated is Example Code: https://github.com/ignatandrei/RSCG_Examples/tree/main/TinyTypes
-
RecordVisitors- BDD–part 9
It is recommended to have tests. And better is to see the output of the tests in some readable format . On other hand,I do not like full BDD frameworks as SpecFlow – I think that are too overkill in order to achieve less. So – something like https://github.com/LightBDD/LightBDD seems to fit the bill. After…