ASP.NET MVC – How to fix ambiguous Action Methods errors and implement...
If you’ve stumbled upon this post it probably means that you are dealing with a ASP.NET 4.x or ASP.NET Core MVC Controller containing two action methods that are conflicting, giving you the following...
View ArticleASP.NET C# – How to parse QueryString GET parameter arrays with...
Today I was playing with HTML tables in a ASP.NET C# MVC Web Application: since I had to implement some ajax-based parsing, sorting and filtering, I installed the awesome Tabulator JQuery plugin, which...
View ArticleHTTP Basic Authentication with ASP.NET MVC using a custom ActionFilter
A common-case scenario during the development of an ASP.NET MVC web application is the need to restrict the access to some web resources to authenticated users only. If our application features an...
View ArticleHtml.ActionLink Extension Method written in C# to handle multi-language...
As anticipated here – and also by popular demand – we’re publishing an Extension Method sample that will enhance the Html.ActionLink helper method in any Razor View allowing the developer to specify a...
View ArticleUrl.Action Extension Method written in C# to handle multi-language Routes in...
As anticipated here – and also by popular demand – we’re publishing an Extension Method sample that will enhance the Url.Action helper method in any Razor View allowing the developer to specify a...
View ArticleASP.NET MVC – Controller Subfolder Routing using Attribute Routes
As you might already know if you’re using ASP.NET MVC, routing is how ASP.NET MVC matches a URI to an Action within a Controller. In the unlikely case you don’t know what I’m talking about, I strongly...
View ArticleSetup a multi-language website using ASP.NET MVC
Since the first release of the .NET framework developers are given the chance to easily configure any kind of project – be it a Website, a Web Application, a Windows Forms or XPF/XAML client and such...
View ArticleAsync, Await, Lock, Wait and SynchronizationContext in ASP.NET Core
As you probably already know, all the ASP.NET Core Identity system API’s relevant methods are asynchronous, meaning that they return an async Task rather than a given return value; for that very...
View ArticleASP.NET Core - Route all incoming request to a single endpoint
When I start to develop a new ASP.NET Core application, one of the first things I do is to create a "Work in Progress" view (or razor page): the purpose of this view/page is to let visitors know that...
View Article