GithubHelp home page GithubHelp logo

alexo-bunnyshell / aspnet-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crblanaru/aspnet-docker

0.0 0.0 0.0 700 KB

Simple demo of ASP.NET Core and Docker using .NET Core 3.1 LTS

License: MIT License

Shell 1.32% JavaScript 2.36% C# 37.99% CSS 14.53% HTML 38.98% Dockerfile 4.82%

aspnet-docker's Introduction

aspnet-docker

Simple demo of Remote Debugging an ASP.NET Core program running in a container on Bunnyshell EaaS

Read the Article

To understand how to use this repo, make sure you read this article:
Creating ASP.NET Core websites with Docker

Requirements

In order to run this example, you'll need to have installed on your machine (Windows, Mac, Linux):

Runnig Remote Debugger on Container in Bunnyshell Environment

To get remote development with VsCode on an container running this project in Bunnyshell EaaS, follow the steps:

  1. start VsCode in this repo root folder with BNS_ENV_UNIQUE=_your_env_uniq_ code .. It is essential to pass BNS_ENV_UNIQUE to VsCode
  2. start Bunnyshell remote development session bunnyshell-cli remote-development up --component __COMPONENT_ID__. You can get the exact command from the Bunnyshell UI. When promted for local path select this repo folder. When prompted for remote path, select /source/webapp (the path in Dockerfile where dotnet publish runs )
  3. run dotnet restore locally
  4. start debugger session
  5. stop Bunnyshell remote development session to resume normal container workload bunnyshell-cli remote-development doen --component __COMPONENT_ID__

aspnet-docker's People

Contributors

crblanaru avatar alexo-bunnyshell avatar hd9 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.