YamatoDaiwa.PugCSharpStaticPreview 0.3.2

dotnet add package YamatoDaiwa.PugCSharpStaticPreview --version 0.3.2
                    
NuGet\Install-Package YamatoDaiwa.PugCSharpStaticPreview -Version 0.3.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="YamatoDaiwa.PugCSharpStaticPreview" Version="0.3.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="YamatoDaiwa.PugCSharpStaticPreview" Version="0.3.2" />
                    
Directory.Packages.props
<PackageReference Include="YamatoDaiwa.PugCSharpStaticPreview" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add YamatoDaiwa.PugCSharpStaticPreview --version 0.3.2
                    
#r "nuget: YamatoDaiwa.PugCSharpStaticPreview, 0.3.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package YamatoDaiwa.PugCSharpStaticPreview@0.3.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=YamatoDaiwa.PugCSharpStaticPreview&version=0.3.2
                    
Install as a Cake Addin
#tool nuget:?package=YamatoDaiwa.PugCSharpStaticPreview&version=0.3.2
                    
Install as a Cake Tool

The npm package and related nuget package for the creating of the Pug static preview in C# hybrid and web applications. More exactly, this stack provides the solution for the following tasks:

  • Generating of the entities (enterprise business rules) objects based on C# classes which could be injected to Pug
  • Generating of the string resources based on C# classes which could be injected to Pug
  • Generating of the mock data based on C# classes which could be injected to Pug

The Yamato Daiwa Automation project building tool will also required to complete this tasks.

Installation

npm package

npm i @yamato-daiwa/pug-csharp-static-preview -D -E

nuget package

npm i dotnet add package YamatoDaiwa.PugCSharpStaticPreview --version 0.3.1

Functionality

C#

AssetsProviderForStaticPreview Class
classDiagram
  class AssetsProviderForStaticPreview {
    <<abstract>>
    # staticPreviewAbsolutePath : string
    # businessRulesOutputFileNameWithExtension : string
    # dataOutputFileNameWithExtension : string
    # stringResourcesOutputFileNameWithExtension : string
    # GenerateBusinessRules()* JsonObject
    # GenerateData()* object
    # GenerateStringResources()* JsonObject
    # GenerateAccess() void
  }
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.2 127 2/10/2026
0.3.1 123 2/9/2026
0.3.0 124 2/6/2026
0.2.0 131 1/1/2026
0.1.0 122 12/30/2025
0.0.0 188 12/20/2024