Skip to content

Latest commit

 

History

History
61 lines (35 loc) · 1.55 KB

Readme.md

File metadata and controls

61 lines (35 loc) · 1.55 KB

Back4App Containers - ASP .NET Application

This is a simple ASP .NET application that has been configured to run on Back4App Containers. It serves a welcome page when accessed via a web browser.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • You should have the .NET SDK installed on your local machine.
  • Install Docker if you want to build and run the Docker container locally.

Installation

  1. Clone this repository:
git clone https://github.com/your-username/containers-asp-net-sample.git
cd containers-asp-net-sample
  1. Build and run the application:
dotnet run

Open http://localhost:5000 to view it in the browser.

Building a Docker Image

To build a Docker image of the application, run the following command:

docker build -t containers-asp-net-sample .

Running the Docker Container

To run the Docker container, use the following command:

docker run -p 8080:80 containers-asp-net-sample

Now, the app is running at http://localhost:8080.

Deployment

The project can be deployed on Back4App Containers. Refer to the Back4App Documentation for more information.

Built With

License

This project is licensed under the MIT License.