Replies: 1 comment
-
The common issue I hear when attempting to deliver the wasm content from the Lambda function is making sure they are being identified as binary content. If you are using version |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been trying to set up a simple Blazor web app to deploy to Lambda, but having some issues right off the bat. Wondering what I'm doing wrong.
Following the instructions from this post https://toxigon.com/run-blazor-based-dotnet-web-applications-on-aws-serverless, I:
dotnet new blazorwasm -o BlazorServerlessApp
cd BlazorServerlessApp/
dotnet run
- this works!dotnet add package Amazon.Lambda.AspNetCoreServer
dotnet run
:No matter what I do after that command, I get the same error trying to build or run. From this StackOverflow post, it would appear that the error means that one of my dependencies is not compatible with the
browser-wasm
target.So my question is, how do I host my Blazor app in a Lambda? I'm sure I'm doing something wrong as this seems like a pretty common use case.
System information:
Beta Was this translation helpful? Give feedback.
All reactions