Bangladesh MVPs
Sign in
|
Join
|
Help
Home
RSS for Posts
Atom
RSS for Comments
Email Notifications
Go
Search
Go
Tags
.net
Agile
ajax
asp.net
asp.net MVC
AspNetMvc
Blog Posts
C#
DotNetShoutout
Entity Framework
IoC/DI
jQuery
JustMock
linq
Mock
MVC
Open Source
performance
production
Projects
TDD
Telerik
Uncategorized
unit test
Unity
Community
Home
Blogs
Media
Forums
Wikis
Groups
Video
Job
Archives
February 2012 (1)
January 2012 (2)
December 2011 (5)
November 2011 (1)
October 2011 (2)
September 2011 (1)
August 2011 (2)
July 2011 (2)
June 2011 (1)
May 2011 (4)
March 2011 (1)
February 2011 (2)
December 2010 (3)
November 2010 (3)
October 2010 (5)
September 2010 (5)
August 2010 (5)
July 2010 (4)
June 2010 (6)
May 2010 (15)
April 2010 (21)
March 2010 (6)
February 2010 (9)
January 2010 (4)
December 2009 (8)
November 2009 (9)
October 2009 (2)
September 2009 (9)
August 2009 (5)
July 2009 (4)
June 2009 (8)
May 2009 (7)
April 2009 (12)
March 2009 (14)
February 2009 (13)
January 2009 (3)
December 2008 (4)
November 2008 (1)
October 2008 (13)
September 2008 (2)
August 2008 (4)
July 2008 (1)
June 2008 (2)
May 2010 - Posts
Mocking successive calls of similar type via sequential mocking
by
Mehfuz's WebLog
In this post , i show how you can benefit from sequential mocking feature[In JustMock] for setting up expectations with successive calls of same type. To start let’s first consider the following dummy database and entity class. public class...
Filed under:
C#
,
Agile
,
JustMock
MvcExtensions - ActionFilter
by
Kazi Manzur Rashid's Blog
One of the thing that people often complains is dependency injection in Action Filters. Since the standard way of applying action filters is to either decorate the Controller or the Action methods, there is no way you can inject dependencies in the action...
Filed under:
asp.net
,
MVC
,
asp.net MVC
,
AspNetMvc
,
Open Source
,
Action Filter
,
MVCExtensions
Is your test method self-validating ?
by
Mehfuz's WebLog
Writing state of art unit tests that can validate your every part of the framework is challenging and interesting at the same time, its like becoming a samurai. One of the key concept in this is to keep our test synced all the time as underlying code...
Filed under:
unit test
,
C#
,
Agile
,
JustMock
MvcExtensions - PerRequestTask
by
Kazi Manzur Rashid's Blog
In the previous post , we have seen the BootstrapperTask which executes when the application starts and ends, similarly there are times when we need to execute some custom logic when a request starts and ends. Usually, for this kind of scenario we create...
Filed under:
asp.net
,
MVC
,
asp.net MVC
,
AspNetMvc
,
Open Source
,
Shrinkr
,
MVCExtensions
Finally! Entity Framework working in fully disconnected N-tier web app
by
Omar AL Zabir on things you don't find easily
Entity Framework was supposed to solve the problem of Linq to SQL, which requires endless hacks to make it work in n-tier world. Not only did Entity Framework solve none of the L2S problems, but also it made it even more difficult to use and hack it for...
Filed under:
linq
,
.net
,
unit test
,
C#
,
TDD
,
Uncategorized
MvcExtensions – Custom Service Registration
by
Kazi Manzur Rashid's Blog
[Special Note: I have just released SP1 Preview which contains the newly added Autofac Adapter and minor Windsor changes] In this post, I will show you how you can register your custom services in your preferred IoC container and how the MvcExtensions...
Filed under:
asp.net
,
MVC
,
asp.net MVC
,
AspNetMvc
,
Open Source
,
IoC/DI
,
Unity
,
Ninject
,
StructureMap
,
Autofac
,
Windsor
,
MVCExtensions
Munq is for web, Unity is for Enterprise
by
Omar AL Zabir on things you don't find easily
The Unity Application Block (Unity) is a lightweight extensible dependency injection container with support for constructor, property, and method call injection. It’s a great library for facilitating Inversion of Control and the recent version supports...
Filed under:
performance
,
asp.net
,
production
,
Uncategorized
Keep website and webservices warm with zero coding
by
Omar AL Zabir on things you don't find easily
If you want to keep your websites or webservices warm and save user from seeing the long warm up time after an application pool recycle, or IIS restart or new code deployment or even windows restart, you can use the tinyget command line tool, that comes...
Filed under:
performance
,
production
,
IIS
,
Uncategorized
,
tips
Mocking property sets
by
Mehfuz's WebLog
In this post, i will be showing how you can mock property sets with your expected values or even action using JustMock. To begin, we have a sample interface: public interface IFoo { int Value { get ; set ; } } Now, we can create a mock that will...
Filed under:
C#
,
Telerik
,
Agile
,
JustMock
Do not use “using” in WCF Client
by
Omar AL Zabir on things you don't find easily
You know that any IDisposable object must be disposed using using. So, you have been using using to wrap WCF service’s ChannelFactory and Clients like this: using(var client = new SomeClient()) {. ..} Or, if you are doing it the hard and slow way (without...
Filed under:
.net
,
Uncategorized
,
WCF
MvcExtensions – Bootstrapping
by
Kazi Manzur Rashid's Blog
When you create a new ASP.NET MVC application you will find that the global.asax contains the following lines: namespace MvcApplication1 { // Note: For instructions on enabling IIS6 or IIS7 classic mode, // visit http://go.microsoft.com/?LinkId=9394801...
Filed under:
asp.net
,
MVC
,
asp.net MVC
,
AspNetMvc
,
Open Source
,
Shrinkr
,
MVCExtensions
Announcing the RTM of MvcExtensions (aka System.Web.Mvc.Extensibility)
by
Kazi Manzur Rashid's Blog
I am proud to announce the v1.0 of MvcExtensions (previously known as System.Web.Extensibility). There has been quite a few changes and enhancements since the last release . Some of the major changes are: The Namespace has been changed to MvcExtensions...
Filed under:
asp.net
,
MVC
,
asp.net MVC
,
AspNetMvc
,
Open Source
,
IoC/DI
,
MVCExtensions
WPF: My Rollercoaster ride
by
Nazmul weblog
May be the title does not match with my topic, but I do not found more appropriate title than this. I know, it is too late to share my first experience about WPF, but I like to share it with you. In here I am going to talk about few point, first one is...
Step by Step screencasts to do Behavior Driven Development on WCF and UI using xUnit
by
Omar AL Zabir on hard to find tech stuffs
I am trying to encourage my team to get into Behavior Driven Development (BDD). So, I made two quick video tutorials to show how BDD can be done from early requirement collection stage to late integration tests. It explains breaking user stories into...
Filed under:
unit test
,
TDD
,
Uncategorized
,
testing
,
BDD
Rescue overdue offshore projects and convince management to use automated tests
by
Omar AL Zabir on hard to find tech stuffs
I have published two articles on codeproject recently. One is a story where an offshore project was two months overdue, my friend who runs it was paying the team from his own pocket and he was drowning in ever increasing number of change requests and...
Filed under:
TDD
,
Uncategorized
,
testing
,
BDD
,
tips