Coder Social home page Coder Social logo

ansiblevagrantvirtualboxdotnet's Introduction

Ansible/Vagrant DotNet VirtualBox

What is this?

This is a Vagrant Box that uses Ansible to install ASP Core onto a Ubuntu Linux Virtual Machine. This is meant as a self-hosting test box for a MVC5/ASP Core to see how well ASP Core works under this new environment and to allow development.

The server is setup to host a very simple MVC ASP Core application taken from Windows/Visual Studio 2015. The application has a simple Controller and View. The simple application that is installed will need to be run as you develop (see Improvements below).

Why?

Historically ASP has been a proprietary software project that runs on Windows boxes exclusively. This has changed recently and now Asp Core is fully open source and compatible with Linux/Mac Os. I am always interested in new technology and wanted to see how it worked. I am excited for the challenge and intrigued at the possibilities. I have always liked the idea of free open source software since any unused machine can be provisioned without licensing restrictions.

How do I use it?

You will want to download the Vagrant box via:

host$ vagrant up

That will download the ~440 MB box (which can take a while). This will also provision the box.

After that you are ready to run the application. Simply:

host$ vagrant ssh         # Login to Vagrant box
guest$ runapp             # Change to Application Directory and Run!

Additionally you can use the goapp command to go into the source directory. dotnet run is the traditional way to run the application however for convenience runapp will do the same thing.

To the host, the application will be available at http://localhost:8000 .

Note: If you change the dependencies in project.json you will need to run dotnet restore.

Improvements

Instead of running dotnet run each time a third party program could be installed to make the process automatic. Something along the lines of grunt would be perfect. Node is fairly large and the goal of this was to make a small development box. Feel free to modify it to your needs!

Program Specs

This project was tested with:

Vagrant 1.8.5 VirtualBox 5.1.2 r108956 ansible 2.1.1.0

ansiblevagrantvirtualboxdotnet's People

Contributors

jasonsteinberg avatar gbaker-blackbirdit avatar

Watchers

James Cloos avatar  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.