oazabir
Name: oazabir
Score: 145
Last Seen: 38 days, 20 hours, 21 minutes ago
Member Since: 4 July, 2009
DotNetShoutout
atom rss
2
Shouts

10 IT Admin skills every .NET developer should have before going liveOmar AL Zabir Blog

posted by oazabiroazabir 38 days, 20 hours, 22 minutes ago
Monday, April 15, 2013 8:51:59 PM GMT
10 essential IT admin skill for every .net developer who code, build, deploy and maintain production websites all by themselves. Learn to design super cheap and reliable hosting architecture, tune IIS, automate deployment and patching server and so on. (more)
category: How To | clicked: 5 | comment | | source: omaralzabir.com
tags:
1
Shouts

7 hard earned lessons from a Single Page ApplicationOmar AL Zabir Blog

posted by oazabiroazabir 38 days, 20 hours, 24 minutes ago
Monday, April 15, 2013 8:50:03 PM GMT
7 controversial techniques to boost performance of Single Page Applications (SPA) and achieve 3-4 second page load time. Find out when commonly used techniques like combining Javascript back fires. (more)
category: Web Dev | clicked: 6 | comment | | source: omaralzabir.com
tags:
3
Shouts

Using custom font without slowing down page load

published 239 days, 7 hours, 57 minutes ago posted by oazabiroazabir 247 days, 8 hours, 58 minutes ago
Thursday, September 27, 2012 9:16:40 AM GMT Wednesday, September 19, 2012 8:15:54 AM GMT
If you have a custom font in any CSS, anywhere on the page, most browsers (like IE) will not render anything (remain white) until the custom font is downloaded, initialized and applied. Usually custom fonts are over 300KB. As a result, they significantly slow down page load speed. Learn how to overcome this. (more)
category: Web Dev | clicked: 13 | comment | | source: omaralzabir.com
tags:
6
Shouts

Droptiles - Metro style Live Tiles powered Web Dashboard

published 304 days, 6 hours, 26 minutes ago posted by oazabiroazabir 311 days, 21 hours, 3 minutes ago
Tuesday, July 24, 2012 10:47:57 AM GMT Monday, July 16, 2012 8:11:07 PM GMT
Droptiles is a Windows 8 Start like Metro style Web 2.0 Dashboard. It builds the experience using Tiles. Tiles are mini apps that can fetch data from external sources. Clicking on a tile launches the full app. Apps can be from any existing website to customized website specifically built to fit the Dashboard experience. Droptiles is built almost entirely of HTML, Javascript and CSS and thus highly portable to any platform. The sample project is built using ASP.NET to show some server side integration, li... (more)
category: UX | clicked: 34 | comment | | source: www.codeproject.com
tags:
5
Shouts

Codeuml–design UML diagrams as fast as you can code

published 344 days, 6 hours, 40 minutes ago posted by oazabiroazabir 353 days, 7 hours, 27 minutes ago
Thursday, June 14, 2012 10:33:47 AM GMT Tuesday, June 05, 2012 9:46:41 AM GMT
Codeuml is a web based UML designer where you code the diagram using a special language and it generates the diagram on the fly. It is faster than using any visual designer where you have to drag & drop diagram elements and use mouse to connect them. Codeuml uses the open source plantuml engine to produce diagram from text. You can produce UML diagrams as fast as you can code. (more)
category: Web Dev | clicked: 42 | comment | | source: omaralzabir.com
tags:
2
Shouts

ReadLine on Binary Stream

posted by oazabiroazabir 414 days, 14 hours, 10 minutes ago
Thursday, April 05, 2012 3:03:19 AM GMT
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 to do ReadLine, but it does not allow you to read chunks of bytes. The Read(byte[], int, int) is not there on StreamReader. Here’s an extension of BinaryReader for doing ReadLine over a binary stream. You can read both byte chunks, as well as read text li... (more)
category: Web Dev | clicked: 1 | comment | | source: omaralzabir.com
tags:
2
Shouts

Memory Stream Multiplexer–write and read from many threads simultaneously

posted by oazabiroazabir 414 days, 14 hours, 13 minutes ago
Thursday, April 05, 2012 3:00:50 AM GMT
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 other parallel read operations. It supports blocking Read call so that reader threads can call Read(…) and wait until some data is available, exactly the same way you would expect a Stream to behave. (more)
category: Web Dev | clicked: 3 | comment | | source: omaralzabir.com
tags:
2
Shouts

Caching WCF javascript proxy on browser

posted by oazabiroazabir 414 days, 14 hours, 14 minutes ago
Thursday, April 05, 2012 2:59:48 AM GMT
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 another, it adds latency to page load and slows down page rendering performance. Moreover, the same WCF service proxy is downloaded from every page, because the generated javascript file is not cached on browser. Here is a solution that will ensure the gener... (more)
category: Web Dev | clicked: 2 | comment | | source: omaralzabir.com
tags:
3
Shouts

Browse internet faster and save power using a smart HOSTS file

