Category: .NET

  • JavaScriptExtensionsAspire–part 2–execution

    Now about the execution of https://www.nuget.org/packages/JavaScriptExtensionsAspire Finding and parsing the package json is pretty easy – this is the code More interessant is to find the name of npm executable Also I want to add the environment variables from the original javascript app Otherwise, pretty obvious stuff of starting the npm process info . NuGet…

  • JavaScriptExtensionsAspire–part 1

    TL;DR: Add package.json commands to ASPIRE Simplifying JavaScript Workflows in .NET with JavaScriptExtensionsAspire As a developer working with .NET and JavaScript, I often find myself juggling between managing JavaScript resources and integrating package.json commands into my applications. It can be tedious and time-consuming. That’s why I’m excited to share my experience with JavaScriptExtensionsAspire, a .NET…

  • Aspire Resource for Aspire–part 4–programatic access

    Aspire 13 has a MCP server integrated https://aspire.dev/dashboard/mcp-server/ . But what about an OPENAPI / swagger ? Also and a graph to show the  resources – https://aspire.dev/dashboard/explore/#resources-page , see graph image. But how about Mermaid syntax display of resources ? So I implemented in https://www.nuget.org/packages/AspireExtensionsResource , version >= 13 . This is how it looks…

  • RSCG – Program

    RSCG – Program   name Program nuget https://www.nuget.org/packages/Microsoft.AspNetCore.OpenApi link https://github.com/dotnet/aspnetcore/blob/70d851104f739fb906aabcd6a07c0935ce2549c9/src/Framework/AspNetCoreAnalyzers/src/SourceGenerators/PublicTopLevelProgramGenerator.cs#L11 author Microsoft Generating Program.cs class for testing purposes This is how you can use Program . The code that you start with is The code that you will use is The code that is generated is Code and pdf athttps://ignatandrei.github.io/RSCG_Examples/v2/docs/Program

  • RSCG – validly

    RSCG – validly   name validly nuget https://www.nuget.org/packages/validly/ link https://github.com/Hookyns/validly author Roman Jambor Generates validation code for C# classes based on attributes. This is how you can use validly . The code that you start with is The code that you will use is The code that is generated is Code and pdf athttps://ignatandrei.github.io/RSCG_Examples/v2/docs/validly

  • RSCG – Csvcsharp

    RSCG – Csvcsharp   name Csvcsharp nuget https://www.nuget.org/packages/Csvcsharp/ link https://github.com/nuskey8/Csv-CSharp author Yusuke Nakada Serializer for CSV files This is how you can use Csvcsharp . The code that you start with is The code that you will use is The code that is generated is Code and pdf athttps://ignatandrei.github.io/RSCG_Examples/v2/docs/Csvcsharp

  • DocumentorDatabaseExtensionsAspire–part 3–usage

    The usage is pretty simple : add  the package https://www.nuget.org/Packages/DocumentorDatabaseExtensionsAspire to the Aspire host project.  Add an SqlServer database and write //accepts also relative paths var res = db.AddDocumentationOnFolder(@”D:\documentation”); That will be all ! And here it the Aspire Dashboard with documentation for Pubs database And the diagram Here you will find a video about…

  • DocumentorDatabaseExtensionsAspire–part 2–implementation

    The Aspire project as already a database resource  – and a executing one ( sqlpad or dbgate or adminer ) So the answer to the several problems to be solved: 1. How to obtain the tables definition  ? We can obtain the definition by handling ourselves the tables- but why do not profit from the…

  • RSCG – RapidEnum

    RSCG – RapidEnum     name RapidEnum nuget https://www.nuget.org/packages/RapidEnum/ link https://github.com/hanachiru/RapidEnum author hanachiru Generate enum values without reflection   This is how you can use RapidEnum . 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/RapidEnum

  • RSCG – VYaml

    RSCG – VYaml     name VYaml nuget https://www.nuget.org/packages/VYaml/ link https://github.com/hadashiA/VYaml author Hadashi A Serializing to/from YAML format   This is how you can use VYaml . 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/VYaml