ASP.NET
Web publishing warning: "No element in the source document matches ‘/configuration/hibernate-configuration’"
I created web.config transform that changes NHibernate configuration for Windows Azure projects. When building publishing package I get the following warning: "No element in the source document matches '/configuration/hibernate-configuration'" and transformed configuration doesn’t contain expected changes. In this posting I will show you how to solve this problem. (more…)
ASP.NET: How to avoid ArgumentNullException in StructureMap controller factory
I am using StructureMap as my IoC container. In my ASP.NET MVC web application I have controller factory based on StructureMap. I found interesting problem – when running my web application on development web server I get ArgumentNullException with every request to some controller action. In this posting I will describe why it is happening and how to avoid it.
ASP.NET MVC 3: Using global action filters to find out running time of controller actions
Lately I blogged about global action filters in ASP.NET MVC 3. Yesterday I found cool article from Nick Berardi’s Coder Journal where he introduces how to use action filters to measure running time of ASP.NET MVC controllers. And here is my experiment – how to use global action filters to find out how long controller actions are running. You just need couple of lines of code.
ASP.NET MVC 3 Beta: Simple image manipulations using WebImage helper
First new helper in ASP.NET MVC 3 Beta I blogged about was chart helper. In this posting I will introduce you another cool helper that is called WebImage and that provides you with image manipulation functions. Also this helper is made for web and instead of messing with more complex GDI+ functions you can do a lot of stuff with images very easily. (more…)