My new course “Aligning Generative AI with Business Cases” is LIVE on top training platform Pluralsight ! In this course, you’ll learn how to identify, […]
Recently saw an issue in one of our applications that Configures JsonSerializerOptions as part of the builder (FunctionsApplicationBuilder, WebApplicationBuilder etc). To give a minimal example, say we want to configure JsonSerializerOptions.WriteIndented to true (in configuration […]
In this post let’s have a look at another feature in EF Core 9.0. Consider the following code example. public record Employee{ public int Id { get; set; } public string Name { get; set; } private class EmployeeConfiguration :
Azure Document Intelligence client library for .NET, Azure.AI.DocumentIntelligence 1.0.0 was released few weeks ago with some significant refactoring to existing beta packages, and it has some breaking changes. […]
In this post, let’s have a look at a breaking change in EF Core 9.0 related to migration idempotent scripts. Consider the following scenario. Say we […]
In this post, let’s have a look EF.Parameter<T>(T) method that was introduced with EF 9.0. Consider the following simple LINQ query. async Task<List<Employee>> GetEmployees(int employeeId){ return await context.Employees .Where(e => e.Id ==
With the release of .NET 9.0, you might have noticed for ASP.NET Core Web Application templates in Visual Studio, we no longer have Swagger UI configured. […]
In this post let’s see how we can make use of PipelinePolicies in AzureOpenAIClient. Even though we specifically talk about AzureOpenAIClient in this post, the concept will be the […]
EF Core 9.0 (EF 9) introduced new methods UseSeeding and UseAsyncSeeding to seed the initial data. Let’s have a look at an example. Consider the following MyDbContext. public record Blog{ public int Id { get; set; } public string Name { get; set; 
I recently had a requirement where I want to add Custom Claims to the current user in a Blazor Web Application. I used IClaimsTransformation, but it doesn’t work […]
I recently faced an issue in one of the APIs where as part of importing OpenAPI to Azure APIM, it started throwing an error: “(ValidationError) Operation […]
Recently I had to implement a comprehensive autocomplete solution built on Elasticsearch. The original implementation performed a match against the content title. Whilst this worked with […]