Git Product home page Git Product logo

12factor's Introduction

The Twelve-Factor App

Showing how to create a Tweleve-Factor app using ASP.NET Core and Azure DevOps.

Each factor will live in a branch for that factor. The master branch will contain the completed project.

Branch 1: Codebase

One codebase tracked in revision control, many deploys

Branch 2: Dependencies

Explicitly declare and isolate dependencies

Branch 3: Config

Store config in the environment

Branch 4: Backing services

Treat backing services as attached resources

Branch 5: Build, release, run

Strictly separate build and run stages

Branch 6: Processes

Execute the app as one or more stateless processes

Branch 7: Port binding

Export services via port binding

Branch 8: Concurrency

Scale out via the process model

Branch 9: Disposability

Maximize robustness with fast startup and graceful shutdown

Branch 10: Dev/prod parity

Keep development, staging, and production as similar as possible

Branch 11: Logs

Treat logs as event streams

Branch 12: Admin processes

Run admin/management tasks as one-off processes

12factor's People

Contributors

darquewarrior avatar glennc avatar spboyer avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

12factor's Issues

What Are The Ideas for Admin Processes?

I know I'm here early, but what are your initial ideas for implementing the 12th factor, Admin Processes?
Since C# doesn't have a REPL this poses some challenges.

Some ideas that I've had:

  • A separate command line project that can call the admin process specific code.
  • Implement something like EF Core does for keeping track of migrations. You could queue up the one-off admin process and the process would be logged in the _AdminProcessHistory table when it has started.

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.