Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you create a sample project for .net 8 #423

Open
ErgunAhmet opened this issue Mar 6, 2024 · 3 comments
Open

Can you create a sample project for .net 8 #423

ErgunAhmet opened this issue Mar 6, 2024 · 3 comments

Comments

@ErgunAhmet
Copy link

No description provided.

@alexradu95
Copy link

alexradu95 commented May 28, 2024

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

@prof3000
Copy link

prof3000 commented Jul 5, 2024

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

@Trubador
Copy link

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants