DCSIMG
.NET - Arik Poznanski's Blog

Arik Poznanski's Blog

It CAN be done with .NET

News

MVP

MCC

CodeProject MVP

MCPD

MCTS

Subscribe to my blog by email

Arik Poznanski LinkedIn Profile

Email: arik.com at gmail dot com
or, use this form

Locations of visitors to this page


Sela Group

Sela Canada

DZone MVB

Links

Official Blogs

WPF / SL Blogs

Developers Blogs

Browse by Tags

All Tags » .NET (RSS)
Comparing Versions of a .NET Framework DLL Using NDepend
Following Build conference, many people may ask what is new in the .NET Framework. Well, you could find out by examining the documentation, but then you are limited to what it covers. If you want to know ALL that is new / updated in the .NET Framework, read on.. You can use the following method to easily find the difference between .NET Framework 4.5 and its previous version, .NET Framework 4.0! In this post I will show you how you can use the tool NDepend to compare two versions of a DLL which is...
Windows 8: What's New?
Got back from Build conference . Since I expect many people will ask me "So, what's new?" and since the answer is rather complex, I figured I should try to write a post about it, so here goes…   General Information Windows 7 sold (i.e. legal copies) over 450,000,000 copies since it was released. Windows 7 bypassed Windows XP in world usage. Windows 8 will be used primary for tablets and other touch-based devices. Windows 8 can run on Intel-based processors or ARM -based processors...
Order in Chaos: Handling unhandled exceptions in a WPF application
Introduction So you want to handle somehow all the unhandled exceptions in your application. Usually you want to accomplish one of the following: Log the exception for later diagnostics Present the user an unhandled exception UI, nicer than the default You heard there’s an event you should register, or maybe you find one by mistake, but is it the correct one? Did you know there are four (!) different events for handling unhandled exceptions in the .NET framework? So what is the difference between...
New C# Forum for the Israeli Developers Community
Following are some blog news: New Israeli C# Forum I'm proud to present a new MSDN forum in Hebrew for the C# developers community in Israel, managed by yours truly. The forum is available on the following link: http://social.msdn.microsoft.com/Forums/he-il/VisualCsharpil To all those nice developers who keep asking me C# related questions by mail, I strongly urge you to post your C# related questions on this forum. NOT because I don't enjoy it! On contrary, I love to help you and would even...
WPF: Dictionary Value Converter
What’s the story? You want to convert an enum value to a bitmap image. That’s easy, here’s a solution Usually you would simply create a new value converter which has some custom code (e.g. a switch –case statement) to convert from the enum value to the relevant image. Is there a better solution? How many times have you written this kind of converter, the kind that takes a value and maps it to another value? Well, no more! I present to you: DictionaryValueConverter . A Converter that lets you define...
Windows Ribbon for WinForms: FAQ
While working on the Windows Ribbon Framework I’ve came across many repeating questions from users. So I’ve decided to write a Frequently Asked Questions post regarding the Windows Ribbon Framework and its wrapper Windows Ribbon for WinForms . The questions were collected from the Windows Ribbon Development forum , Windows Ribbon for WinForms Discussions and from comments posted on my blog .   What are the supported platforms for the Windows Ribbon Framework? The Windows Ribbon Framework is...
Spelling and Grammar Checking Plugin for Windows Live Writer
Introduction In my previous post I’ve presented “ After the Deadline ”, a spelling and grammar checking web service and my . NET wrapper library . This library allows you to integrate spell and grammar checking in your .NET application. The library was written in C# using .NET 4. Also, back in this post , I’ve presented how one can use a .NET 4 DLL from a .NET 2 executable. All of this was just preparations for writing my own grammar checker plugin for Windows Live Writer . Now, I know what you’re...
How To Use a .NET 4 Based DLL From .NET 2 Based Application?
Introduction The official answer is you can’t. Even with the In-Process Side by Side execution (SxS) feature, introduced in .NET 4. The SxS feature was intended to be used when COM is involved. For example, if you got an application that loads plugins, like outlook, and it loads 2 COM plugins, one is using .NET 4 and the other is using .NET 2.0 then it will load two versions of the CLR into the process using the new SxS feature. What if I simply have a .NET 2 application or DLL that needs to access...
A Customizable WPF MessageBox
Recently I came across the need to customize the look of the standard message box in the application. To do this I’ve decided to create a new class named WPFMessageBox , which will have the same interface as the standard one, will behave the same way and finally would be fully customizable, the WPF way, using control templates. Following is the result of this effort. Note: In the image you can see an example for a message box customization. Of course you are limited only by your imagination. The...
WPF Single Instance Application – Update
Back in this post I’ve presented some code that make sure you only have one instance of your application. As I’ve said before, I didn’t wrote this code, I just presented it since I came across it in a Microsoft reference application and didn’t want this gem to remain hidden. Microsoft recently released a Windows 7 Recipe named “ Windows 7 Taskbar Single Instance ”, which despite its taskbar-related name is simply a revised implementation of the single instance feature in both .NET and C++. There...
Beginner’s Guide for Programming in C# - Hebrew
I've recently published a series of posts in Hebrew on the great site www.webmaster.org.il The posts can be used as a beginner's guide for programming in C#. Following are the links for the different posts: C# Guide - Part 01 – Installation C# Guide - Part 02 - First Program C# Guide - Part 03 - Input Output C# Guide - Part 04 - Basic Variables C# Guide - Part 05 - Arithmetic Operators C# Guide - Part 06 - Boolean Operators C# Guide - Part 07 - Binary Operators C# Guide - Part 08 - If Statement...
Flashcards.Show – Planning a Cross-Platform Solution
Following is another post by Yochay Kiriaty on a project I’ve done for Microsoft involving WPF, Silverlight, Windows Phone 7 and Windows Azure. If you’re interested in more details, make sure you come to my presentation at the coming SDP 2011 conference (in two days!). [Cross-posted from http://windowsteamblog.com/windows_phone/b/wpdev/archive/2011/03/03/flashcards-show-planning-a-cross-platform-solution.aspx ] I recently blogged about Flashcards.Show Version 2 for WPF, Silverlight, and Windows Phone...
Flashcards.Show Version 2 for the Desktop, Browser, and Windows Phone
Following is a great post by Yochay Kiriaty on a project I’ve done involving WPF, Silverlight, Windows Phone 7 and Windows Azure. If you’re interested in more details, make sure you come to my presentation at the coming SDP 2011 conference. [Cross-posted from http://windowsteamblog.com/windows/b/developers/archive/2011/02/17/flashcards-show-version-2-for-the-desktop-browser-and-windows-phone.aspx ] The Flashcards.show application has been around for few months now. It is mostly used as a developer...
WPF Behaviors & Happy New Year 2011
I have recently published a guide about Behaviors with WPF on the great site HWzone . My article was published as part of Microsoft’s & HWzone contest, announced not so long ago . In this article I show how to use behaviors both in Blend 4 and Visual Studio 2010 . In addition I present the steps needed in order to create a new behavior in WPF and show a working example of a behavior that adds a reflection effect to any FrameworkElement . The article is written in Hebrew. If there will be enough...
Order in Chaos: Dependency Property Value Resolution
One of the strength points for WPF is the ability to set a property value using a wide range of methods. Unfortunately, this variety makes it hard to understand how a WPF dependency property gets its final value. Hopefully this post will help organize this issue. This post is based on the comprehensive MSDN article “ Dependency Property Value Precedence ”. Long Story Short Can you show an example please? In order to see this in action let’s create a WPF application that has all these scenarios used...
More Posts Next page »