Connectors simplify connecting to standalone and CloudFoundry services
Перейти к файлу
Jason Konicki 62d0999233 Add moved notice to the readme 2019-05-15 09:52:41 -04:00
config Microsoft health check (#50) 2019-04-17 23:02:14 -04:00
src Microsoft health check (#50) 2019-04-17 23:02:14 -04:00
test support named instances and other props via jdbc uri syntax #48 [#158388528] (#49) 2019-04-01 12:05:23 -05:00
.appveyor.yml Sign Nuget packages 2018-10-18 13:44:28 -05:00
.gitattributes Initial checkin 2016-06-28 10:14:02 -06:00
.gitignore add stylecop nuget package and some rule overrides 2017-10-05 11:25:50 -05:00
.travis.yml build 2.2.0, don't build tags, update sdk used in Travis 2018-10-12 11:49:48 -05:00
CONTRIBUTING.md Create CONTRIBUTING.md 2017-09-15 14:40:47 -04:00
Connectors.sln Support for EF6 + Autofac [delivers #155996598] 2018-06-15 23:24:22 -05:00
License.txt URL Cleanup (#36) 2019-03-26 13:32:40 -05:00
README.md Add moved notice to the readme 2019-05-15 09:52:41 -04:00
localSql.cmd Microsoft health check (#50) 2019-04-17 23:02:14 -04:00
nuget.config Fix default nuget.config 2017-06-21 09:20:46 -06:00
open_source_licenses.txt URL Cleanup (#42) 2019-03-26 14:17:02 -05:00
stylecop.json require https in copyright header 2019-03-26 14:20:30 -05:00
targetframework.props Add Sourcelink, x-plat compilation [#158000056, #163396106] 2019-03-14 18:05:33 -05:00
versions.props Update default version file 2017-06-21 12:12:52 -06:00

README.md

.NET CloudFoundry Connectors

NOTICE: This repository has been relocated as a sub-directory under the Steeltoe repository. All issues and future development will be done under that repository.

This repository 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

The connectors are intended to support both .NET 4.6.1+ and .NET Core (CoreCLR/CoreFX) runtimes. Note that some connectors only support .NET 4.6.1+ since the libraries they depend on do not 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 2.0, .NET 4.6.x, and on ASP.NET Core 2.0.

Usage

For more information on how to use these components see the online Steeltoe documentation.

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.

Building Pre-requisites

To build and run the unit tests:

  1. .NET Core SDK 2.0.3 or greater
  2. .NET Core Runtime 2.0.3

Building Packages & Running Tests - Windows

To build the packages on windows:

  1. git clone ...
  2. cd <clone directory>
  3. cd src/<project> (e.g. cd src/Steeltoe.CloudFoundry.Connector)
  4. dotnet restore
  5. 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. cd test/<test project> (e.g. cd test/Steeltoe.CloudFoundry.Connector.Test)
  4. dotnet restore
  5. dotnet xunit -verbose

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. cd src/<project> (e.g.. cd src/Steeltoe.CloudFoundry.Connector)
  4. dotnet restore
  5. 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. cd test/<test project> (e.g. cd test/Steeltoe.CloudFoundry.Connector.Test)
  4. dotnet restore
  5. dotnet xunit -verbose -framework netcoreapp2.0

Sample Applications

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