MihirPatel
Name: MihirPatel
Score: 10,492.74
Last Seen: 945 days, 1 hour, 8 minutes ago
Member Since: 11 February, 2009
DotNetShoutout
atom rss
13
Shouts

WF4 Design Time AttachedPropertiesService and Attached Properties - Matt Winkler

published 1260 days, 18 hours, 9 minutes ago posted by jantujantu 1261 days, 5 hours, 51 minutes ago
Sunday, December 06, 2009 9:33:32 PM GMT Sunday, December 06, 2009 9:52:24 AM GMT
WF4 Design Time AttachedPropertiesService and Attached Properties I’ve been meaning to throw together some thoughts on attached properties and how they can be used within the designer.  Basically, you can think about attached properties as injecting some additional “stuff” onto an instance that you can use elsewhere in your code. Motivation In the designer, we want to be able to have behavior and view tied to interesting aspects of the data.  For instance, we would like to have a view updated when an i... (more)
category: How To | clicked: 10 | comment | | source: blogs.msdn.com
tags: WF4, VS2010
9
Shouts

Nuclex Framework on CodePlex

published 1262 days, 28 minutes ago posted by CygonCygon 1263 days, 20 hours, 34 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Thursday, December 03, 2009 7:09:11 PM GMT
Nuclex.org has finally published their Nuclex Framework, a library of advanced building blocks for XNA game programming, as Open Source on CodePlex! Just some of the features: 3D Vector font rendering, multi-threaded particle systems, 3D SpriteBatch replacement, graphical user interfaces with skining support, game state management and more, all organized into neatly isolated building blocks you can pick from. The code has more than 1,400 unit tests with some assemblies achieving 100.0% test coverage and ... (more)
category: How To | clicked: 1 | comment | | source: www.nuclex.org
tags: GUI, XNA, Open Source, Vector Fonts, Threading, XNA Game Studio
11
Shouts

Playing with SQLite, SubSonic3 and Repository Mode | Nathan Bridgewater

published 1262 days, 28 minutes ago posted by https://www.google.com/accounts/o8/id?id=AItOawk3KWTPVThtO1qHPVHfbrJzbytQaOnwRhshttps://www.google.com/accounts/o8/id?id=AItOawk3KWTPVThtO1qHPVHfbrJzbytQaOnwRhs 1264 days, 32 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Thursday, December 03, 2009 3:10:29 PM GMT
Want to use SQLite and SubSonic3? Here's a way to do that. (more)
category: Web Dev | clicked: 1 | comment | | source: www.integratedwebsystems.com
tags: SQLite, Subsonic 3, Data Access Layer
12
Shouts

The Disposable Pattern

published 1262 days, 28 minutes ago posted by CygonCygon 1264 days, 8 hours, 36 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Thursday, December 03, 2009 7:07:07 AM GMT
Simple explanation of the Disposable Pattern in .NET for developers new to garbage collection. Explains when to implement the IDisposable interface only, where a finalizer is required and why you mustn't call into other objects from the finalizer thread. Also shows common use cases illustrating when to implement IDisposable and when to implement the full Disposable Pattern. (more)
category: Architecture | clicked: 2 | 1 comment | | source: www.nuclex.org
tags: Pattern, Garbage Collection, Beginner, Dispose, Patterns & Practices
12
Shouts

T4CSS: A T4 Template for Less CSS With Compression - Phil Haack

published 1262 days, 28 minutes ago posted by jantujantu 1264 days, 3 hours, 25 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Thursday, December 03, 2009 12:17:33 PM GMT
Pain is often a great motivator for invention, unless you become dull to the pain. I think CSS is one of those cases where there’s a lot of pain that we as web developers often take in stride. Fortunately not everyone accepts that pain and efforts such as LESS are born... (more)
category: Web Dev | clicked: 1 | 1 comment | | source: haacked.com
tags: YUI, T4, Web, CSS
8
Shouts

The Meaning of 100% Test Coverage

