Blazor, Cosmos DB and OData

Blazor Icon

Decided to use some spare time to revisit Blazor. Particularly Blazor and OData working together. Taking my inspiration from Hassan Habib and his Enabling Pagination in OData post. I wanted to build upon that and modernise the approach slightly by implementing client side Blazor…

Hide Endpoints And Schemas from Swagger / OpenAPI

Swagger

I have a requirement to hide a few of the API’s controller endpoints from Swagger along with their respective schemas that aren’t yet ready for public consumption. I still want them to be available for Postman/Newman tests as part of the CI/CD. This can…

Postman Testing – Chaining Requests From one Request to Another

postman logo

The Issue I’d like to run a full suite of Postman tests are part of a CD pipeline into pre-production to indicate any issues and stopping the deployment of the API further. I’d built up 200+ Postman tests to cover standard CRUD operations on…

Azure API Management Template Parameters Used In The UriTemplate Must Be Defined In The Operation, And Vice-Versa

Following on from my adventures in Azure API Management Caching I discovered the following error when updating Azure API Management with a new OpenAPI definition file I received the following error: “Azure API Management Template Parameters Used In The UriTemplate Must Be Defined In…

OData – Create Entity with Child Entities Response with Expand.

The Issue When creating an entity (with child entities) using POST with OData the response will only show the main Entity created. Child entities are ignored. The Solution Use Expand on POST. What?! Seems a bit strange I’m sure but decorating your POST action…