Edit on GitHub

VS.NET Templates

ServiceStack has its strong foundations as a Web and MQ Services framework whose easy and versatile HTML support makes it the ideal services framework to create Backend Systems and Web APIs, Websites, Single Page Apps, Windows Services, Self-Hosting Console Apps and Rich OSX and Winforms Desktop Apps.

ServiceStack VS.NET Templates Dialog

VS.NET Templates

Webpack-powered Single Page App Templates

All VS.NET Single Page App templates are powered by Webpack which handles the development, testing and production builds of your Web App. See the Webpack Template Docs for an overview for how to utilize the templates features.

The ServiceStackVS VS.NET extension contains a pre-configured Single Page App VS.NET template for each of the popular JavaScript frameworks:

Website Templates

Popular starting Templates for creating Server HTML Generated Websites and HTTP APIs with ServiceStack.

Empty Starting Templates

Empty Web and Self Hosting Console and Windows Service Templates.

ASP.NET Core Web Apps on .NET Framework

Popular starting templates for creating ASP.NET Core templates on the .NET Framework.

Desktop Templates

Desktop Templates for packaging your ServiceStack Web App into different Native Desktop GUIs.

ServiceStackVS VS.NET Extension

ServiceStackVS supports Visual Studio 2017, 2015 and 2013 and can be installed from within VS.NET:

Install ServiceStackVS

Install the ServiceStackVS VS.NET Extension by going to Tools > Extensions and Updates...

Then searching the Visual Studio Gallery for ServiceStack

Optionally it can be downloaded and installed from the VS.NET Gallery

VS.NET Gallery Download

Example Projects

The Example projects below contain a working demo including further documentation about each of their templates they were built with:

TypeScript React VS.NET Template

TypeScript React incorporates today’s best-in-class technologies for developing rich, complex JavaScript Apps within VS.NET and encapsulated within ServiceStack’s new TypeScript React VS.NET Template providing an instant integrated client and .NET server solution where you’ll be immediately productive out-of-the-box whilst enabling an optimal iterative development experience with pre-configured Gulp tasks that takes care of effortlessly packaging, bundling and deploying your next App.

React Desktop Apps

React Desktop Apps take advantage of the adaptability, navigation and deep-linking benefits of a Web-based UI, the productivity and responsiveness of the React framework, the performance, rich features and functionality contained in ServiceStack and the .NET Framework combined with the native experience and OS Integration possible from a Native Desktop App - all within a single VS .NET template!

React App Template

The ReactJS App VS.NET Template enables an optimal iterative dev experience for creating optimized Single Page React.js Apps. It shares the same approach for developing modern Single Page Apps in VS.NET as the AngularJS App Template by leveraging the node.js ecosystem for managing all aspects of Client App development and using the best-in-class libraries.

AngularJS App Template

AngularJS App is a new template in ServiceStackVS that provides a modern opinionated web technology stack for developing rich Single Page Apps with AngularJS and ServiceStack.

Integrated HTML, CSS and JavaScript Minifiers

For normal server-generated websites that don’t leverage Webpack to bundle their outputs you can take advantage of ServiceStack’s integrated and non-invasive minification features to effortlessly enable HTML, CSS and JavaScript minification to your existing Website.

Community Resources

Example Single Page App Projects