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: , , ,

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: , ,

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: ,

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...

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: , , , ,

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: , , ,

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...

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: ,

“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...

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: , , ,

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: , , ,

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: , , , , ,

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...

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...

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: , , ,
More Posts Next page »
Powered by Community Server (Non-Commercial Edition), by Telligent Systems