https://github.com/swisscom/cf-sample-app-dotnetcore
A sample ASP.NET application to deploy to Cloud Foundry which works out of the box.
https://github.com/swisscom/cf-sample-app-dotnetcore
Last synced: about 1 year ago
JSON representation
A sample ASP.NET application to deploy to Cloud Foundry which works out of the box.
- Host: GitHub
- URL: https://github.com/swisscom/cf-sample-app-dotnetcore
- Owner: swisscom
- License: other
- Created: 2016-10-10T10:54:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T15:16:05.000Z (over 1 year ago)
- Last Synced: 2025-04-15T10:18:38.729Z (about 1 year ago)
- Language: C#
- Size: 13.7 KB
- Stars: 1
- Watchers: 40
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# CF Sample App .NET Core
A sample [ASP.NET Core](https://www.asp.net/core) application to deploy to Cloud Foundry which works out of the box.
## Run locally
1. Install [.NET Core](https://www.microsoft.com/net/core)
1. Run `dotnet restore`
1. Run `dotnet run`
1. Visit [http://localhost:5000](http://localhost:5000)
## Run in the cloud
1. Install the [cf CLI](https://github.com/cloudfoundry/cli#downloads)
1. Run `cf push my-dotnet-app -m 64M --random-route`
1. Visit the given URL