Pete Brown's Blog (POKE 53280,0)
Pete Brown writes on a variety of topics from .NET programming using WPF, Silverlight, XNA, and Windows Phone, to raising two children in the suburbs of Maryland, to woodworking, CNC and generally "making real stuff". Oh, and Pete loves retro technology, especially Commodore (C64 and C128). If the content interests you, please subscribe using the subscription link to the right of every page.
Archive for tag:
.NET
-
We've all been busy on our various sites. Earlier this year, we
put out an overall redesign for MSDN. Yesterday, the asp.net site
team went live with a redesign to the asp.net site (looks awesome,
btw). Also yesterday, we went live with the redesigned Windows Developer Center on MSDN.
The team really pulled out all the stops in making this a
beautiful and usable site. From a visual design sta...
-
I've recently posted a few articles here
on my site. You may wonder why articles and not blog posts?
One problem I ran into on my previous site was the dating of
content that could be updated over time. You often run into this
with regular blog sites as well. I strongly dislike going back and
editing old blog posts, as the blog format wasn't really intended
for that. Blog posts should be accu...
-
I just published a new article on how to get started learning WPF or Silverlight. If
you're new to either of these technologies, this could be a great
resource for you.
Article: How to Get Started in WPF or Silverlight:
A Learning Path for New Developers
-
With your help, I've just put up a new article on the essential
tools every client developer should have in their toolbox. If
there's a tool (not a library/framework - that'll come next) that
you use during your client development, please go ahead and comment
on the article and let me know.
Article:
The Essential WPF/Silverlight/XNA Developer and Designer
Toolbox
-
This is Windows Client Developer roundup #15. I had so much to
send out this week, I decided to do a special edition.
I'll be at MIX10 next week. Be sure to watch the keynote
at MIX (usually broadcast live), as well as the sessions once they
are posted (typically by the end of the week). Stay tuned to the MIX
website.
The Windows Client Developer Roundup aggregates information of
i...
-
Yesterday I blogged about using the special "Item[]" property
name in the PropertyChanged event for a custom ObservableDictionary class.
What I didn't know was whether or not the Item[] property name
was effectively a change notification for every single binding
target, or just the current one. I suspected it did it for every
binding (I even tried specifying a key inside the brackets, ...
-
I saw this tweet in my Windows Client tweetstream today:
I thought, "what a good idea for a sample." I know that binding
in WPF and
Silverlight
can be a challenge, especially if you're new to the technology. It
can be even more difficult when you're working with an edge case
like binding using indexers.
So, here's a quickie on binding to a Dictionary<TKey,
TValue> in WPF...
-
WPF and
Silverlight
allow you to bind to property indexers by string key or numeric
index. For example:
<TextBox Text="{Binding [field1], Mode=TwoWay}" />
<TextBox Text="{Binding Fields[field1], Mode=TwoWay}" />
<TextBox Text="{Binding [15], Mode=TwoWay}" />
If you're creating the data source for those (for example, you
are building your own ObservableDiction...
-
This is Windows Client Developer roundup #14.
This is my first Roundup on my new blogging platform. Please check out the
site and let me know what you think, what could be better etc.
The Windows Client Developer Roundup aggregates information of
interest to Windows Client Developers, including WPF, Surface, Windows 7, XNA,
Windows Forms, Silverlight and Windows Phone.
If you have s...
-
The WPF
Text team has been really busy this release. Not only did we have
the huge text improvements early on from the complete rewrite to a
DirectWrite-based text stack, but now they've tweaked the WPF text rendering to be even
better, especially on high-contrast light-on-dark
scenarios.
Can you tell the difference between the GDI VS2008 text
rendering and the new WPF GDI-compat...
-
I can't wait to get my hands on a Windows Phone to do some real
development. If you've read Charlie Kindel's post, you know that the
developer story builds on .NET, Silverlight and XNA (among others).
It wasn't always that way, though.
A little History
When I picked up my first Windows CE device, a Sharp Mobilon
HC-4000, it was big (like a super fat checkbook), clunky and
mon...
-
I was looking for a screenshot of an old app I wrote, and I ran
across this code from 2001. This is the shortest .NET program I
ever wrote.
Intermediate Language (IL) was new to us back then, so many of
us tried writing simple programs in it just to try it out. The
whole solution consists of three files: the resulting EXE, the
source IL and a batch file to do the compilation:
T...
By: Pete Brown |
Tagged:
.NET |
-
It's after 5am and I'm still up. Why? I just completed standing
up the blog portion of my new site and I'm pretty excited.
The full site migration is far from over, but the bones are
there, and the blog content has been all moved over.
New Site
My blog (first picture below) has had roughly the same look for
a number of years now. I've updated the background and the header
graphic...