ASP.NET Core
Table of contents
No headings in the article.
Middleware
- app.UseMiddleware
- app.Map
- app.Run
- app.Use
- app.MapWhen
- app.UseWhen
Dependency Injection
namespace Microsoft.Extensions.DependencyInjection
{
//
// Summary:
// Specifies the contract for a collection of service descriptors.
public interface IServiceCollection : ICollection<ServiceDescriptor>, IEnumerable<ServiceDescriptor>, IEnumerable, IList<ServiceDescriptor>
{
}
}
[DebuggerDisplay("Lifetime = {Lifetime}, ServiceType = {ServiceType}, ImplementationType = {ImplementationType}")]
public class ServiceDescriptor
{
}
Service Lifetime: • Transient • Scoped • Singleton
RabbitMQ
- docker pull rabbitmq:3-management
- docker run --rm -it -p 15672:15672 -p 5672:5672 rabbitmq:3-management
- amqp.org
- Competing Consumers