Archives for: October 2009

10/29/09

Permalink 08:46:53 pm, by truewill Email , 17 words, 201 views   English (US)
Categories: Announcements [A], .NET, Windows, Tools, PowerShell

PowerShell 2.0 is out!

And available for Windows XP, too!

See Windows Management Framework is here! on the Windows PowerShell Blog.

10/13/09

Permalink 08:04:50 pm, by truewill Email , 73 words, 277 views   English (US)
Categories: Tips, TFS, Windows, Security

Fix for some Windows Authentication issues

Having trouble connecting to Outlook, TFS, or anything that uses Windows Authentication? Always getting prompted for your password?

Windows may be caching an old password.

Go to Start –> Run and type: control keymgr.dll

It will open a window that has your saved passwords. Remove anything in there that you don’t want.

Thanks to Justin and Joe at work for this tip!

(Tried under Windows XP Pro; use at your own risk.)

10/12/09

Permalink 07:54:05 pm, by truewill Email , 25 words, 214 views   English (US)
Categories: Testing, C#, .NET, Tools, ReSharper

Details on ReSharper 5

JetBrains posted a ReSharper 5.0 Overview on their blog. While the Inspections are going to be great, I’m particularly looking forward to 100% compatibility with NUnit.

Drool.

10/10/09

Permalink 01:03:35 pm, by truewill Email , 26 words, 160 views   English (US)
Categories: Announcements [A]

I broke 2,000 reputation on Stack Overflow!

Woohoo! :)

I can edit other people’s posts now. It’s like gaining another level in D&D!

Stack Overflow is far too addictive…

 - TrueWill

10/08/09

Permalink 08:30:22 pm, by truewill Email , 264 words, 380 views   English (US)
Categories: Tips, C#, .NET, Windows, Tools, WTF

Drinking the DevX Kool-Aid

The current standards of the company I work for state that Developer Express controls will be used instead of Microsoft FCL controls on all deployed WinForms applications. This has caused some grief in the past. One tool vendor for GUI testing supported only FCL controls without expensive customization. New hires aren’t familiar with the controls. Since we develop in-house software, DevX version upgrades require GAC deployments of the redistributable assemblies. Our shared assemblies that depend on DevX must be kept in sync. The third-party controls do not appear to be tested as rigorously as the Microsoft controls. And common properties are sometimes difficult to find, buried under options properties.

The controls (the grids in particular) do have some nice features. But there are drawbacks.

Today I was trying to data-bind a collection of objects to a DevX grid. The objects had properties of an enumerated type. I wanted to display the value of the DescriptionAttribute for the enum columns. After asking around and searching, I posted the question on Stack Overflow and got a great response from Marc Gravell. It works beautifully with Microsoft’s DataGridView.

Unfortunately it does not work with the DevExpress.XtraGrid.GridControl. And Developer Express “are not going to implement this feature”. Why? Because it’s not as performant. The company offers an alternate solution, which involves setting two properties for every affected grid column. The original Microsoft solution could be applied with an attribute on the enum type or on the bound-class property.

I’m not advocating using only FCL controls. Just be aware of the trade-offs inherent in using third-party ones.

Development Central

Development Central is the blog of Bill Sorensen, a professional software developer. Much of this will relate to C#, .NET, and OOP in general.

Disclaimer
These postings are provided "AS IS" with no warranties and confer no rights.

Search

Categories

Linkblog

b2evolution

contributors

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 2

powered by b2evolution free blog software