How to solve the 'Resource inaccessible due to its protection level' error.
In this post we will see how we can test an ASP.NET MVC custom Action Filter using xUnit.
In this post we will see how we can add Action Filters to a Web API Controller.
When developing ASP.NET MVC applications one runs from time to time into errors related to the Web.config configuration. This is not weird: in the end Web.config is an XML file and it´s easy to make silly mistakes when editing it: tags... Continue Reading →
A Cross-Origin request blocked error happens when a web application tries to access resources - like a REST WebApi - that are placed in a different domain.
In a previous post we saw how to create multi-language ASP.NET MVC sites by adding resource files. In this post we´re going to see a common error that may pop up when using resource files in ASP.NET MVC. Could not... Continue Reading →
Let's learn how to work with resources files using ASP.NET, and how to make sure the site loads the right resource file based on the user browser preferences.
A good logging library is an important addition to our projects: we can use it for testing, and debugging purposes; once a project enters the production stage, it will help us to detect, and troubleshoot anomalous situations. Let's review the steps one has to follow to successfully add logging support to our ASP.Net MVC project using log4net.
A common way to improve the performance of your ASP.NET MVC project is to use Microsoft's web optimization framework to bundle, and minify JavaScript files, and style sheets.