Geeks With Blogs

News

View Anthony Trudeau's profile on LinkedIn

Add to Technorati Favorites


Anthony Trudeau .NET Topics related to .NET technologies.
Binding Multiple Selection in RadListBox
Telerik quietly added a feature to their WPF RadListBox in their 1Q 2015 update that is coincidentally a feature I needed in a current project. The feature is the ability to bind the selected items in the RadListBox. The Problem The out of the box ListBox as well as Telerik’s RadListBox both have a SelectedItems property. Unfortunately, for whatever reason neither support binding to the property. My current project is a WPF Prism application with specialized module loading. The application will live ......

Posted On Monday, March 9, 2015 10:16 PM

RegionManager missing from Namespace?
I struggled with an error in my XAML on a new project this weekend. The error is a design time error. That is, my project compiled and ran perfectly. But, the designer had the error: The name ‘RegionManager’ does not exist in the namespace “http://www.codeplex.com/pr... This occurred in Visual Studio 2012 with the Prism 4.1 libraries that were especially compiled against .NET Framework 4.5. And that annoyingly had to be modified and resigned for the appropriate version of the Unity 3 library. It ......

Posted On Tuesday, October 1, 2013 9:48 AM

EF Doesn't Like Same Named Tables
It's another week and another restriction imposed by the Entity Framework (EF). Don't get me wrong. I like EF, but I don't like how it restricts you in different ways. At this point you may be asking yourself the question: how can you have more than one table with the same name?The answer is to have tables in different schemas. I do this to partition the data based on the area of concern. It allows security to be assigned conveniently. A lot of people don't use schemas. I love them. But this article ......

Posted On Tuesday, July 2, 2013 9:17 PM

Stored Procedures in Entity Framework 6
I've been working with the alpha version of Entity Framework 6 (EF6) for a short time now. I'm using EF6 in a real-world project currently under development. I don't make it a habit of using pre-release software for projects like this. However, the ability to map modifications (insert, update, and delete) to stored procedures is just what I need. I wanted to use an ORM solution and I've used and liked EF for other projects since POCO support became more well-rounded.I want to point out the shortcomings ......

Posted On Tuesday, May 28, 2013 9:32 PM

Timestamp to String
The SQL Server TIMESTAMP data type is represented as a byte array in the .NET Framework (byte[] in C#). You may have the need for any number of reasons to provide a representation of the timestamp that can be displayed to the user or for debugging purposes. This may seem complicated at first glance, but the .NET Framework already includes methods to complete the operation in a few lines of code. The only trick that you need to know is if the helper object treats the bits as big endian or little ending ......

Posted On Saturday, January 5, 2013 7:41 PM

Exit Infragistics, Enter Telerik
Today I made the purchase of the Premium Collection of components from Telerik. This follows an evaluation I’ve been doing to replace the Infragistics components we currently use for Windows Forms, ASP.NET MVC, and WPF. It was not a formal evaluation. I had already decided to move the company away from Infragistics. That decision was mostly born out of frustration with support over using the Infragistics components in my first production MVC application. One such issue was a simple scenario where ......

Posted On Wednesday, June 27, 2012 4:27 PM

Copyright © Anthony Trudeau | Powered by: GeeksWithBlogs.net