banner
briancaos.bsky.social
@briancaos.bsky.social
Former Sitecore MVP, now .net and Azure ninja | Senior Software Engineer at Pentia Copenhagen | #azure | #dotnet | #csharp | #sitecore | #cloud |
Did you know that when performing spatial searches within a rectangle on a #Azure #CosmosDB, you need to add the points in your rectangle counter-clockwise? And you need to create a closed box, so remember to add 5 points, SW, SE, NW, NE, SW.
June 24, 2025 at 7:07 AM
C# CosmosDB spatial geographic search using GeoJSON coordinates

If you have data in an Azure CosmosDB, it is possible to perform spatial location based searches, returning documents within a distance from a point, or within a certain area. The first thing you need, is to store the longitude and…
C# CosmosDB spatial geographic search using GeoJSON coordinates
If you have data in an Azure CosmosDB, it is possible to perform spatial location based searches, returning documents within a distance from a point, or within a certain area. The first thing you need, is to store the longitude and latitude in a GeoJSON object. Having the coordinates in ordinary fields will not allow you to do a geographic search.
briancaos.wordpress.com
June 17, 2025 at 8:09 AM
C# Use Microsoft Entra ID JWT token as Authentication in .net API

You can use Microsoft Entra ID to create a client secret that allows an application to access your API using a bearer token. STEP 1: SETUP A CLIENT SECRET IN MICROSOFT ENTRA In Microsoft Entra, take a note of the following values:…
C# Use Microsoft Entra ID JWT token as Authentication in .net API
You can use Microsoft Entra ID to create a client secret that allows an application to access your API using a bearer token. STEP 1: SETUP A CLIENT SECRET IN MICROSOFT ENTRA In Microsoft Entra, take a note of the following values: You need the Application ID and Directory ID You will need the Application (client) ID and the…
briancaos.wordpress.com
April 15, 2025 at 8:31 AM
Reposted
With the new ABP Studio tool, it is now easier to create fully modular systems with #ASPNET Core. In this #dotNETConf session replay, we see how and learn the benefits of the approach. 🎥 https://msft.it/63322qGbhk
March 12, 2025 at 9:00 PM
C# POST x-www-form-urlencoded using HttpClient

#net #csharp #httpclient

briancaos.wordpress.com/2024/11/26/c...
March 13, 2025 at 6:06 AM
March 13, 2025 at 6:00 AM