Many of the systems I have been working on required sending email messages as part of certain use cases: email address confirmation, notifications, system monitoring reports, etc. When working for a company, I usually use their SMTP server to send testing emails when running in the development environment. But for my own projects, that’s not … More Testing email functionality in development environment
Telerik MVC Grid component offers a way to subscribe to client side events by using ClientEvents method in your views. You can see the examples here: http://demos.telerik.com/aspnet-mvc/grid/events. It works fine, but sometimes you’d like to use jQuery to subscribe to these events more dynamically. An example of that might be a global error handler for … More Attaching to Telerik MVC Grid’s client event using jQuery
Action filters in ASP.NET MVC provide a great way to apply custom behavior to selected controller actions. They let you execute code before or after the actual action has been executed. That reminds of Aspect Oriented Programming and can be used to apply cross cutting concerns to controllers. One of the things that first seemed … More ASP.NET MVC localization using ActionFilter
MVC Mini Profiler is a great tool to profile your ASP.NET MVC apps. It’s easy to setup: all you need is to render some includes in your page’s HTML and start/stop the profiler on BeginRequest/EndRequest event handlers, as desribed here. However, I did not want to include that code and HTML includes in production pages, … More Using MVC Mini Profiler as a Http Module
The problem Working with Telerik MVC Grid component, I ran into an issue where I wanted to add a column with an “Open” link. Clicking that link takes you to item’s editing form. It seems, however, that there’s no method to render a link columns by default. You can achieve it, however, using template columns, … More Telerik MVC Grid ActionLink column
I’m developing a little project to learn a few tools including ASP.NET MVC 2, NHibernate and Unity. The project is a simple web page to upload and search through documents of many different formats. One of the requirements I’ve made out for the system is having three different roles for users: “Uploader”, “Manager” and “Administrator”.