@@b1chler I tried but no, it didn't work. The default page is the only one that work but when you try to access nested page or dynamic routing, you will get 500 error :/ Then I tried to implement pages router based on the same project as the app router based one, all the nested routes inside pages work but for the app router still doesn't work.
@@tinasoarajaonarivelo444 what does migrating back to page router entail? Is it really just changing directory names and all the route's page files to index? Everything seems to be about migrating from page router to app, but not the other way around
Key difference with an App Service and Static Web App is that the Static Web App is globally distributed and Azure Function does the work as the server. So in the scenario of running NextJS you are not using the default server configuration but using an Azure Function to do the processing part (this is middleware).
How to debug server side in production?
I don’t see logs in app insights even though its enabled
Really interesting. Will it work with the new app folder as well?
Has anyone tried?
@@b1chler I will try it today, in this moment i have my app y azure web app but it is far slower than vercel.
@@b1chler I tried but no, it didn't work. The default page is the only one that work but when you try to access nested page or dynamic routing, you will get 500 error :/ Then I tried to implement pages router based on the same project as the app router based one, all the nested routes inside pages work but for the app router still doesn't work.
@@tinasoarajaonarivelo444 what does migrating back to page router entail? Is it really just changing directory names and all the route's page files to index? Everything seems to be about migrating from page router to app, but not the other way around
as a fun of reactjs & Nextjs...am supper excited with what is coming with azure static web apps
One important question would be, what happens if i want to use secret keys from ci/cd, because with ssg, i can do that and the keys never leave ci/cd
How are you supposed to handle database deployments with preview environments?
in terms of the app secret settings? new preview deployment environment automatically inherit them from the main environment
is this repo available on github or any similar repo which have nextJs static web app with cosmos for reference.
Hello! Here's a link to the Git repository: msft.it/6055iWLHD We've also included it in the video description. Thanks for reaching out! 💙
whats the difference between this (static web app with az function) and a node js app service
Key difference with an App Service and Static Web App is that the Static Web App is globally distributed and Azure Function does the work as the server. So in the scenario of running NextJS you are not using the default server configuration but using an Azure Function to do the processing part (this is middleware).
👋🏼🇨🇴🧔🏻👍🏼🤝🏻 Saludos desde la ciudad de Bogotá D.C.
Finally!
Azure Static Web Apps, would be amazing but you guys charge 20 cents for overage GB.... Would be terrible to deploy with this model.
Okay but how is my CI/CD going to deploy using a vscode extension?