Geeks With Blogs
Patrice Calve Life's short, have fun
Use a ReadOnlyObservableCollection when you allow people to subscribe to changes to a collection, without allowing them to make changes to the collection. ReadOnlyObservableCollection is a object from System.Collections.ObjectMo... ReadOnly: Because there's no Add/Remove method Observable: When an item is added or removed, it will fire an event (INotifyCollectionChanged). ......

Estimation is easy: put any random number, just kidding. Instead, always answer 1. But, change the meaning of that 1. Express your estimates in hours, days, weeks, months, seasons or quarters, years, decades, lifetime. Humans are great at these kinds of estimates, and everyone can grasp the “order of magnitude” of such estimates. How long will it take ......

RavenDB is an Open Source, document DB (NoSql) Links: - CodePlex: http://ravendb.net/ - WikiPedia on NoSql http://en.wikipedia.org/wik... RavenDB can run as a server (standalone) or embedded in your application. Here’s a very brief example of embedding RavenDb in an ASP.Net MVC application, it takes about 5-10 minutes in all. Basic Setup Steps Create ......

Jeremy Likness built a lightweight, NoSQL , object-oriented database for .Net 4.0 called Sterling. First, wow. Second, links: - CodePlex: http://sterling.codeplex.com/ - WikiPedia: NoSql http://en.wikipedia.org/wik... Third, here’s a very brief example of console application that uses Sterling, it takes about 5-10 minutes in all. Here are the steps ......

Coding standards is to programming what walking is to a fashion show.

You can have the best coding standards and rules to force everyone to obey them, but if what you're building is crap, the walk won't help much.

Pat



When creating a new SCSF project, the "solution recipe" does a great job creating the basis, but there's a few things you need to know/adjust. Since creating SCSF solutions/projects isn't an activity we do on a day-to-day basis, we tend to forget these quirks. The name you give your "solution" will be used in the assembly name (the output dll) and the ......

So... You're trying to debug an application that is using a large (100> tables) database and for a reason or an other, you don't understand where this darn Id is coming from! Here's a simple Sql Script that browses your database for this darn Id... Just change the @Id = '' for the id you're looking for! declare @id as varchar(50) -- idToRemove.ToString() ......

A long time ago, I wrote a very simple log method. It was used to print the number of times a function/method was called. I just changed it a bit and added an optional dumpAll parameter for printing the whole results. It tracks 3 things: the name of the method, the number of times it was called, and stack level. Private Sub log(Optional ByVal dumpAll ......

The Current state of Unit Testing in the software industry. 10 years ago, when the web boom started and applications were built with classic asp and ado, Unit Testing wasn't much on developers minds. But, in 2009, I'm amazed by the lack of unit testing in most environments I've encountered... In fact, most environments (not all, but most) I've seen ......

Step 1: prepare yourself :) The first step to show a report on a windows application is to figure out the url and path of the report! Sql Reporting Services has 2 virtual directories: /Reports: renders the reports to the user in a user-friendly web page /ReportServer: executes the report When your boss asks you to display a report in a winform application, ......

Well well well... "Musician sells CD for $15.98, CD + live concert for $5000" http://www.boingboing.net/2... From John Wesley Harding's web site: "Who was Changed and Who was Dead" is John Wesley Harding's first rock record since 2004. It will be available in stores March '09.But you can buy the album, not to mention ......

The out-of-the-box StaticSiteMapProvider is great for, well, static web sites. I don't find the StaticSiteMapProvider (and web.sitemap) model very practical for the dynamic nature of web sites/applications and especially Asp.Net Mvc applications. In an mvc application it's difficult to render a static sitemap that allows breadcrumbs like: Home Home ......

I finally and succesfully migrated a VSS 2005 Database to TFS 2008. I got soo many problems/errors. Things like: Migration tool worked, but only the folders have been created in TFS. No file has been created, Another migration warned that TF60085: No file or folder to migrate DCOM errors on the server. When re-creating a TFS Project, TF30162: Task "WITs" ......

Hi, I just "migrated" from ASP.Net MVC Preview 5 to ASP.Net MVC Beta. I uninstalled Preview 5 and installed the Beta. I already had checked out previous previews but spent the most time with Preview 5, and didn't want to upgrade my "Preview-5-version-of-my-te... just in case there were deprecated or new features, specially in the "New ASP.Net ......

Hi there, How do you mock an asynchronous web method (web service) call? You can skip the background and move on directly to the solution... Background: Visual Studio 2005 CAB/SCSF May 2007 C# 2.0 Rhino Mocks (version 3.5 for 2.0) In a CAB/SCSF project I'm working on, I'm testing a Presenter's method "OnViewReady". In my implementation, this OnViewReady ......

Copyright © Patrice Calvé | Powered by: GeeksWithBlogs.net | Join free