Showing posts with label C#. Show all posts
Showing posts with label C#. Show all posts

Friday, June 20, 2008

Daily Links 20/06/2008

DevExpress has released Beta 1 of it's FREE Silverlight DataGrid
* Data Grouping against multiple Silverlight Grid columns
* Data Sorting against multiple Silverlight Grid columns
* Comprehensive Summary Computation support against multiple Silverlight Grid columns
* Column Movement
* Column Resizing
* Column Auto-Width
* Row Editing
* Row Preview (with animation)
* Template Support (for cell content, cell editing, row preview and headers)
* Auto Height Support for cells, headers, and totals.
* Virtual StackPanel Row Container (simply means we are able to handle an unlimited number of rows)
* Focused Row and Focused Cell
* Multi-Row Selection
* Cell Text Wrapping
* Vertical/Horizontal Lines
* Multiple column types/editors
The Source code is also available.

CLR Fun Stuff: How is my C# code converted into machine instructions?

We Don't Need No Architects
Making a case for the software architect

To JSON or not to JSON?
A comparitive performance look at Json Serialization vs standard xml serialization using WCF 3.5

ViewModel Pattern in Silverlight using Behaviors

Silverlight wallpaper
...for all the silverlight geeks out there

Monday, June 2, 2008

Daily Links 02/06/2008

free icons

programmer's bill of rights
old post, but still relevant

Announcing the release of Microsoft Source Analysis for C#
"his tool is known internally within Microsoft as StyleCop, and has been used for many years now to help teams enforce a common set of best practices for layout, readability, maintainability, and documentation of C# source code"
although if you have Resharper, you already have access to all of this functionality
HowTo: Configure Microsoft Source Analysis

Resharper was moaning at me for declaring a loop scope variable before the loop (old C++ practice), so I hunted around as to why (doesn't declaring a variable inside a loop impact performance?)
Found this article: basically, declared inside or out, the same IL is generated under the hood (because variables are passed in the method header) - so it's better to declare inside the loop, for readability and scope reasons.

SQL Server Programming Hacks

Silverlight links post

Monday, February 11, 2008

Daily Links 11/02/2008

TDD for Beginners Series
for those of us who keep meaning to get into TDD and would like a simple place to start

C# Sorting evolution
Illustrates the improvements of C# from 1.0 - 3.0 using sorting as an example.

Calculate the distance between 2 geoCodes (lat / long) in C# / Javascript

Visual Studio 2005 Addins for NAnt and NUnit

ShortGuid - a shorter and URL friendly Guid class in C#

Latest Link List from Scott Gu

Secured Subversion on Windows
using SSH withouth having to install Apache

I recently got locked out of my SQL 2005 using the sa account: to fix this, login using windows authentication, and run this query: "ALTER LOGIN sa WITH PASSWORD = 'yourPassword' UNLOCK"

Wednesday, January 23, 2008

Daily Links 23/01/2008

Free Professional Diff Tool from SourceGear

Attach to Asp.NET process with keyboard shortcut (custom VS macro)

ASP.NET web service tips - documentation
How to add custom help pages to your web services

.NET Framework Library Source Code now available

Debug into .NET framework source code :)

Visual Studio 2008 Multi-threaded debugging feature
Keep track of which thread is running what code in the IDE - neat

Rhino Mocks Hello World
very simple quick-start for using Rhino Mocks (framework for loading mock business objects into your unit tests)

Subsonic and MVC: Introducing Makai

Best C# web sites

WCF Communication Options in the .NET Framework 3.5

I recently struggled a bit with getting my silverlight application to resize with the
browser using the following hook in C# code:
BrowserHost.Resize += new EventHandler(BrowserHost_Resize);
(placed in the Page_Loaded event handler of the main page.xaml)
The event just wouldn't fire when the browser resized :|
...until I discovered that you need to change the auto-generated
TestPage.html properties to the following: (specify percentages instead of pixel size)

.silverlightHost { width: 100%; height: 100%; }

Wednesday, January 16, 2008

Daily Links 16/01/2008

Wanted a C# MD5 encryption class for my Silverlight app (Silverlight doesn't include the .NET framework MD5 class)- here's a sample I found

C# Line Counter
"simple GUI-based file line counter for C# that took into consideration comments and empty lines"

Subsonic 2.1 Preview
Includes funky new query tool

Add or remove the www subdomain with an ASP.NET application

Making session state type-safe using generics

Creating custom LINQ provider using LinqExtender

Model View Presenter using Dependency Injection and Threading support

WCF Implementation of Publisher/Subscriber Model

Caching for SubSonic
Small helper class to add caching of objects using subsonic

Monday, August 27, 2007

Daily Links - 24/8/2007

Add Google Maps to your .NET site in 10 minutes

The Yield statement in C#

Behaviour of "as" in C#:

Dependancy Injection from the trenches

How much interest is there in JavaFX?

Beware, the developer who isn't interested in development!

Web Service List
Quite a thorough and diverse listing of available web services.

... And to test calls to all those web services: free open-source tool for testing web services: SoapUI

Increase blog earnings:
Link 1
Link 2

Promoting your blog:
Link 1
Link 2

Toshiba 32Gig SD cards

Removing backgrounds quickly in photoshop