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


Developer: Utilizing .NET Generics to write better code by Shawn Weisfeld @ UT Dallas .NET UG on 02/27/2010

This Saturday (2/27) I will be giving my .NET Generics talk for the UT Dallas .NET UG in Richardson TX. If you are in the area please check it out ( If you cannot make it but are interested in seeing the talk, you can watch it online. Abstract: Generics let you tailor a method, class, structure, or interface to the precise data type it acts upon. In this session we will discuss what capabilities Generics provide to you the developer and how to use them in collections, and with delegates. We will also talk about creating your own generic classes and...

posted @ Wednesday, February 24, 2010 7:45 PM | Feedback (0) | Filed Under [ .NET C# ]

Property Causing a Stack Dump

Got a call today, someone was getting a stack dump every time they tried to assign a value to a property. Here is a screen print of the problem they were having. can you spot the problem? If you said that the property is calling itself you get a gold star.  What was happening is that every time we tried to set the Name property, it calls the Name property to set it, and that called the Name property, and that called the Name property, over and over again, till .NET stack dumped. We are missing a...

posted @ Tuesday, June 16, 2009 12:26 AM | Feedback (0) | Filed Under [ .NET C# ]

Populating a Generic List in VB.NET

Got a question on how to populate a generic list in VB.NET, and while I am a C# guy, I figured I would show some VB.NET love. For this example I will be using a customer class, he is real simple just 2 properties. One for first name and one for last name. 1: Public Class Customer 2:   3: Private _first_name As String 4: ...

posted @ Tuesday, June 16, 2009 12:17 AM | Feedback (3) | Filed Under [ .NET VB.NET ]

Couldn't attend MIX 09?

We are bringing MIX to the DFW area, but instead of repeating the MIX conference, we are boiling down the best of MIX into a 1-day hands on lab. This community event, called MIX Notes, will provide hands-on examples presented by industry leaders. Computers will be provided, but participants are welcome to bring their own laptops. Where:                                 Tekfocus (in the InfoMart) When:                                  June 20, 9 AM - 4 PM Registration Fee:   $25 * Lunch will be provided Sign up today at

posted @ Tuesday, May 19, 2009 12:23 AM | Feedback (0) | Filed Under [ .NET Event ]

Are you Coming to the Dallas Tech Fest 2009?

I will be speaking at the Dallas Tech Fest, but that should not prevent you from coming. . .    

posted @ Saturday, May 9, 2009 10:15 PM | Feedback (0) | Filed Under [ .NET Event ]

System namespace conflict in SAP web services

My colleague, Jerome Nicolas, found a solution the problem outlined below and since he doesn't have a blog and we thought this was some great information we decided to post it to mine. Hope it helps. Scenario: adding a web reference in Visual Studio to an SAP web service that was created from a remotely enabled function module with a table parameter associated type BAPIRET2. Problem: The ABAP object BAPIRET2 is typically used to return messages when calling a BAPI, but it contains a field named “SYSTEM” which can conflict with the System namespace in .NET. If you...

posted @ Friday, April 17, 2009 11:55 AM | Feedback (2) | Filed Under [ .NET SAP ]

What do your error messages reveal?

I know that most of you all know this already, but I figured it was worth a blog post since I just saw this from I got this very informative error message back when using their site earlier. . . Query Of Queries runtime error.Expected type STRING but encountered type NULL on the left of the LIKE condition  The error occurred in D:\INETPUB\wwwroot\content\Research\kbb\act_valueReport.cfm: line 74 Called from D:\INETPUB\WWWROOT\content\Research\kbb\index.cfm: line 2172 : 73 :  <cfmodule template="mod_kbbtable.cfm" width="#kbbModTableWidth#">74 :  <cfquery dbtype="query" name="qEquip">75 :  SELECT * FROM valueReport.Equipments WHERE GroupCode LIKE 'M' ORDER BY DisplayOrder76 :  </cfquery> While it is important for us...

posted @ Monday, March 9, 2009 12:46 PM | Feedback (0) | Filed Under [ .NET ASP.NET C# SQL VB.NET ]

A review of Professional DotNetNuke 5: Open Source Web Application Framework for ASP.NET from Wrox

A few weeks ago I got a copy of Professional DotNetNuke 5: Open Source Web Application Framework for ASP.NET ( Figured since I had been to presentations by 3 of the 5 authors I just had to have the book. Brian Scarbeau, Stan Schultes and Ryan Morgan are avid speakers in the Florida .NET community and knowing them I knew this book was going to be a good read. A cross country flight from Dallas Texas to Seattle Washington provided the perfect opportunity to concentrate on reading a new book. While waiting for my plane to take off I made...

posted @ Sunday, March 1, 2009 1:12 AM | Feedback (2) | Filed Under [ .NET ASP.NET DNN VB.NET ]

SharePoint WebServices are your friend

Ever wanted access to that treasure trove of information available in SharePoint lists scattered across your enterprise? Ever wanted to provide a quick and dirty UI for users to enter data, but need to have programmatic access to the data? Use SharePoint! SharePoint provides WebServices that give you access to just about everything you can think of ( For the purposes of this article I am going to use the Lists WebService to 1) get data from a list, 2) Add an item to the list and 3) Delete an item from the list. The first step is to add...

posted @ Tuesday, February 24, 2009 6:50 PM | Feedback (3) | Filed Under [ .NET Microsoft SharePoint WCF ]

Ramp Up

Microsoft has started a new program called Ramp UP ( “Ramp Up is a free, online, community-based learning program, with a number of different tracks that will help you build your portfolio of professional development skills. Ramp Up has a solid foundation of premium technical content from subject-matter gurus, and provides easy-to-access content in a variety of forms that guide you in learning the important skills.”At this time they have 6 tracks. . . SharePoint for Developers (Part 1) Visual Studio 2008 Aspiring Developer (migrating to VS 2005) Java Developer (migrating to VS 2005) VB 6.0 Developer (migrating to VS 2005) VS 2002/2003 Developer (migrating...

posted @ Tuesday, January 6, 2009 12:08 PM | Feedback (0) | Filed Under [ .NET C# Microsoft VB.NET ]

Full .NET Archive

Powered by: