https://github.com/balena-io-examples/balena-aspnet-core
A simple multi-container-ready project demonstrating the use of the Microsoft ASP.Net Core 2.2 framework
https://github.com/balena-io-examples/balena-aspnet-core
Last synced: 4 months ago
JSON representation
A simple multi-container-ready project demonstrating the use of the Microsoft ASP.Net Core 2.2 framework
- Host: GitHub
- URL: https://github.com/balena-io-examples/balena-aspnet-core
- Owner: balena-io-examples
- Created: 2019-04-10T10:38:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-03T16:24:48.000Z (over 4 years ago)
- Last Synced: 2025-01-28T21:35:47.626Z (6 months ago)
- Language: HTML
- Size: 671 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example ASP.NET Core running on Balena
## Overview:
We have a simple multi-stage build `Dockerfile` which is in the balena-template format. This is to allow our cloud builders to do variable substitution on things like `%%BALENA_ARCH%%` which make the image suitable for `amd64` and `armv7hf` targets.
## To deploy this project:
+ Create a balena application using the cloud dashboard, e.g. `myAspNetCoreApp`
+ You can target any device type which is compatible with the following architectures:
+ `armv7hf`
+ `amd64`
+ Clone this repo to your machine:
+ `git clone https://github.com/balena-io-playground/balena-aspnet-core.git`
+ In the repo directory, use the `balena-cli` application to push it to your application:
+ `balena push myAspNetCoreApp`This application will host a simple site on port `80` which you should be able to view once it is deployed.