Blog

Blog posts on .NET, Azure, and more.

Working with Angular applications with .NET Aspire

March 22, 2024 by Anuraj

AspNetCore Aspire CloudNative Angular

In this blog post, we’ll explore how we can work with Angular applications with .NET Aspire. We can install .NET Aspire using the dotnet workload install aspire command. Next we can create the .NET Aspire application using the following command - dotnet new aspire --name Weatherforecast --output Src. This command will create two projects - Weatherforecast.AppHost and Weatherforecast.ServiceDefaults. Next we can add the API application, for creating the API application, we can create ASP.NET Core Minimal API, with the command dotnet new webapi --name Weatherforecast.Api --output Src\Weatherforecast.Api. We may need to modify the solution file and add the API application with the command - dotnet sln add .\Weatherforecast.Api\, otherwise it may not load in VS Code.

Working with Smart Components in ASP.NET Core MVC

March 15, 2024 by Anuraj

AspNetCore AI Azure

In this blog post, we’ll explore Smart Components for ASP.NET Core MVC. Smart Components helps developers to add genuinely useful AI-powered features to your .NET apps quickly, easily, and without risking wasted effort. Recently at MVP Summit, Steve Sanderson spoke about Smart Components - the demo was awesome. The demo was on Blazor, so I thought I will use ASP.NET Core MVC and implement it. These components will work from .NET 6.0 onwards.

Supercharge Your ASP.NET Core Web API: A Beginner's Guide to Bombardier Benchmarking

February 29, 2024 by Anuraj

AspNetCore

Making sure your ASP.NET Core Web API runs like a well-oiled machine is crucial for a smooth user experience. Enter Bombardier, a user-friendly tool designed specifically to test and optimize the performance of your web API. In this guide, we’ll explore how Bombardier can be your ally in ensuring your web API stands up to the demands of real-world usage.

Importance of Cancellation tokens in ASP.NET Core and EF Core

February 20, 2024 by Anuraj

AspNetCore EFCore SqlServer

In this blog post, we’ll explore into why cancellation tokens are indispensable in the context of ASP.NET Core and EF Core, and how they contribute to the overall performance and user experience of our applications.

Building Reliable ASP.NET Core Applications: Handling SQL Server Connection Retries

January 31, 2024 by Anuraj

AspNetCore SqlServer

In this blog post, we’ll explore the intricacies of ASP.NET Core EF Core and delve into effective strategies for handling connection retries when dealing with SQL Server databases. By implementing retry mechanisms, we can enhance the robustness of our applications and ensure seamless interactions with SQL Server databases.

Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub