Clean Architecture vs. Vertical Slices Architecture, which approach is best for your application
This is the second part of this series, in this will be discussing how three components will be structured and will give a conceptual working model.
In the morning today, I was thinking of managing all my monthly expenses to track, compare, and do all other analytics, which ends up starting a dynamic modular monolith application.
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.
What are the different use cases in which we can utilize the Wildcard variable?
As of the preview 2 update on 18th March this year, it seems a few game-changing changes are lined up.
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.
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.
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.
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.
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.
Minimal APIs in .NET simplify building lightweight, efficient APIs with fewer lines of code. In this quick tutorial, I have shown how easy it is to create routes, handle HTTP requests, and build simple endpoints with minimal configuration. Whether building microservices, APIs for small applications, or experimenting with new features in .NET 8, Minimal APIs offer a great foundation to kickstart your next project.
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.
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.