-
-
Notifications
You must be signed in to change notification settings - Fork 19
Samples
Slava Vedernikov edited this page Feb 21, 2024
·
27 revisions
Below are the links to the AaC and the Diagrams generated by C4InterFlow based on E-Shop sample .NET application
AaC is generated from C# source code
Diagrams (generated and tested with both C# and YAML AaC) for all Scope, Level of Details, Types and Formats.
- Clone E-Shop sample .NET application repo
- Remember your local E-Shop repo directory, you will need it later.
- Clone C4InterFlow repo
- Open
Samples\dotnet.eShopsub-directory under the directory where C4InterFlow repo was cloned to in the previous step - Edit
execute-aac-strategy.batfile as follows:- Replace
C:\Data\Projects\C4InterFlow\eShop-maininset "net-sourcecode-dir=C:\Data\Projects\C4InterFlow\eShop-main\src"with the path to the directory where you cloned the E-Shop repo to - Choose one of the following settings
- To generate Architecture as Code in C#, set
aac-typetoCSharpi.e.set "aac-type=CSharp" - To generate Architecture as Code in YAML, set
aac-typetoYamli.e.set "aac-type=Yaml"
- To generate Architecture as Code in C#, set
- Save the changes
- Replace
- Double-click on
execute-aac-strategy.batfile to run it and make sure it completed successfully - Edit
draw-diagrams.batfile as follows:- Choose one of the following settings
- To re-draw all diagrams (i.e.
.puml,.pngand.svgformats), setredraw-alltoTRUEi.e.set "redraw-all=TRUE"- NOTE: this may take several minutes
- To re-draw only diagrams in
.pumlformat, setredraw-alltoFALSEi.e.set "redraw-all=FALSE"
- To re-draw all diagrams (i.e.
- Choose one of the following settings
- To generate diagrams from C# Architecture as Code, set
aac-typetoCSharpi.e.set "aac-type=CSharp" - To generate diagrams from YAML Architecture as Code, set
aac-typetoYamli.e.set "aac-type=Yaml"
- To generate diagrams from C# Architecture as Code, set
- Save the changes
- Choose one of the following settings
- Double-click on
draw-diagrams.batfile to run it and make sure it completed successfully