Category Archives: .Net

Answering a Couple Scala.Net questions

Bill Wagner recently asked me a couple of Scala.Net questions after reading my recent blog posts. What is the debugging story for Scala.Net? A pdb file is required for debugging in Visual Studio, just like with C#. The pdb file … Continue reading

Posted in .Net, Scala | Comments Off on Answering a Couple Scala.Net questions

Scala XNA

One of the things that I thought would be a really cool demonstration of Scala.Net was to have an XNA application that was coded completely in Scala. I have mixed news on the subject. I did successfully get an XNA … Continue reading

Posted in .Net, Scala, XNA | Comments Off on Scala XNA

x86 .Net Assembly, Scala, and a x64 processor. Oh My!

While playing around with Scala.Net today I ran into an interesting problem. I was trying to build some Scala code against an assembly built for x86 and I got an exception when I ran the executable: Unhandled Exception: System.BadImageFormatException: Could … Continue reading

Posted in .Net, Scala | Comments Off on x86 .Net Assembly, Scala, and a x64 processor. Oh My!

Calling Scala from C#

Yesterday, I figured out how to call some C# code from Scala. It is a small leap to then call Scala from C#. The process just gets turned around: instead of creating a C# class library and referencing it from … Continue reading

Posted in .Net, C#, Scala | 3 Comments

Getting Started with Scala.Net

Reporting from the Programming Summer Camp in Crested Butte, Colorado. This has got to be one of the better places in the world to code. We had a great warm up bike ride this morning, then settled in for an … Continue reading

Posted in .Net, Scala | Comments Off on Getting Started with Scala.Net

Kinect: Getting Started

Microsoft released its Kinect SDK yesterday. It can be found here. I spent yesterday afternoon building my own sample application to explore the API and Microsoft’s samples. The API documentation is fairly comprehensive and the getting started guide is a … Continue reading

Posted in .Net, Kinect | Comments Off on Kinect: Getting Started

Parallel LINQ (PLINQ)

LINQ is getting an upgrade with .Net 4.0. Features are being added that allow us to easily execute queries in parallel. It gives us another reason to drop those odious for and foreach statements and use LINQ. .Net 4.0 introduces … Continue reading

Posted in .Net, C#, Linq | Comments Off on Parallel LINQ (PLINQ)

WPF LL: XML Binding and Data Converters

In the project I’ve been working on, we’re binding a bunch of controls to an XML document. In our bindings, we are extensively using XPath. One of the things that did not occur to me immediately, and seems very obvious … Continue reading

Posted in .Net, WPF | Comments Off on WPF LL: XML Binding and Data Converters

WPF Lessons Learned – Use ContextMenu.Items over ContextMenu.ItemsSource

I’ve been working on a WPF project for a client and have learned a lot in the process. I’d like to touch on some of these things. This first post will be about creating a ContextMenu. I’ve had to create … Continue reading

Posted in .Net, C#, WPF | Comments Off on WPF Lessons Learned – Use ContextMenu.Items over ContextMenu.ItemsSource

Study Group – WPF

For the last two weeks Anne Marsan has led study group. Both of her sessions were about WPF and she led them by writing up instructions on how to produce a project that illustrated what she wanted to teach. Her … Continue reading

Posted in .Net, Study Group, WPF | Comments Off on Study Group – WPF