diff --git a/build/build.js b/build/build.js index 5c3c51e7af5..c21876df251 100644 --- a/build/build.js +++ b/build/build.js @@ -1,2 +1,3 @@ -const formatIndex = require('./reference-architectures/index'); -formatIndex(); \ No newline at end of file +const formatIndexFor = require('./reference-architectures/index'); +formatIndexFor('.'); +formatIndexFor('app-service-web-app'); \ No newline at end of file diff --git a/build/reference-architectures/index.js b/build/reference-architectures/index.js index 46559ff5df0..08903093fbf 100644 --- a/build/reference-architectures/index.js +++ b/build/reference-architectures/index.js @@ -8,9 +8,9 @@ const engine = Liquid({ extname: '.liquid' }); -module.exports = function () { +module.exports = function (indexFolder) { - const basePath = path.resolve(__dirname, `../../docs/reference-architectures/`); + const basePath = path.resolve(__dirname, `../../docs/reference-architectures/`, indexFolder); const outputhPath = path.resolve(basePath, 'index.md'); const jsonPath = path.resolve(basePath, `index.json`); diff --git a/docs/reference-architectures/app-service-web-app/index.json b/docs/reference-architectures/app-service-web-app/index.json new file mode 100644 index 00000000000..35ac8221d30 --- /dev/null +++ b/docs/reference-architectures/app-service-web-app/index.json @@ -0,0 +1,25 @@ +{ + "title": "App Service web application", + "description": "Recommended architectures for a web applications running in Microsoft Azure.", + "summary": "These reference architectures show proven practices for web applications that use Azure App Service and other managed services in Azure.", + "series": [ + { + "title": "Basic web application", + "url": "./basic-web-app.md", + "image": "./images/basic-web-app.svg", + "summary": "A basic web application that uses Azure App Service and Azure SQL Database." + }, + { + "title": "Improved scalability", + "url": "./scalable-web-app.md", + "image": "./images/scalable-web-app.svg", + "summary": "Improve scalability and performance by adding cache, CDN, and WebJobs for background tasks." + }, + { + "title": "Run in multiple regions", + "url": "./multi-region.md", + "image": "./images/multi-region-web-app.svg", + "summary": "Run a web application in multiple regions to achieve high availability." + } + ] +} \ No newline at end of file diff --git a/docs/reference-architectures/app-service-web-app/index.md b/docs/reference-architectures/app-service-web-app/index.md index 99d3ed80025..3ab7c36645f 100644 --- a/docs/reference-architectures/app-service-web-app/index.md +++ b/docs/reference-architectures/app-service-web-app/index.md @@ -3,68 +3,78 @@ title: App Service web application description: Recommended architectures for a web applications running in Microsoft Azure. layout: LandingPage --- + + + # App Service web application These reference architectures show proven practices for web applications that use Azure App Service and other managed services in Azure. -
A basic web application that uses Azure App Service and Azure SQL Database.
+A basic web application that uses Azure App Service and Azure SQL Database.
+Improve scalability and performance by adding cache, CDN, and WebJobs for background tasks.
+Improve scalability and performance by adding cache, CDN, and WebJobs for background tasks.
+Run a web application in multiple regions to achieve high availability.
+Run a web application in multiple regions to achieve high availability.
+