published 1262 days, 28 minutes ago posted by CygonCygon 1263 days, 4 hours, 42 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Friday, December 04, 2009 11:01:00 AM GMT
The Myth that 100% test coverage means code is completely bug-free has been busted thoroughly. So much in fact, that it is almost risqué to add complete test coverage to your agenda. But is 100% test coverage really 100% useless, or are there some advantages worth striving for still? This article discusses the advantages and disadvantages of aiming for 100% test coverage. (more)
category: Agile | clicked: 0 | 1 comment | | source: www.nuclex.org
tags: myths, unit testing, test coverage
12
Shouts

Atanas Hristov: Design Patterns – Chain of Responsibility Pattern - blog about programming.

published 1262 days, 28 minutes ago posted by http://atanashristov.blogspot.com/http://atanashristov.blogspot.com/ 1265 days, 7 hours, 33 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Wednesday, December 02, 2009 8:10:11 AM GMT
Imagine you have complicated decision logic and you’ve got a big if-then-else like structure in your code which you want to simplify. The Chain of Responsibility Pattern is a good way for code refactoring in such situation. It will make the code more flexible and easy to support and modify in the future. You prepare a set of interdependent chain handler classes linked in a chain. Every chain handler class implements part of the decision logic and has a link to next chain handler object. A request da... (more)
category: How To | clicked: 0 | 1 comment | | source: atanashristov.blogspot.com
tags: Design Patterns
14
Shouts

IP Address Blocking or Restriction in SQL Server

published 1262 days, 28 minutes ago posted by sqlarticlessqlarticles 1264 days, 9 hours, 31 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Thursday, December 03, 2009 6:12:14 AM GMT
I have seen some questions in forums asking for the answer “is it possible to block connections to SQL Server based on IP address”. As far as now there is no official way in SQL Server to block the connections in SQL Server based on IP address. However this can be done from the OS end, we have the following three options available, refer HERE for more. * Firewall * IPSec * RRAS IP Filter (more)
category: Data | clicked: 1 | 1 comment | | source: sql-articles.com
tags: Administration, ip blocking
7
Shouts

Improvements in Intellisense post Beta 2 - Brian Harry

published 1262 days, 28 minutes ago posted by jantujantu 1262 days, 7 hours, 16 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Saturday, December 05, 2009 8:26:51 AM GMT
I’ve written a couple of posts in the last month or so soliciting performance feedback from you all and talking about our performance efforts. Since we realized the degree of performance problem that we still had, we have spent a ton of effort working on understanding it and making it better. (more)
category: Smart Client | clicked: 0 | 1 comment | | source: blogs.msdn.com
tags: Visual Studio, VS2010
8
Shouts

Programmatic Code Coverage Data Merging in Visual Studio 2010 - Peter Huene

published 1262 days, 28 minutes ago posted by jantujantu 1262 days, 6 hours, 59 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Saturday, December 05, 2009 8:44:17 AM GMT
Programmatic Code Coverage Data Merging in Visual Studio 2010 In my last post, I demonstrated how you could use the coverage analysis assembly to analyze coverage files.  Today I will quickly cover how to programmatically merge multiple coverage files together.  This replicates the functionality that the code coverage results tool window has for merging coverage data from multiple test runs together.  The following assumes you’ve read the instructions in the previous post to reference the analysis assem... (more)
category: Smart Client | clicked: 3 | 1 comment | | source: blogs.msdn.com
tags: Visual Studio 2010, Code Coverage
10
Shouts

Binding Operators for C# 5

published 1262 days, 28 minutes ago posted by KodefuGuruKodefuGuru 1263 days, 22 hours, 43 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Thursday, December 03, 2009 5:00:04 PM GMT
I read this article from Martin Calsyn on the new Microsoft Visualization Language called Videa, and I must admit that I was struck by how awesome binding operators actually are. This is a feature that must make its way into C# 5! Here’s an example of a binding from his article.textbox.Text := slider.Value; This code looks suspiciously like Delphi. In Pascal (Delphi uses Object Pascal), := is an assignment operator. In Videa, := is a left binding assignment. What happens is that anytime the slider’s Val... (more)
category: How To | clicked: 3 | 1 comment | | source: www.kodefuguru.com
tags: dynamic, C# 5, Binding Operators, Videa
11
Shouts

