June 2010 - Posts

Create a Build Script with Rake in Iron Ruby that Integrates StyleCop, Simian, FxCop, MSpec and NCover by Kazi Manzur Rashid's Blog

With the release of Iron Ruby we are no more tide up with the xml based build script like NAnt and MSBuild, we can now use Rake with Iron Ruby to build our .NET based projects. In this post, I will show you a very basic build script in rake that will...
Filed under: , , , , , ,

Hands on mocking of ASPNETMVC controller action by Mehfuz's WebLog

In this post, i will start with a MVC sample created from the default template project that is bundled with ASPNET MVC2 installation. This template provides not just a dummy project with folder organized but rather a full running app.The target of this...
Filed under: , , , ,

Write your Tests in RSpec with IronRuby by Kazi Manzur Rashid's Blog

[Note: This is not a continuation of my previous post , treat it as an experiment out in the wild. ] Lets consider the following class, a fictitious Fund Transfer Service: public class FundTransferService : IFundTransferService { private readonly ICurrencyConvertionService...
Filed under: , , , , , ,

Start Learning Ruby with IronRuby – Setting up the Environment by Kazi Manzur Rashid's Blog

Recently I have decided to learn Ruby and for last few days I am playing with IronRuby. Learning a new thing is always been a fun and when it comes to adorable language like Ruby it becomes more entertaining. Like any other language, first we have to...
Filed under: , ,

Localization with ASP.NET MVC ModelMetadata by Kazi Manzur Rashid's Blog

When using the DisplayFor/EditorFor there has been built-in support in ASP.NET MVC to show localized validation messages , but no support to show the associate label in localized text, unless you are using the .NET 4.0 with Mvc Future. Lets a say you...

Adding custom interfaces to your mock instance. by Mehfuz's WebLog

Previously, i made a post  showing how you can leverage the dependent interfaces that is implemented by JustMock during the creation of mock instance. It could be a informative post that let you understand how JustMock behaves internally for classes...
Filed under: , , ,
Powered by Community Server (Non-Commercial Edition), by Telligent Systems