#aspcore — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #aspcore, aggregated by home.social.
-
Mostly I've always used middleware to apply broad swaths of business logic to my ASP.NET Core operations, but found a nice use case for ActionFilterAttributes if you need to selectively implement business logic to specific controller items (https://learn.microsoft.com/en-us/aspnet/mvc/overview/older-versions/hands-on-labs/aspnet-mvc-4-custom-action-filters). However, they don't document how to do dependency injection on your filters well, here is the best practice I've found so far: https://edi.wang/post/2019/1/21/aspnet-core-dependency-injection-in-actionfilterattribute
-
Sneak peak my new Bot (scraper, search, maliciouus, novel) detection system. https://www.mostlylucid.net/blog/botdetection-introduction
Simple middleware for multi level best of class bot detection.
Or use the Yarp gateway docker container for a lightweight simple to use behavioural routing system (HAPPILY works on a pi in a docker cluster)
https://hub.docker.com/repository/docker/scottgal/mostlylucid.yarpgateway/generalFULLY adjustable town to weights and confidence, 9 separate detectors from Sinple UA through a learnign Heuristic systema nd LLM learning modes.
-
Seems i have an issue running a development Windows Server behind an Apache proxy on Linux. The Linux Mono install is trying to run the .Net off Windows server and failing. That’s not what i was hoping for. Might need to rethink the forward facing server on my network. #dotnet #aspcore #WindowsServer #apache #Linux