Blazor.Diagrams icon indicating copy to clipboard operation
Blazor.Diagrams copied to clipboard

Can you create a sample project for .net 8

Open ErgunAhmet opened this issue 11 months ago • 3 comments

ErgunAhmet avatar Mar 06 '24 13:03 ErgunAhmet

https://github.com/alexradu95/Blazor.Diagrams-.NET8-Aspire-Template -> I have created a small project using .NET Aspire Blazor and Blazor.Diagram. I might push more edits, but you can rollback to the first commit and download the starter template

alexradu95 avatar May 28 '24 16:05 alexradu95

Good day. How to small example of lots features, more box more circle more line any figures. Best regards.

prof3000 avatar Jul 05 '24 14:07 prof3000

The most important thing to remember in any Blazor DotNet 8+ project is setting the <Routes @rendermode="InteractiveServer" />" in App.Razor - Otherwise the canvas will not be responsive at all - It will just render as a static page.

App.Razor

<body>
    <Routes @rendermode="InteractiveServer" />
    <script src="_framework/blazor.web.js"></script>
    <script src="_content/Z.Blazor.Diagrams/script.min.js"></script>
</body>

Trubador avatar Aug 18 '24 12:08 Trubador