In this post, we've demonstrated how to implement cookie-based authentication in an ASP.NET Core application without using ASP.NET Identity. This approach suits simpler scenarios where you need more control over the authentication process. Remember always to consider security best practices when handling user authentication and data.
👁
27
Read more
Action Filters in ASP.NET Core are a powerful tool that allow developers to inject code before or after an action method runs—perfect for cross-cutting concerns like logging, validation, or measuring performance. This blog post walks you through what action filters are, how they fit into the ASP.NET Core filter pipeline, and how to implement your own custom filters.
👁
28
Read more
Benchmarking is an essential practice for any serious developer aiming to optimize its application performance. With .NET 8.0 and BenchmarkDotNet, we can measure and enhance the efficiency of our code. By following the guidelines and techniques outlined in this blog post, we can ensure that our .NET applications are running at their best.
👁
22
Read more
As of the preview 2 update on 18th March this year, it seems a few game-changing changes are lined up.
👁
23
Read more
In some scenarios, you may need to stop an ASP.NET Core web application programmatically. Whether it's for maintenance, resource cleanup, or controlled shutdown, ASP.NET Core provides multiple ways to terminate an application. In this blog post, we’ll explore different approaches to stopping an ASP.NET Core application programmatically.
👁
25
Read more
Automation is a cornerstone of modern software development, driving efficiency, quality, and scalability while reducing costs and risks. By leveraging automation, development teams can focus on delivering innovative, high-quality software that meets the evolving needs of users and businesses.
👁
22
Read more
By integrating Amplitude in ASP.NET MVC views, you can gain powerful insights into how users interact with your application. With features like real-time tracking, event logging, and user behavior analysis, Amplitude helps developers and businesses improve application performance and user experience.
👁
26
Read more
API versioning is crucial for maintaining backward compatibility while allowing improvements in newer versions. ASP.NET Core makes it easy to implement versioning using URL segments, query strings, or headers.
👁
29
Read more
In this post, we’ve demonstrated how to use the IOptions pattern in ASP.NET 8 to read and manage configuration settings. By using IOptions, IOptionsSnapshot, and IOptionsMonitor, you can easily access, monitor, and update your configuration in a type-safe and scalable way.
👁
27
Read more