.NET and Static Sites

I have a small Blazor WASM app that I’m working on and I’d like to host it as a Static Site. Is there a way to get the dotnet command on the build agents for static site?

Hi there,

Thanks for reaching out.

Have you tried installing the dotnet SDK binary? https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.402-linux-x64-binaries

Hope that helps

Alan

Actually, I was curious… I’m not a dotnet user, but tried to install it myself on a Static Site this seemed to work as a Build Script: https://gist.github.com/BigAlRender/5f46d59eb5ecfa315edb132c9e9b15f8

Alan

Thank you! I had not thought of doing that, and that works!

Very glad to hear it worked for you.

Thanks for using Render!

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.