[WASM] Using Azure Pipelines to deploy to Azure Static Web (Wasm .Net 9/.Net10-Preview) App #19694
ToddGlodek
started this conversation in
Ideas
Replies: 2 comments
-
We have this particular documentation for publishing to azure static apps. Is there an issue with it? At this time, though, the template present in the uno template does not provide anything specific to publish on azure static apps, but you can derive it from the doc above. Note that .NET 10 Preview won't much in publishing, it's exactly the same techniques. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ToddGlodek note I am preparing a blog post on exactly this topic, so I will let you know here when it is out |
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
-
I am really struggling to deploy an Azure Static Web App with Azure Pipelines using (.Net 9/.Net10-Preview). It seems like the starting point should be the templates generated by the Uno Platform Template Wizard.
The wizard creates a file called 'smoke-test.yaml' - which in turn calls a template named 'install-dependencies.yml'.
Note that these jobs all run on windowsAgent.
The install-dependencies template takes care of several important tasks related to configuring the agent vmImage necessary to perform the build.
What it doesn't do is actually create an archive that can be deployed to Azure. So, in order to overcome that limitation, we read the online documentation and encounter topics like :
We might also check out UnoPlatform's git hub repository where they Publish to Azure Static WebApps ( see line 54)
We might also watch are some videos
A lot of these online resources mention the use of 'az staticwebapp' - so we think 'maybe we could try that'. But then we realize that all of these examples seem to be written for BLAZOR, and don't really work for an Uno Platform WASM project. Specifically, they all run on vmImage: ubuntu-latest (which is incompatible with the install-dependencies.yml running on windowsAgent).
The Ask
Is it possible for the Uno Platform team to provide some guidance regarding the direction they plan to take (keeping in mind .Net10-Preview) ? It seems like using a standardized "install-dependencies.yml" template is the right long-term direction. But, I cant figure out how to script the deployment, assuming that as a starting point - particularly because 'az staticwebapp' only works on vmImage: ubuntu-latest.
It would be a big benefit for everyone if the Uno Platform team could distill down all documentation into a single link that works for a project newly created using the Uno Platform Template Wizard. Then, add a reference link to that documentation as a comment at the end of 'smoke-test.yaml'.
Thanks - in advance - for considering my report.
Beta Was this translation helpful? Give feedback.
All reactions