Shawn Weisfeld

I find when I talk to myself nobody listens. - Shawn Weisfeld
posts - 365, comments - 180, trackbacks - 34

My Links


Shawn Weisfeld's Facebook profile

The views expressed in this blog are mine and mine alone, not that of my employer, Microsoft, or anyone else’s. No warrantee is given for the quality of any material on this site.


Post Categories

June 2011 Entries

HTTP POST to RESTful WCF Service from a .NET Client

Playing with the WCF REST Template today ( Good Stuff. When you create a new project with the template it gives you a service called “Service1” we are going to use this guy with 1 minor change. In the “Create” method set it to echo back the object that was passed to it. [WebInvoke(UriTemplate = "", Method = "POST")] public SampleItem Create(SampleItem instance) {     return instance; } Ok now lets get...

posted @ Wednesday, June 29, 2011 5:31 PM | Feedback (1) |

Convert PNG to XAML in 3 easy steps

  Yes, even you can do them Robert. . . . . Step 1: use this ( website to convert your PNG to a PDF Step 2: rename the .PDF to .AI Step 3: open in Expression Design and export as XAML

posted @ Friday, June 24, 2011 4:48 PM | Feedback (1) |

Upgrade your Orchard Site in less time it takes to eat breakfast

As you might know I have been working on the website, and I am using the new free Open Source Content Management System from Microsoft, Orchard ( Noticed the other day that they have released version 1.2 and I was running 1.1, I thought to myself, self I should upgrade. 1) First things first, time to back up my local environment. I keep a copy of the site running on my laptop. I use WebMatrix with IIS Express and a copy of SQL Server running locally to develop. So before doing anything I made a backup of my local...

posted @ Friday, June 17, 2011 7:52 AM | Feedback (0) | Filed Under [ Orchard CMS ]

LINQ Regular Join vs. Outer Join

Was asked to put together a quick and dirty sample of doing a join in LINQ. . . . Here are some setup classes that I am going to use: 1: public class MyDto 2: { 3: public int CustomerId { get; set; } 4: public string CustomerName { get; set; } 5: public string ItemId { get; set; } 6: public string ItemName { get;...

posted @ Tuesday, June 14, 2011 11:31 AM | Feedback (0) | Filed Under [ LINQ ]

Powered by: