Slawomir Moriakslamcode.hashnode.dev·Sep 9, 2023Disabling endpoints on different environments (1/2: ASP pipeline)Let's learn how to efficiently manipulate ASP.Net endpoints accessibility on different environments or based on any other more complex logic. TLDR; Mark endpoints you wish to manipulate with a custom attribute. Replace the original EndpointDataSource...422 readsC#Add a thoughtful commentNo comments yetBe the first to start the conversation.