Microsoft Web Template Studio (aka WebTS) is a Visual Studio Code Extension that accelerates the creation of a new Web or React Native application using a wizard-based experience.
WebTS enables developers to generate boilerplate code for a Web or React Native application by choosing between different project types, frontend and backend frameworks, pages and cloud services. The resulting app is well-formed, readable code. The web application incorporates cloud services on Azure while implementing proven patterns and best practices. Sprinkled throughout the generated code we have links to Docs to provide useful insights. WebTS was created using TypeScript and React. Different combinations of generated code are merged together by Core Template Studio, which was made using .NET Core.
- Open VSCode
- Press
Ctrl + Shift ⇧ + P
in Windows/Linux orCommand ⌘ + Shift ⇧ + P
in Mac to open VSCode's extension launcher - Type/Select
Web Template Studio: Create Web App
for a full-stack web application orWeb Template Studio: Create React Native App
for a React Native one, and pressEnter
to launch the extension
Note: React Native is still in Preview and we appreciate any feedback on GitHub.
- Open VSCode
- Open the generated project
- Press
Ctrl + Shift ⇧ + P
in Windows/Linux orCommand ⌘ + Shift ⇧ + P
in Mac to open VSCode's extension launcher - Type/Select
Web Template Studio: Deploy Web App
and pressEnter
to begin the deployment
Note: Just available for web applications.
Web Template Studio approaches full-stack web app creation using the following three attribute sets:
- Frameworks: First, which frameworks do you want to use for your frontend and backend? We currently support three frameworks for frontend: React, Angular, Vue.js and four frameworks for backend: Node, Flask, Moleculer and ASP.NET. We also provide a dependency checker to make sure you have the required version of Node and/or Python installed.
- App pages: Next, to accelerate app creation, we provide a number of app page templates that you can use to add common UI pages into your new app. The current page templates include: blank page, common layouts (*e.g., master detail) and pages that implement common patterns (*e.g., grid, list). Using the wizard, add as many of the pages as you need, providing a name for each one, and we'll generate them for you.
- Cloud Services: Lastly, you specify which Azure cloud services you want to use, and we'll build out the framework for the services into your app. Currently supported services cover storage (Azure Cosmos DB), and hosting (Azure App Service).
Once you make the selections you want and click generate, you can quickly extend the generated code.
Web Template Studio approaches React Native app creation using the following two attribute sets:
- Project Type: Currently we only provide Tabbed Navigation as this is possibly the most common style of navigation in mobile apps. If you prefer a different navigation pattern you can replace TabNavigation with the navigation pattern that best fits your app. For instruction on adding Drawer navigation see the Drawer Navigation docs.
- App pages: Next, to accelerate app creation, we provide a number of app page templates that you can use to add common UI pages into your new app. The current page templates include: blank page, master detail and a settings page that comes with basic Theme Support, allowing the user to choose between Light, Dark or Default. Using the wizard, add as many of the pages as you need, providing a name for each one, and we'll generate them for you.
Please use GitHub issues for feedback, questions or comments.
If you have specific feature requests or would like to vote on what others are recommending, please go to the GitHub issues section as well. We would love to hear your thoughts.
We are still early in development and are looking for feedback for the roadmap. We're still working on polishing our Web Templates and in our latest version we've also added an initial version of React Native templates.
Do you want to contribute? We would love to have you help out. Here are our contribution guidelines.
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) at [email protected]. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.
This code is distributed under the terms and conditions of the MIT license.
The extension does log basic telemetry for what is being selected. We are in the process of creating a Telemetry Data page to summarize usage trends. Please read the Microsoft privacy statement for more information.