Overriding ASP.NET Core framework-provided services

Overriding ASP.NET Core framework-provided services

In .NET it’s really easy to create your own interfaces and implementations. Likewise, it’s seemingly effortless to register them for dependency injection. But it is not always obvious how to override existing implementations. Let’s discuss various aspects of “dependency injection” and how you can override the “framework-provided services”.

As an example, let’s take a recent story on our product backlog for building a security audit of login attempts. The story involved the capture of attempted usernames along with their corresponding IP addresses. This would allow system administrators to monitor for potential attackers. This would require our ASP.NET Core application to have custom logging implemented. [ Continue Reading ]

Please share this!

要查看或添加评论,请登录

David Pine的更多文章

  • ?? What's new in .NET Aspire 9.0?

    ?? What's new in .NET Aspire 9.0?

    Today, we shipped .NET Aspire 9.

    3 条评论
  • DNC Magazine, Issue: 34

    DNC Magazine, Issue: 34

    I'm proud to announce that today my "C# Favorite Feature through the Years" article was published on DNC Magazine…

  • DNC Magazine, Issue: 32

    DNC Magazine, Issue: 32

    I'm proud to announce that today my "ASP.NET Core Web API Attributes" article was published on DNC Magazine, issue…

    4 条评论
  • MKE DOT NET 2017

    MKE DOT NET 2017

    Maria Naggaga and I were interviewed by the Milwaukee BizTimes, check it out here: Tickets are moving fast; however, we…

  • How to organize an amazing technical conference.

    How to organize an amazing technical conference.

    Blogged: How to organize an amazing technical conference.

  • This is not the IPrincipal you are looking for.

    This is not the IPrincipal you are looking for.

    ASP.NET Core is a completely re-imagined framework.

  • Building a Magic Mirror

    Building a Magic Mirror

    I recently blogged about my experience with building a magic mirror, using .NET technologies.

    9 条评论
  • ASP.NET Core Response Optimization

    ASP.NET Core Response Optimization

    If you’re a web developer, chances are you’re familiar with optimization strategies such as static file caching and…

  • Overcoming Imposter Syndrome

    Overcoming Imposter Syndrome

    Blogged: "Overcoming Imposter Syndrome"

  • Angular2 Http with RxJS Observables

    Angular2 Http with RxJS Observables

    I found time to share some thoughts of the different design patterns used with AngularJs 1 vs Angular2, specifically…

社区洞察

其他会员也浏览了