Tooling/visual-studio-templates
Tim Hess 6cc57ac39c
Update manifest.yml
2019-03-28 11:47:34 -05:00
..
all-templates-vsix/App-Templates-VSIX URL Cleanup (#57) 2019-03-26 17:30:35 -05:00
linux-core-base URL Cleanup (#61) 2019-03-28 11:46:47 -05:00
linux-core-cloudfoundry URL Cleanup (#61) 2019-03-28 11:46:47 -05:00
win-core-base URL Cleanup (#61) 2019-03-28 11:46:47 -05:00
win-core-cloudfoundry Update manifest.yml 2019-03-28 11:47:34 -05:00
win-framework-base URL Cleanup (#61) 2019-03-28 11:46:47 -05:00
win-framework-cloudfoundry URL Cleanup (#61) 2019-03-28 11:46:47 -05:00
README.md Update readme and rename VSIX product to fit marketplace. 2019-02-12 21:11:52 -05:00
Steeltoe-VS-Templates.sln Add large Steeltoe logo 2019-02-12 14:34:20 -05:00
release-notes.txt Initial commit 2019-02-12 11:15:29 -05:00

README.md

Visual Studio Templates

Steeltoe is an open source project that enables .NET developers to implement industry standard best practices when building resilient microservices for the cloud. The Steeltoe client libraries enable .NET Core and .NET Framework apps to easily leverage Netflix Eureka, Hystrix, Spring Cloud Config Server, and Cloud Foundry services.

Find project templates online

Each project in this solution is published in the Visual Studio Marketplace, for use as a template when you open Visual Studio and choose File > New > Project > Online. You can search for steeltoe in the new project window to see options.

Load project templates offline

Alternatly you can load the project templates into Visual Studio manually by downloading the VSIX file in the Releases area. Once downloaded, close Visual Studio, and click the VSIX file to begin install. All templates are included in this offline VSIX version. To get stared, create a new project File > New > Project > Installed > Visual C#.

Getting Started

The templates are based on the C# web api template but have been simplified to only offer RESTful endpoints and use Steeltoe for many of the cloud native functions like managing environment variables and streaming logs. Each template targets a specific runtime and operating system combination (ie: .NET Core on Linux).

As a starting point, let Visual Studio load the project completely and simply publish. This will create your build artifact which can then be pushed to the desired platform or cloud.

**NOTE: for the framework projects, you will need to restore all packages. Once Visual Studio has completely loaded the project, right click on References and choose Manage Nuget Packages. This new window should offer an option at the top to Restore. Click it and let Visual Studio retrieve the needed packages to publish the project.

Base Templates

The templates with base naming are platform neutral ie: they can be used anywhere a website can be hosted (iis, public cloud, etc).

Cloud Foundry Templates

The templates with cloudfoundry naming extend the base templates to target deploying the app to Cloud Foundry. These templates offer additional features like management integrations enhanced log streaming, and each template has a ready to cf push manifest.

Windows Diego Cells on Cloud Foundry

When using the Cloud Foundry templates that target .NET Framework, you will need to ensure your platform has the proper cells deployed. Read more about Windows Diego Cells here.

More Info

To learn more about Steeltoe, head over to the site https://steeltoe.io.