Search

Developers Log

A blog about software developing and technology

Tag

ASP.NET MVC

C#: “Resource inaccessible due to its protection level” solved

How to solve the 'Resource inaccessible due to its protection level' error.

Unit testing a custom method that has an ActionFilter

In this post we will see how we can test an ASP.NET MVC custom Action Filter using xUnit.

How To: Adding Custom Action Filters to a Web API

In this post we will see how we can add Action Filters to a Web API Controller.

How to fix: ‘system.identityModel’ cannot be read

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 →

ASP.NET: Enabling Cross-Origin Requests

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.

How to fix: “Could not find any resources appropriate for the specified culture …”

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 →

ASP.NET not picking the right resource file

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.

Configure Log4Net with ASP.NET MVC

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.

ASP.NET MVC: system.web.optimization

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.

Blog at WordPress.com.

Up ↑