Recent Posts

3
Comments

Surface Tablets: The Price Must Be Right by smehaffie

After watching the video of the announcement about the new Surface tablets and comments by other users I wanted to add my thoughts to the discussion. Balmer stated that sales of the surface tables will only be a small percentage of tablet sales. I personally...
15
Comments

MS Expression Web 4 SuperPreview – Big Disappointment by smehaffie

I just downloaded Expression 4 and expected to see some improvements in the Web4 SuperPreview application.  The one main function I was expecting to be in this release is the ability to enter data and click on links so pages of the sites could be...
1
Comments

MS Ajax Libraries and Configured Assemblies by smehaffie

Use Case You have a brand new IIS servers that has .Net 3.5 installed and are migrating sites to the new servers. In the process of migrating sites you come across some sites that get an error about the version of AJAX libraries being references in the...
0
Comments

Worthless Anti-Spam (What can we learn) by smehaffie

I recently can across a site that had a “anti-spam” field at the bottom of the entry from. The first issue I had with it was that at 1280X800 you could not read the value you were suppose to enter (see below). You tell me, should you enter div, dlv, piv...
5
Comments

Calling Web Services That Use Self-Signed Certificates by smehaffie

When you try to call a web service that uses a self-signed certificate from a client application you get the following error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. This make sense...
0
Comments

LINQ TO SQL and PLINQO by smehaffie

From my limited experience with the EF and “LINQ To SQL” I have to agree that “LINQ To SQL” is the way to go if you application or web site only needs to connect to SQL Server databases.  “LINQ To SQL” pretty feature rich as it is and although there...
5
Comments

Escaping/Unescaping XML Data by smehaffie

With as popular as XML is, when creating XML files you need to be able to escape certain characters that will not parse correctly if they are not escaped. Until recently I always did this like most other .Net programmers, I wrote a function to do it....
Filed under: ,
0
Comments

Selected Version Property - .Net References by smehaffie

When you work on a team that is working on a single project this setting comes in really handy so builds do not break. The best use for it is when there are some 3rd party tools where all the team members might have had a chance to upgrade to the latest...
Filed under:
19
Comments

Random Number in C#, Be careful of some of the samples you find. by smehaffie

I recently came across this code on the internet for generating a random number with C#. 1: private static int RandomNumber( int min, int max) 2: { 3: Random random = new Random(); 4: return random.Next(min, max); 5: } The problem with this code is that...
Filed under: ,
48
Comments

Social Networking Links using “AddThis” In Community Server Based Blogs by smehaffie

With the popularity of “Social Networking” it is becoming a popular feature to make it easy for user to Bookmark/Share blogs, articles, etc that they read online. Since this feature is not built into Community Server, you have to implement this yourself...
More Posts