Category: .NET
-
Minimizing code with global usings
I am fond of having all the usings declarations in a global.cs file by using global ( as opposed to have one by each file ) So I want that AI to remove redundant using statements from test and filter files and introduced global using directives in new global.cs files for both FpFilters and FpFilters.Tests…
-
Improving BDD Tests with HTML exports
So now I have the reports to the console – but it will be better if I read them in a text file . So I have tried to add automatically report export into HTML . You will find below the Whole discussion , but AI did not make it . If you follow the…
-
RSCG – Finch.Generators
RSCG – Finch.Generators name Finch.Generators nuget https://www.nuget.org/packages/Finch.Generators/ link https://github.com/ivmazurenko/finch author Ivan Mazurenko dapper style generator This is how you can use Finch.Generators . 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/Finch.Generators
-
RSCG – RxSourceGenerator
RSCG – RxSourceGenerator name RxSourceGenerator nuget https://www.nuget.org/packages/RxSourceGenerator/ link https://github.com/Zalutskii/Reactive-Extensions-event-generator author Ivan Zalutskii Generates RX Extensions for events This is how you can use RxSourceGenerator . 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/RxSourceGenerator
-
RSCG – NFH.FileEmbed
RSCG – NFH.FileEmbed name NFH.FileEmbed nuget https://www.nuget.org/packages/NFH.FileEmbed/ link https://github.com/SirCxyrtyx/FileEmbed author Natalie Howes Generating embedded files This is how you can use NFH.FileEmbed . 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/NFH.FileEmbed
-
VibeCoding and testing to BDD to understand the output
So the AI has written all tests for the solution. But now the problem was reading all those tests. For example for this code public static class ArrayFilters { // Checks if the argument is included in the comparison array public static bool IsIncludedIn<T>(T arg, T[] comparisonArray) { return comparisonArray != null && comparisonArray.Contains(arg); }…
-
Converting from https://github.com/Oaxoa/fp-filters – generate
History of how I ported https://github.com/Oaxoa/fp-filters to csharp So to port from Javascript to CSharp I followed those steps Clone the original project – easy Open in VSCode – easy Start discussing with GPT4.1 . Easy enough – see Whole discussion Verifying the results. This was the difficult part. So in the time span of…
-
TransCSharpGlot programming
History of how I ported https://github.com/Oaxoa/fp-filters to csharp This is my first attempt to utilize AI to translate from a programming language to another . To be easy, I choose the npm package https://github.com/Oaxoa/fp-filters to be translated to C# nuget package . It could bring some benefits to C# programmer to replace var numbers =…
-
RSCG – SKPromptGenerator
RSCG – SKPromptGenerator name SKPromptGenerator nuget https://www.nuget.org/packages/SKPromptGenerator/ link https://github.com/CharlieDigital/SKPromptGenerator author Charlie Chen Generate typed prompts for Semantic Kernel This is how you can use SKPromptGenerator . The code that you start with is The code that you will use is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/SKPromptGenerator
-
RSCG – Nino
RSCG – Nino name Nino nuget https://www.nuget.org/packages/Nino/ link https://github.com/JasonXuDeveloper/Nino author Jason Xu binary serialization This is how you can use Nino . 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/Nino