Prepare Your Code for Azure App Service.I decided to give an overview and share with you the solution on how you can run your Next.JS application in Azure. It turned out to be a trivial yet complicated issue with some missing files and undefined Node version on App Service resource. I started receiving an error " You do not have permission to view this directory or page". Unfortunately, things didn't go as planned and I spent an entire day trying to figure out the issue with the application after it was deployed on App Service. (More on this in upcoming blogs -Work in Progress □ ) It took me only 3-4 hours to create an application that communicates with Cosmos DB to pull data out and display it on the homepage. I am not a react developer as you can tell by now if you have read my other blogs, but it was super simple and quick to get started with Next.JS official learn module. I stumbled upon Next.JS after researching and testing a demo application for few days and decided to publish it on Azure App Service to test some of its functionality. ![]() I've been playing with React and some of it's popular web frameworks for some time to understand the capabilities and features it provides to run modern web applications. ![]() Last week, we talked about how you can Setup Custom Domain for Azure App Service. This is the fifth article in the " Getting Started with Azure App Service" Series where I publish in-depth tutorial and walkthrough on using Azure App Service and best practices every week.
0 Comments
Leave a Reply. |