Dependency injection

GrandNode uses a standard ASP.NET IoC container. All services are registered and you can inject them into your class via constructor. To register your custom service you must create a class that implements IStartupApplication.


 In ConfigureServices you have access to IServiceCollection where you can register dependency. You can increase priority when for example you want to override implementation.

In Configure method you can add and configure middleware.