Creating a Generic Entity Framework 4.0 Repository

published 1262 days, 28 minutes ago posted by http://senfo.blogspot.com/http://senfo.blogspot.com/ 1263 days, 13 hours, 36 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Friday, December 04, 2009 2:07:15 AM GMT
With .NET 4.0 right around the corner, I thought it would be cool to download Visual Studio 2010 beta 2 and start playing around with the next release of Entity Framework. The initial release of Entity Framework came with a great deal of criticism. To make matters worse, there was a large uproar when it was rumored that Microsoft would be abandoning LINQ to SQL, in favor of Entity Framework. This was because, at the time, many developers felt Entity Framework was an inferior technology to LINQ to SQL. T... (more)
category: Architecture | clicked: 5 | 1 comment | | source: geekswithblogs.net
tags: Repository, Generics, C#, entity framework 4.0
10
Shouts

Smarten up your UI with Task Dialogs

published 1262 days, 28 minutes ago posted by http://jamescrowley.myopenid.com/http://jamescrowley.myopenid.com/ 1264 days, 24 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Thursday, December 03, 2009 3:18:54 PM GMT
Put your message boxes on steroids. Take advantage of the new-look dialogs in Windows Vista and Windows 7 in your applications and smarten up your UI. (more)
category: UX | clicked: 0 | comment | | source: www.developerfusion.com
tags: GUI, Windows 7, Message Box, Windows Vista, Windows 7 Code Pack
9
Shouts

How Dot Net 4 Side by Side will impact API writers

published 1262 days, 28 minutes ago posted by http://vistadb.myopenid.com/http://vistadb.myopenid.com/ 1262 days, 19 hours, 8 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Friday, December 04, 2009 8:35:13 PM GMT
As I mentioned in my previous Dot Net 4 strategy blog entry, we have been thinking about how we want to handle Dot Net 4 from an API and runtime standpoint. Just as a little refresher, remember that when I am talking about a .Net 2 assembly it can actually be any of the .Net 2, 3.0, 3.5 or 3.5 SP1 runtimes.  They are a layered cake design in that they all use the same base and build up with additional tiers of functionality.  You cannot have a .Net 3.5 app without .Net 2 present, doesn’t exist. (more)
category: Architecture | clicked: 0 | 1 comment | | source: www.vistadb.net
tags: .net 4, API, Side by Side
12
Shouts

Atanas Hristov: Design Patterns – Abstract Factory Pattern - blog about programming.

published 1264 days, 6 hours, 36 minutes ago posted by http://atanashristov.blogspot.com/http://atanashristov.blogspot.com/ 1265 days, 7 hours, 45 minutes ago
Thursday, December 03, 2009 9:06:40 AM GMT Wednesday, December 02, 2009 7:58:18 AM GMT
Factories are objects that encapsulate the logic for creating other objects. Factory object could create one or another object based on some configuration parameters. Or the factory could decide what kind of concrete object to create based on a parameter to some object creational method. For example if the method received post-code the factory creates City object and when the parameter is an email address the factory creates Customer object. In that way one might create factory to select one or anoth... (more)
category: How To | clicked: 1 | comment | | source: atanashristov.blogspot.com
tags: Design Patterns
10
Shouts

ADO.NET Data Services Team Blog : Using the Silverlight 4.0 WCF Data Services Client Library

