-
One of the convenience features of the NetTiers Data Layer generator is the ability to generate enums from Lookup tables. However, to successfully generate an enum from a Lookup table, you must have a primary key column and your varchar or nvarchar look...
-
One of the finer details of C# grammar is the where keyword. It is used to put constraints on what Generic types can be used in a given situation. One of the things I had wondered about for the longest time was how to restrict the constraints to only...
-
Oftentimes, it is more convenient to group .NET Controls within an UserControl using the Designer mode of Visual Studio rather than go through the non-visual experience of creating a server control inheriting from the WebControl class. In the context...
-
Here are a few PowerShell scripts to list files in TFS. I'll post the C# port later, its straightforward. Note that TFS Power Tools now includes PowerShell cmdlets. Details here... #load the .net tfs api assemblies [system.reflection.assembly]::load...
-
Scenario: You, a spry programmer, don't want to hard code a file path in a Web Application, a sure recipe for code-breakage at some point in the future. And even better, you are using .NET UserControls to abstract your View layer into reusable components...
-
http://microsoftpdc.com 10/27/2008 Keynote Ray Ozzie, Amitabh Srivastava, Bob Muglia and David Thompson Dublin and .NET Services: Extending On-Premises Applications to the Cloud Jacob Avital Advanced,SharePoint,Azure A Lap Around the Azure Services Platform...
-
This was a "Pre Conference" Session with Mary Poppendeick (Poppendeick LLC) and Gregori Melnik from Microsoft's P & P Group presenting. Was a little slow at first and alot of rehashing of well know Agile concepts at first, but after...
-
I found a hash script recipe in the Windows PowerShell Cookbook and converted it to a file hash comparison utility. The original script, "Get the MD5 or SHA1 Hash of a File", can be found in recipe 17.10 of the book. The getFileHash script returns...
-
Held on April 20-23, it was an amazing experience to see so many passionate developers like us and learn so many leading edge Microsoft technology. If some of you might not be familiar with Developer connection event, let me give you a brief description...
-
The Problem: I was working with PLINQO objects and needed a way to inspect individual objects quickly for Debugging purposes and displaying detail information about the entity. The NetTiers framework had a nice feature where you could simply call .ToString...
-
Coding styles range the gamut, from cryptic coding that looks more like PhD-level text-messaging to code obsessively arranged beyond the point of any human reader’s utility. If code never needed to be shared or maintained by people other than the creators...
-
When you're working with stored procedures that return multiple records, sometimes it's useful to transform the stored procedure results into a table. This can be helpful during debugging and data analysis because it allows the results to be sorted...
-
A common task in ASP.NET is implementing communication for user controls. For example, if you have a web page that contains two user controls, how do you notify one control of a change in another? One technique is to use events to implement publish-and...
-
At present, Microsoft’s Expression Blend (using the March CTP 2.5) is the best way to graphically manipulate and generate a Silverlight UI. The SDK for Visual Studio 2008 does not provide support for manipulating Silverlight elements using the layout...
-
As you may or may have not noticed, I’ve dropped “Word of the Day” from my title – the result of the present-day lack of a feature in Microsoft’s LINQ to SQL and my oscillating affection for DIY (doing it yourself). To get a random record from a DataContext...