Questions tagged [azure-static-web-app]
340 questions
0
votes
1 answer
Cannot query the status of Durable Functions Workflow linked from Azure Static Web Site
I have successfully deployed a Blazor WASM app as an Azure Static Web App and linked it to a separately deployed Durable Functions Workflow. From the Blazor App I can successfully start a workflow. I know this because a standard response is returned…

phil
- 1,938
- 4
- 23
- 33
0
votes
1 answer
adding export script to an existing next.config.js
I'm following Microsoft's Tutorial:
Deploy static-rendered Next.js websites on Azure Static Web Apps
The problem is, I'm trying to add to my next.config.js file this code:
const data = require('./utils/projectsData');
module.exports = {
…

Yair Maron
- 1,860
- 9
- 22
0
votes
1 answer
Azure Static Web App routes case sensitive
I'm building a static site using nextjs and hosting it in azure using the static web app offering. After I deployed my app, I noticed that the dynamically generated url's from next export are actually case sensitive, i.e.…

Mames
- 85
- 1
- 8
0
votes
1 answer
Securing Azure Function Endpoints used by Public Web App
I have an Azure Static Web App developed using Angular (let's say my company homepage) which needs to be publicly accessible w/o authentication. If I wanted some dynamic content on the home page which comes from a database (i.e. news items or a…

Engine Room
- 53
- 7
0
votes
1 answer
How to get current user's roles in API (Azure Function) on Azure Static Web Apps
I want to call the api and at the function decides what level of info to show/return based on user's roles.
Can someone give a sample on how to get logged user's roles in Azure Function on Azure Static Web App?
When deploying Azure Function via…

eduardogoncalves
- 173
- 3
- 11
0
votes
0 answers
Visual Studio Template for Static Azure Apps
I have been looking into the Azure Static Apps and its seems to work ok.
Is there a template for static apps. I mean I have my website in a folder but opening that in visual studio means there is no debug support.
If I choose the web app template…

user1144596
- 2,068
- 8
- 36
- 56
0
votes
1 answer
YAML: Mapping values are not allowed in this context at line 4 column 5
This throws an error, any yaml experts can see why?
All my spaces and indentations seem to be correct:
trigger:
- develop
pool:
vmImage: ubuntu-latest
steps:
- checkout: self
submodules: true
- task: AzureStaticWebApp@0
…

Timo
- 3
- 3
0
votes
1 answer
Blazor WASM Azure Static Web App, Functions not working
I created a simple Blazor WASM webapp using C# .NET5. It connects to some Functions which in turn get some data from a SQL Server database.
I followed the tutorial of BlazorTrain: https://www.youtube.com/watch?v=5QctDo9MWps
Locally using Azurite to…

Paul Meems
- 3,002
- 4
- 35
- 66
0
votes
1 answer
Publishing blazor wasm 404 errors
Blazor app builds without errors. When I publish it to azure static web app or to github pages I get the same not found errors. Any thoughts how you would approach this problem ?
All files except these load with 200 code:
KernelTraceControl.dll …

Max
- 39
- 1
- 3
0
votes
1 answer
How setup ORYX Build Configuration for Blazor Azure Static Web App
I have this Github Action for Azure Static Web App for Blazor WASM app and I would like to build my project using Configuration "PROD".
How can I get oryx to build the project in PROD instead of Release?
Thanks!
name: Azure Static Web Apps…

Mark Jack Milian
- 11
- 3
0
votes
1 answer
Azure Could not create Static Web App (preview)
I am trying to add a static web app for the first time in Azure. I just signed up with a free account. I have a repository ready on GitHub and now I need to create the web app using the Azure Portal. These are the steps I've taken since signing…

Andrew Weilandt
- 13
- 3
0
votes
1 answer
Azure static webapp Oryx github build breaks
Im trying to test different things on Azure, and i have tried to setup a static webapp.
The github repo consists of nothing really.
These files are pretty much empty. Whenever i push something to the repo, the build triggers, but fails with the…

Mike Nor
- 227
- 1
- 9
- 18
0
votes
1 answer
Versioning Azure static websites
As part of our release pipeline we deploy to Azure blob store (static websites). So every time the release pipeline runs, it overwrites the contents of the blob store with the new build artifact created and we see the latest changes.
For debugging…

Megatron
- 11
- 2
0
votes
2 answers
Angular PWA in Azure Static Web Apps
Does anyone have experience hosting Angular PWA apps in new Azure resource, Static Web Apps?
I tried to modified routes.json file:
{
"routes": [
{
"route": "/*",
"serve": "/index.html",
"statusCode":…

Mino
- 305
- 2
- 12
-1
votes
1 answer
I was not able to deploy react native web app to Azure Static Web App via bitbucket
Here is my pipelines bitbucket-pipelines.yml
image: atlassian/default-image:latest
options:
docker: true
size: 2x
pipelines:
branches:
dev:
- step:
name: Deploy to test
deployment: test
caches:
…

Youcef
- 1
- 1