published 1264 days, 6 hours, 36 minutes ago posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 1265 days, 6 hours, 42 minutes ago
Thursday, December 03, 2009 9:06:40 AM GMT Wednesday, December 02, 2009 9:00:47 AM GMT
Using the Silverlight 4.0 WCF Data Services Client LibraryPublished 01 December 09 11:13 AM | dpblogs  Recently Microsoft released Silverlight 4 Beta which includes an update to the Data Services Silverlight client. The update includes most of the new features previewed in the ADO.NET Data Services CTP2 - see this blog post for a complete list of the features in CTP2. The new Silverlight 4.0 Data Services client library also includes improvements to the databinding feature to make binding in an asynch... (more)
category: Web Dev | clicked: 0 | comment | | source: blogs.msdn.com
tags: Silverlight, Silverlight 4 Beta, DataServices, WCF, WCF DataServices
13
Shouts

A* pathfinding search in C# - Part 3

published 1264 days, 6 hours, 36 minutes ago posted by lenielleniel 1265 days, 11 hours, 38 minutes ago
Thursday, December 03, 2009 9:06:40 AM GMT Wednesday, December 02, 2009 4:05:17 AM GMT
This is the last installment in the series about A* search. The C# source code implemented is available in the final part of this post. As promised in the last words of A* pathfinding search in C# - Part 2 today we’re gonna run a test case using the Romania map. This post shows a test case in which the application outputs the shortest path from Arad to Bucharest. I used the ViewOtherPaths method to show the different possible routes. This way we can have a look at why the A* algorithm has chosen such sho... (more)
category: How To | clicked: 0 | comment | | source: www.leniel.net
tags: data structures, priority queue, algorithms, Programming, C#, A*, immutable data structures, Haversine, geocoder
11
Shouts

Simple Logging Façade released on codeplex today – Colin Eberhardt's Adventures in WPF

published 1262 days, 28 minutes ago posted by FantasticMrFishFantasticMrFish 1264 days, 19 hours, 59 minutes ago
Saturday, December 05, 2009 3:14:36 PM GMT Wednesday, December 02, 2009 7:44:26 PM GMT
Today, Philipp Sumi and I and are proud to announce the release of SLF – the Simple Logging Façade: SLF is a framework with a simple but ambitious mission: To provide every developer with the means to easily plug in logging functionality into her application. As such, it aims at two fundamental goals:Simplicity: SLF allows you to plug in solid logging functionality into your application with literally one line of code, while providing you with an upgrade path to complex logging scenarios at any time... (more)
category: Architecture | clicked: 0 | comment | | source: www.scottlogic.co.uk
tags: Open Source, logging
10
Shouts

Silverlight 3 RIA Services :- Cannot resolve symbol web

published 1264 days, 6 hours, 36 minutes ago posted by http://www.smallworkarounds.net/http://www.smallworkarounds.net/ 1265 days, 4 hours, 2 minutes ago
Thursday, December 03, 2009 9:06:40 AM GMT Wednesday, December 02, 2009 11:40:48 AM GMT
If you are using RIA Services with Silverlight and facing the problem that Web part or the server part of the project is not getting recognized on the client side or the Silverlight side, then one probable and main cause is that you are using Resharper and if that’s the case then the below solution will help you tackle this problem. Before applying this solution do check that RIA Services is installed on your machine because if its not installed then the cause of this problem would be RIA Services itsel... (more)
category: Metro | clicked: 1 | 1 comment | | source: www.smallworkarounds.net
tags: RIA Services, Silverlight 3
11
Shouts

Atanas Hristov: Design Patterns – Singleton Pattern - blog about programming.

published 1263 days, 6 hours, 4 minutes ago posted by http://atanashristov.blogspot.com/http://atanashristov.blogspot.com/ 1265 days, 7 hours, 38 minutes ago
Friday, December 04, 2009 9:39:23 AM GMT Wednesday, December 02, 2009 8:05:13 AM GMT
The Singleton pattern gives us a way to restrict the instantiation of objects of given class to certain number, in the common usage to one only. The Singleton class instantiates itself and works as a global repository for an instance of itself. For example we share a database connection or log writer across all threads in one process. Implementation of Singleton pattern Here i'm going to implement Singleton class in C#. The class should hide its constructor. It has also GetInstance() method that... (more)
category: How To | clicked: 0 | 1 comment | | source: atanashristov.blogspot.com
tags: Design Patterns