Selasa, 15 Februari 2011

Mockingbird is a fantastic in-browser tool for creating website wireframes

Sometimes you've got an idea in your head for a website or page layout, or even for an application. But then you need to somehow get it out of your head and actually look at it, or show it to someone. While drawing on the back of a napkin is a time-honored strategy, that is not always ideal because you can't edit your drawing later, and it may be difficult to share. Mockingbird is like a digital

SQL Server: Store and Retrieve IP Address

We can store IP addresses in SQL Server in a varchar column. However to retrieve IP address for a specific range, we need to split each part and compare it.Consider the following table: Suppose we want to retrieve all the IP addresses that fall in the range from 192.168.120.120 to 192.168.200.255. The following query will retrieve these IP addresses: Here’s the same query for you to try out:

WCF – Silverlight debugging tips

IntroductionAs all of us know if something went wrong in the Silverlight application that is consuming WCF, how much painful it is to investigate the problem. Debugging only help to certain level, as it do not always give the exact error message. It sucks and it eats considerable amount of time to know the problem and all that we end up in identifying nothing. If we know some smart tips in WCF +

Build your Web Application at runtime

Disclaimer: let me start by saying that the technique described in this blog is experimental, and is meant as a first step to see where this might take us. This is not in any way an officially supported technique! If you are an ASP.NET user, you are likely aware that there are two different types of apps that you can create: Web Sites and Web Applications. Here is a quick summary of how they

Анализ зависимостей программно? NDepend!

Как поддерживать качества код на должном уровне? Есть много способов – культура написания кода, регулярное code review, всевозможные договорённости внутри команды (convensions), парное программирование и прочие практики XP, TDD, BDD, DDD… Список можно продолжать, и в него будут попадать все более страшные слова :) Но на самом деле каждый выбирается для себя свой способ. А как следить за качеством

Another SQL Server FILESTREAM Best Practice guide

Recently I was asked to advise a customer on a FILESTREAM implementation he was devising, and part of that ended up becoming this blog post that I hope can be of some help for you.When to use FILESTREAM? In SQL Server, BLOBs can be standard varbinary(max) data that stores the data in tables, or FILESTREAM varbinary(max) objects that store the data in the file system. The size and use of the data

Senin, 14 Februari 2011

Silverlight 4: Interoperability with Windows 7 Taskbar using COM

Microsoft released Windows 7 last year which has lots of functionalities including a nice UI. Among those features one of the most user friendly feature is Pin/Unpin application to Taskbar. You can develop WPF or Windows Forms applications in which you can implement this feature. But do you know that this is also possible in Silverlight? Yes, Silverlight 4 has the power to talk with any other

How To Crash the Internet

We know you can take down Web sites with Distributed Denial of Service (DDoS) attacks. We know that a country, like Egypt, can shut down a country's entire Internet access. And, we thought we knew that you can't take down the entire Internet. It turns out we could be wrong. In a report from New Scientist, Max Schuchard a computer science graduate student and his buddies claim they've found a way

Тонкие моменты C#

Не секрет, что C# сегодня популярный и динамично развывающийся язык, в отличие от своего прямого конкурента — языка Java, который в плане функциональности переживает период застоя. Основное неоспоримое преимущество Java — настоящая кросплатформенность, а не унылая и ограниченная, как у C#. C# — простой язык, благодаря простоте живёт и PHP. Но в то же время он весьма функциональный, и имеет статус

Расширенные атрибуты FAT16 и NTFS

Расширенные атрибуты файлов — дополнительный набор атрибутов, поддерживаемый Windows в файловых системах NTFS, FAT16 и HPFS. Расширенные атрибуты (extended attributes, EA) поддерживаются начиная с Windows NT и во всех последующих операционных системах на ядре NT. Поддержка расширенных атрибутов была добавлена в Windows для совместимости с операционной системой OS/2, в которой они широко