Skip to content

lenisha/Connectors

 
 

Repository files navigation

.NET CloudFoundry Connectors

This repo contains several connectors which simplify the process of connecting to services on CloudFoundry.

Windows Master (Stable): AppVeyor Master

Windows Dev (Less Stable): AppVeyor Dev

Linux/OS X Master (Stable): Travis Master

Linux/OS X Dev (Less Stable): Travis Dev

.NET Runtime & Framework Support

Like ASP.NET Core, the connectors are intended to support both .NET 4.5.1+ and .NET Core (CoreCLR/CoreFX) runtimes. Note that some connectors only support .NET 4.5.1+ since the libraries they depend on do not yet support .NET Core.

Where supported the connectors are built and unit tested on Windows, Linux and OSX.

While the primary usage of the connectors is intended to be with ASP.NET Core applications, they should also work fine with UWP, Console and ASP.NET 4.x apps.

Depending on their level of support, the connectors and samples have been tested on .NET Core 1.0.0 Preview 2 SDK, .NET 4.5.1, and on ASP.NET Core 1.0.0.

Usage

See the Readme for each connector for more details on how to make use of it in an application.

Nuget Feeds

All new connector development is done on the dev branch. More stable versions of the connectors can be found on the master branch. The latest prebuilt packages from each branch can be found on one of two MyGet feeds. Released version can be found on nuget.org.

Development feed (Less Stable) - https://www.myget.org/gallery/steeltoedev

Master feed (Stable) - https://www.myget.org/gallery/steeltoemaster

Release or Release Candidate feed - https://www.nuget.org/.

Building Packages & Running Tests - Windows

To build the packages on windows:

  1. git clone ...
  2. cd <clone directory>
  3. Install .NET Core SDK
  4. dotnet restore --configfile nuget.config src
  5. cd src\ <project> (e.g. cd src\Steeltoe.CloudFoundry.Connector)
  6. dotnet pack --configuration <Release or Debug>

The resulting artifacts can be found in the bin folder under the corresponding project. (e.g. src\Steeltoe.CloudFoundry.Connector\bin)

To run the unit tests:

  1. git clone ...
  2. cd <clone directory>
  3. Install .NET Core SDK
  4. dotnet restore --configfile nuget.config test
  5. cd test\ <test project> (e.g. cd test\Steeltoe.CloudFoundry.Connector.Test)
  6. dotnet test

Building Packages & Running Tests - Linux/OSX

To build the packages on Linux/OSX: ( Note: Some connectors do not support CoreCLR.)

  1. git clone ...
  2. cd <clone directory>
  3. Install .NET Core SDK
  4. dotnet restore --configfile nuget.config src
  5. cd src/ <project> (e.g.. cd src/Steeltoe.CloudFoundry.Connector)
  6. dotnet pack --configuration <Release or Debug>

The resulting artifacts can be found in the bin folder under the corresponding project. (e.g. src/Steeltoe.CloudFoundry.Connector/bin

To run the unit tests: ( Note: Some connectors do not support CoreCLR.)

  1. git clone ...
  2. cd <clone directory>
  3. Install .NET Core SDK
  4. dotnet restore --configfile nuget.config test
  5. cd test\ <test project> (e.g. cd test/Steeltoe.CloudFoundry.Connector.Test)
  6. dotnet test --framework netcoreapp1.0

Sample Applications

See the Samples repo for examples of how to use these packages.

About

Connectors - Simplify Connecting to CloudFoundry Services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 98.1%
  • Other 1.9%