Friday, April 20, 2007

Command Line SMTP Mailer for Windows

 BMail simply rocks.

The other thing i use is just add Vbs script and launch it:

 

Set Msg = CreateObject("CDO.Message")

With Msg

.To = "you@yourdomain.com"
.From = "me@mydomain.com"
.Subject = "Hello"
.TextBody = "Just wanted to say hi."
.Send

End With

MsgBox "Script Complete"

Link to Command Line SMTP Mailer for Windows

Saturday, April 14, 2007

Rico Mariani's Performance Tidbits : Performance Quiz #1 (of a series?)

 

Recently there was a discussion on one of our internal email aliases in which this problem came up. I though it was an interesting problem so I posed this Quiz to assorted people I work with to see what kinds of things they would say.

Considering these three options:

Option 1:

sw.WriteLine(subject + ": " + message);

Option 2:

sw.WriteLine("{0}: {1}", subject, message);

Option 3:

sw.Write(subject);
sw.Write(": ");
sw.WriteLine(message);

Answer these questions:

Q1. Which of these choices offers the best performance?
Q2: Can you characterize the memory usage of each of these?
Q3: Which would the performance team generally recommend, and why?
Q4: What special factors might alter this recommendation?
Q5: What did you have do assume about "sw" to answer the question?

 

For answers check the link below:

Link to Rico Mariani's Performance Tidbits : Performance Quiz #1 (of a series?)

Friday, April 13, 2007

Grammar Girl's Quick and Dirty Tips for Better Writing

 Here is something to improve your grammar.

Link to Grammar Girl's Quick and Dirty Tips for Better Writing

Enterprise Library 3.0 - Visual Studio-Integrated Configuration Editor

Another addition tot he Enterprise Library 3.0 that is just great to have. 

Link to Enterprise Library 3.0 - Visual Studio-Integrated Configuration Editor

C# LINQ to SQL Chat Dec 12, 2006 - DLINQ - Microsoft O/R Mapper

 

What is the key difference between ADO.NET Entities and LINQ 2 SQL?

A: LINQ to SQL is an ORM over your relational database schema plus some mappings. LINQ to Entities is an ORM over a conceptual object-less model (ERM) that is a mapping over your relational database schema.

Source: C# LINQ to SQL Chat Dec 12, 2006 - DLINQ - Microsoft O/R Mapper

ADO.NET Entity Framework and Object Services Tutorial - Entity Data Model

Absolutely great stuff!

"The Object Services in the ADO.NET Entity Framework is another solution for persisting entities to your database."

Source: ADO.NET Entity Framework and Object Services Tutorial - Entity Data Model

Monday, April 09, 2007

Derik Whittaker : Writing Unit Tests, a simple multi-step process to getting started

 Derik Whittake describes how to write tests for projects that have "so much existing code".

Steps include:

  1. Survey your code base.
  2. Create an action plan.
  3. Execute your action plan.
  4. Reflect on what you have accomplished.
  5. Start the process over.

For more insight into these steps hear over to:

Link to Derik Whittaker : Writing Unit Tests, a simple multi-step process to getting started

Saturday, April 07, 2007

CSS Friendly Control Adapters

Project Description

The CSS Friendly Control Adapters kit (for ASP.Net 2.0) provides pre-built control adapters that you can easily use to generate CSS-friendly markup from some of the more commonly used ASP.NET controls.

Ref: CSS Friendly Control Adapters

Friday, April 06, 2007

Roland Weigelt : Speeding up the C# Source Code Editor

 Cool way to speed up your C# source code editor.

Source: Roland Weigelt : Speeding up the C# Source Code Editor

Roland Weigelt : SonicFileFinder 1.8 Released

 

Great add-in for finding files in vS2005. Check it out.

Link to Roland Weigelt : SonicFileFinder 1.8 Released

Terminals (Remote Desktop Manager tool - Freeware)

 

I have been using RoyalTS for a while to manage all the desktop connections to various servers that i have to keep shortcut of. Here is one more, perhaps a better one that i just found out about.

 

Check it out at the following link: 

Link to Terminals

NetObjectives Pattern Repository

Good place to learn and share your knowledge about Design patterns. 

 

Link to patternrepository

Download details: Microsoft Visual Studio 2005 IDE Enhancements

I was unable to install this on my machine at home and at office. Both are completely different machines. Has anyone been able to install this successfully after installing sp1?

 

 

Link to Download details: Microsoft Visual Studio 2005 IDE Enhancements

ScottGu's Blog : JSON Hijacking and How ASP.NET AJAX 1.0 Avoids these Attacks

 Good Read.

Link to ScottGu's Blog : JSON Hijacking and How AS

del.icio.us tags:

P.NET AJAX 1.0 Avoids these Attacks

Making Sense: Making Windows Live Writer work with Blogger Beta

Test post from Live Writer using the method described in the link below. Seems to work for me. yay! 

Link to Making Sense: Making Windows Live Writer work with Blogger Beta