published 507 days, 21 hours, 36 minutes ago posted by oazabiroazabir 512 days, 4 hours, 1 minute ago
Monday, January 02, 2012 7:37:30 PM GMT Thursday, December 29, 2011 1:12:45 PM GMT
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 much faster, scroll through pages much smoother and have more hours from your battery. Learn how to block unnecessary files using a smart HOSTS file. (more)
category: Web Dev | clicked: 31 | 1 comment | | source: omaralzabir.com
tags: Tips & Tricks, Performance, Windows
2
Shouts

Prevent ASP.NET cookies from being sent on every css, js, image request

posted by oazabiroazabir 587 days, 4 hours, 7 minutes ago
Saturday, October 15, 2011 1:06:59 PM GMT
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 517 bytes of cookie on every css, js, image request. That's 60 GB worth useless upload for 1M page view. See how to prevent this. (more)
category: Web Dev | clicked: 2 | comment | | source: omaralzabir.com
tags: asp.net; performance
13
Shouts

Tweaking WCF to build highly scalable async REST API

published 659 days, 21 hours, 20 minutes ago posted by oazabiroazabir 663 days, 30 minutes ago
Wednesday, August 03, 2011 7:53:16 PM GMT Sunday, July 31, 2011 4:43:12 PM GMT
You can build async REST API using WCF but due to some bug in WCF implementation it does not scale as you would want it to. Here's my journey with Microsoft's WCF team to explore the problem and find the right fix. (more)
category: Web Dev | clicked: 63 | comment | | source: www.codeproject.com
tags: WCF 3.5., Performance, Scalability, REST
5
Shouts

User story is worthless, Behavior is what we need

published 1019 days, 2 hours, 41 minutes ago posted by oazabiroazabir 1021 days, 6 hours, 24 minutes ago
Monday, August 09, 2010 2:32:49 PM GMT Saturday, August 07, 2010 10:49:11 AM GMT
User Story is suitable for describing what user needs but not what user does and how system reacts to user actions within different contexts. It basically gives product team a way to quantify their output and let their boss know that they are doing their job. As a developer, you can’t write code from user stories because you have no clue on what what is the sequence of user actions and system reactions, what are the validations, what APIs to call and so on. Software, and the universe eventually, is all ... (more)
category: Agile | clicked: 4 | comment | | source: omaralzabir.com
tags: Scrum, Agile Development, TDD, BDD
8
Shouts

WatinN to automate browser and test sophisticated ASP.NET AJAX sites

published 1019 days, 2 hours, 41 minutes ago posted by oazabiroazabir 1021 days, 6 hours, 26 minutes ago
Monday, August 09, 2010 2:32:49 PM GMT Saturday, August 07, 2010 10:47:48 AM GMT
WatiN is a great .NET library for writing automated browser based tests that uses real browser to go to websites, perform actions and check for browser output. Combined with a unit test library like xUnit, you can use WatiN to perform automated regression tests on your websites and save many hours of manual testing every release. Moreover, WatiN can be used to stress test Javascripts on the page as it can push the browser to perform operations repeatedly and measure how long it takes for Javascripts to r... (more)
category: Web Dev | clicked: 4 | comment | | source: omaralzabir.com
tags: TDD, watin, BDD, ASP.NET
6
Shouts

Finally! Entity Framework working in fully disconnected N-tier web app

posted by oazabiroazabir 1102 days, 12 hours, 18 minutes ago
Tuesday, May 18, 2010 4:56:00 AM GMT
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 n-tier scenarios. Learn how I solved all disconnected scenarios and made 100% unit testable EF. (more)
category: Web Dev | clicked: 3 | 1 comment | | source: omaralzabir.com
tags: Entity Framework, .NET 3.5 SP1, TDD, Unit Test
7
Shouts

Munq is for web, Unity is for Enterprise

published 1103 days, 3 hours, 3 minutes ago posted by oazabiroazabir 1105 days, 6 hours, 9 minutes ago
Monday, May 17, 2010 2:10:19 PM GMT Saturday, May 15, 2010 11:04:25 AM GMT
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 AOP as well. However, when it comes to performance, it’s CPU hungry. In fact it’s so CPU hungry that it makes it impossible to make ... (more)
category: Web Dev | clicked: 6 | comment | | source: omaralzabir.com
tags: Unity, Munq, Inversion of control, Dependecy Injection, ASP.NET
8
Shouts

Do not use “using” in WCF Client

published 1105 days, 5 hours, 1 minute ago posted by oazabiroazabir 1106 days, 10 hours, 33 minutes ago
Saturday, May 15, 2010 12:12:16 PM GMT Friday, May 14, 2010 6:40:16 AM GMT
You know that any IDisposable object must be disposed using using. But that does not apply to WCF clients, channel factories and service hosts. In fact any .NET component that disposes TCP, File, Stream, Win32 can throw exception while exiting using block. (more)
category: Web Dev | clicked: 3 | comment | | source: omaralzabir.com
tags: WCF