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
April 2012 (1)
March 2012 (2)
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)
Caching WCF javascript proxy on browser
by
Omar AL Zabir on things you don't find easily
When you use WCF services from Javascript, you have to generate the Javascript proxies by hitting the Service.svc/js. If you have five WCF services, then it means five javascripts to download. As browsers download javascripts synchronously, one after...
Filed under:
performance
,
asp.net
,
WCF
,
Blog Posts
Memory Stream Multiplexer–write and read from many threads simultaneously
by
Omar AL Zabir on things you don't find easily
Here’s an implementation of MemoryStream like buffer manager where one thread can write and many threads can read simultaneously. Each reading thread gets its own reader and can read from the shared stream on its own without blocking write operation or...
Filed under:
performance
,
.net
,
Blog Posts
ReadLine on Binary Stream
by
Omar AL Zabir on things you don't find easily
When you are reading data from a binary stream, like NetworkStream or FileStream and you need to read both binary chunks as well as read one text line at a time, you are on your own as BinaryReader nor Stream supports ReadLine. You can use StreamReader...
Filed under:
Blog Posts
,
CodeProject
Scaling ASP.NET websites from thousands to millions–LIDNUG
by
Omar AL Zabir on things you don't find easily
Here’s the recent presentation made on LIDNUG on scaling ASP.NET websites from thousands to millions of users. Scaling ASP.NET websites from thousands to millions of users by Omar AL Zabir Here’re the slides. Scaling asp.net websites to millions of users...
Filed under:
performance
,
asp.net
,
production
,
Blog Posts
Writing ASP.NET MVC bootstrapper with Autobox
by
Mehfuz's WebLog
This will post will show how you can use AutoBox to easily write a bootstrapper for ASP.NET MVC. I have used the latest version of AutoBox (available from nuget, this version also includes Castle.Windsor internally for managing dependencies rather using...
Filed under:
asp.net
,
MVC
,
C#
,
DI
,
AutoBox
Assert the order of expected calls over instances
by
Mehfuz's WebLog
You want to assert that user is validated before withdrawing amount from an account. JustMock lets you specify the order in which your setups should be executed. This helps you to identify the exact way in which a particular logic is implemented. ...
Filed under:
unit test
,
C#
,
JustMock
,
Mocking
Browse internet faster and save power using a smart HOSTS file
by
Omar AL Zabir on things you don't find easily
Internet is full of flash ads nowadays that make page load slower, render slower and consumes more CPU, thus power. If you can browse without having any flash ads or in fact any ads loaded and without any of the tracking scripts – you can browse...
Filed under:
performance
,
windows7
,
Blog Posts
,
CodeProject
Get Dropthings license by donating to charity
by
Omar AL Zabir on things you don't find easily
Now you no longer pay me for Dropthings license instead you donate the money to a charity and I will give you the license. In case you don’t know what Dropthings is, it is a Web 2.0 Personalizable Dashboard framework that you can use to build Web 2.0...
Filed under:
asp.net
,
Blog Posts
“iStock Broking“ our second WPF kid.
by
Nazmul weblog
"যদি তোর ডাক শুনে কেউ না আসে ... তবে একলা চলরে", when whole world fighting for get the answer "Is WPF dead?!!" we have been successfully start deploying our second product build on WPF to local client end. We have worked around 2yrs...
Filed under:
WPF
,
XAML
,
Mystra
,
Trade Management
,
iStock Broking
,
Microsoft
Asserting a mock with test framework
by
Mehfuz's WebLog
When asserting an expected call for its number of occurrences or may be just to verify if the setup/arrange is acted as intended, the tool generally raises assertion that points us to the reason why the test failed. Different mocking tools use different...
Filed under:
unit test
,
C#
,
JustMock
,
Mocking
Future mocking with #IgnoreInstance
by
Mehfuz's WebLog
In my previous post, i showed how JustMock picks mock expectations based on current context without the instance being injected. Based on feedback we found that It’s sometimes confusing and often does not work as intended. However, the context of this...
Filed under:
C#
,
Telerik
,
JustMock
,
Mocking
Introducing AutoBox - On the fly dependency injection and caching container.
by
Mehfuz's WebLog
Just when we have dependencies for a controller, we need to wrap around our heads to write a bootstrapper that will dynamically inject dependencies for a controller in runtime and once we we want to do data caching like a particular method in accounts...
Filed under:
asp.net
,
MVC
,
C#
,
DI
,
MemCached
,
AutoBox
MVP Open Day 2011 at Cambridge
by
Omar AL Zabir on things you don't find easily
Microsoft Research arranged MVP Open Day 2011 at Cambridge on Oct 24, 2011. Beautiful university, made me feel like giving up my job and going back to study. Amazing research work going there, very thought provoking. The session on DNA programming was...
Filed under:
performance
,
asp.net
,
production
,
Blog Posts
,
talks
Prevent ASP.NET cookies from being sent on every css, js, image request
by
Omar AL Zabir on things you don't find easily
ASP.NET generates some large cookies if you are using ASP.NET membership provider. Especially if you are using the Anonymous provider, then a typical site will send the following cookies to every request when a user is logged in, whether the request is...
Filed under:
performance
,
asp.net
,
Blog Posts
,
CodeProject
Future mocking revisited
by
Mehfuz's WebLog
Previously , I have posted how it is possible to mock a method without passing the dependency through a constructor / calling method. This is something true for third party controls and tools where we have little control over how its created. You can...
Filed under:
C#
,
JustMock
,
MSpec
,
Mocking
More Posts
Next page »