GithubHelp home page GithubHelp logo

warroyo / pcf-ers-dotnetcore-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vmware-archive/pcf-ers-dotnetcore-demo

0.0 2.0 0.0 4.7 MB

HTML 17.14% Ruby 0.12% Shell 0.11% Makefile 0.06% CSS 19.13% JavaScript 52.26% C# 11.18%

pcf-ers-dotnetcore-demo's Introduction

PCF Application Service (PAS) Base Demo for .NET CORE

Base application to demonstrate PCF PAS on .NET Core

Credits and contributions

This is a .NET CORE port of the original ERS demo app for Java Spring https://github.com/Pivotal-Field-Engineering/pcf-ers-demo

Introduction

This base application is intended to demonstrate some of the basic functionality of PCF PAS:

  • PCF api, target, login, and push
  • PCF environment variables
  • Scaling, self-healing, router and load balancing
  • RDBMS service and application auto-configuration
  • Blue green deployments

Getting Started

Prerequisites

Building

$ git clone [REPO]
$ cd [REPO]
$ dotnet publish -o ../publish src/pcf-ers-dotnetcore-demo.csproj

To run the application locally

The application is set to use an embedded SQLite database in non-PaaS environments, and to take advantage of Pivotal CF's auto-configuration for services. To use a MySQL Dev service in PCF, simply create and bind a service to the app and restart the app. No additional configuration is necessary when running locally or in Pivotal CF.

In Pivotal CF, it is assumed that a Pivotal MySQL service will be used.

$ dotnet run --project src/pcf-ers-dotnetcore-demo.csproj

Then go to the http://localhost:5000 in your browser

Running on Cloud Foundry

Take a look at the manifest file for the recommended setting. Adjust them as per your environment.

Labs/Demo Scripts summary

We have a Labs folder to help you learn PCF. These labs can be used for workshops or self-training.

pcf-ers-dotnetcore-demo's People

Contributors

warroyo avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.