Thursday, April 30, 2009

Pitfalls for Startups Driven by Software Developers

1) Putting your needs above the customer
2) Not clarifying your business idea
3) Not marketing yourself
4) Not branding yourself
5) Not managing your money
6) Not knowing who your customers are
7) Not acting in a professional manner

Some Useful T-SQL DateTime Functions

Example:

----First Day of Last Month
SELECT DATEADD(mm,-1,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0))

----Last Day of Last Month
SELECT DATEADD(ms,-3,DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)))

Monday, April 20, 2009

Most Interesting .NET StackOverflow Questions


1 - Visual Studio Optimizations
2 - Hidden .NET Base Class Library Classes
3 - Is DateTime.Now the best way to measure a function’s performance?
4 - Most wanted feature for C# 4.0 ?
5 - Hidden Features of ASP.NET
6 - Visual Studio debugger tips & tricks for .NET
7 - Most Useful Attributes in C#
8 - What is the most useful .net library you’ve found?
9 - Entity Framework vs LINQ to SQL
10 - Most Useful .NET Utility Classes Developers Tend To Reinvent Rather Than Reuse

http://blog.sb2.fr/post/2009/01/02/Most-Interesting-NET-StackOverFlow-Questions.aspx

Thanks again to Brian for link!

Similar lists in other categories, such as design patterns, layering, domain driven design etc. would be nice.

MVVM (model-view-view model) example with Silverlight

Code Project: 
Exploring a Model-View-ViewModel Application; WPF Password Manager, Cipher Text

 http://www.codeproject.com/KB/WPF/ExploringWPFMVVM.aspx

[-] article uses the WPF Password Manager, Cipher Text application as fertile ground for exploring the WPF UI Design Pattern, Model-View-ViewModel or MVVM. The application sports many cool features and some WPF goodness.

Microsoft: 
WPF Apps With The Model-View-ViewModel Design Pattern


Topics:
Patterns and WPF
MVP pattern
Why MVVM is better for WPF
Building an application with MVVM
WPF, data binding

Thanks, Brian for links!