mindhardt
Nuget publish with dependency
I have my library solution which has 3 projects:
Core
- holds base classes, required in package
Generator
- a source generator, required in package
Sample
- a test project, not required in package
How do I publish only Core and Generator projects, since they do not make sense without one other I thought it would be nice to include both of them into one package? How do I achieve this? All the guides I found seem kinda confusing, for now I would be happy with "just works" solution36 replies
✅ Setting app's address (Blazor 8 SSR)
I have created a Blazor 8 wasm+ssr app, but after deployment my redirects broke.
The app is hosted on my home server via KeenDNS (Keenetic DNS), apparently it proxies requests in such a way that redirects in ssr end up leading to addresses like
http://192.168.1.45/Account/Login
which is an internal address of the server in a home network
I want to somehow specify the app's address so that it redirects to itself properly. Setting ASPNETCORE_URLS
didn't help cuz KeenDNS url is https so asp starts asking for ssl certs that I don't own, they are managed by KeenDNS.
Any ideas of how to fix this?4 replies
✅ Blazor on .NET 8: how to disable static prerender and return to .net 7 behavior
I have created a new blazor 8 project with wasm interactivity and Identity pages (that use Blazor ssr).
When I navigate from account pages to any client page, app attempts to pre-render them with ssr while loading wasm.
This behavior is not wanted since my pages have some logic that cannot be reproduced on server (like loading server file as string for future manipulations)
With Blazor on .net 7 with duende it worked so any navigation from Identity pages to client triggered wasm loading animation which I am totally fine with.
How do I reimplant .net 7 behavior in .net 8 Blazor?
5 replies