Giter Site home page Giter Site logo

rpm1984 / homely.aspnetcore.hosting.coreapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from homely/homely.aspnetcore.hosting.coreapp

0.0 2.0 0.0 14 KB

Some core opinionated functionality for ASP.NET Core applications.

License: MIT License

C# 100.00%

homely.aspnetcore.hosting.coreapp's Introduction

Homely - ASP.NET Core 'Hosting' core application-library.

This application-library contains an opinioned program.cs class which is to reduce the ceremony for creating ASP.NET Core "Web Hosting" applications.

Basically, we (at Homely) use the same program.cs code for litterally all of our microservices. So instead of just copying/pasting this code or having this same code in our Template, we've provided this code as a NuGet package so it's easy to update all-or-any microservice if we decide to change something (e.g. we decide to change to a different logging framework).

NOTE: This is a netcoreapp application and not a netstandard library. So it can only be referenced in another netcoreapp .NET Core Application.


How to use

  1. install-package Homely.AspNetCore.Hosting.CoreApp.Program.Main into your ASP.NET Core application.

  2. In your own program.cs file:

public static Task Main(string[] args)
{
    return Homely.AspNetCore.Hosting.CoreApp.Main<Startup>(args);
}

NOTE: the Startup class should be your Startup.cs class.


Contributing

Discussions and pull requests are encouraged :) Please ask all general questions in this repo or pick a specialized repo for specific, targetted issues. We also have a contributing document which goes into detail about how to do this.

Code of Conduct

Yep, we also have a code of conduct which applies to all repositories in the (GitHub) Homely organisation.

Feedback

Yep, refer to the contributing page about how best to give feedback - either good or needs-improvement :)


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.