How to make Silverlight be AiR?

יום ראשון, אפריל 27, 2008

Today we’ll speak about three issues How to make Silverlight application to run as stand alone application and how to insert this application inside your application? How to escape Silverlight from it’s sand box (how to make it run in full trust mode) When first two items done, how to make Silverlight to access anyfile in your file system? Looks scary? Let’s see first reasons for those “hackery” targets....

Quick WPF Tip: How to bind to WPF application resources and settings?

יום שלישי, אפריל 22, 2008

You, probable know, that you can save application resources and settings within handy classes Settings and Properties, provided by Visual Studio code generator. Just put your values, set the usage scope and all you have to do is to save it upon request. This feature is really useful and great time saver. But how to use it from WPF? Visual Studio do not know to create Dependency Objects for setting and resource… Following the sample of...
4 תגובות

Localization fix for SAP ES Explorer for Visual Studio

יום חמישי, מרץ 13, 2008

A couple of days ago, new great product was released by SAP together with Microsoft. It named SAP Enterprise Services Explorer for Microsoft .NET (you can download sneak preview for free). It come to exchange SAP.NET Connector and enables to use SAP Enterprise Services as regular Web references or WCF services. This product still in beta, however there is already major issue - it does not work in localized version of Visual Studio. Neither 2005 nor 2008. Why this happens?...
9 תגובות

Some new post-mix downloads

יום שלישי, מרץ 11, 2008

Today is download day at MSDN. There are some very interesting things published. New release of Windows SDK (new classes for WPF 3.5, bugs fixes, and enhanced support for Windows Server 2008, including speech, error reporting and UAC). Download it here. For more information, visit SDK blogWindows XP SP3 RC2 (it's not final release), but if you want to try it (not in production environment) download it here. As well as if you are ready to harm your system. Give a...

Building custom user control in Silverlight 2.0 + how to build code snippet for VS as bonus

יום שישי, מרץ 7, 2008

Do you remember, that we have "go-live" for Silverlight 2.0 and already have build machines configured? Now it's time to build your very own custom control. Today, we'll build Range Slider. What is range slider? Range slider is a control, that lets you input two values, typically an upper and a lower bound. Normal slider just lets you input one value. So, we have new behavior here, thus we'll have to build our own control without reusing...

MSBuild tasks for build machines for WPF and Silverlight

יום חמישי, מרץ 6, 2008

Silverlight got go-life, so we should start preparing automatic build machines for new Silverlight projects. Actually, it is not too complicated, however, there are some new tasks should be taken into account.Output type of any Silverlight application is LibraryNew XML node specializing the output type of the library: SilverlightApplication with True valueAnother XML node, that specializing the output file type XapOutputs with True value. XAP is, actually, ZIP archive of all assemblies, used within the application.XAP file name can be set...
אין תגובות

Web editor performance fix for Visual Studio 2008

יום ראשון, פברואר 10, 2008

After VS2008 was released, there were a lot of "buzz" from web developers, that complain about bad performance of new HTML editor, especially with large HTML and JavaScript pages. Today Web Tools team of Visual Studio released patch, that fixes those issues Freezes while typing in page with custom controls Conversion between source code and designer view Very slow behavior, while opening large HTML document Visual...
אין תגובות

Stop subclassing and using Helpers – start Extension Methods

יום שישי, ינואר 25, 2008

How many classes, named Helper, you have on your hard disk? I counted, and I have 320. What is "Helper"? Helper - is static class, that consists of static methods, that provide simple services to your program. Good examples for such methods are public static string FormatTime(TimeSpan time)         {             return time.Hours.ToString("00") + ":" + time.Minutes.ToString("00") + ":" + time.Seconds.ToString("00");         }...
2 תגובות

How to merge help files to appear inside Visual Studio?

יום רביעי, ינואר 9, 2008

How many times after an installation of some SDK, you saw, that nothing has been merged into Visual Studio help. You press F1 and nothing happens? What to do? Actually, the answer is really stupid. You should go into Visual Studio Documentation (Programs->Visual Studio ->Visual Studio documentation), go to Index and set filter by property to (unfiltered) and then look for collection manager->help There you will find all help files installed in your system and now,...
אין תגובות

A couple of updates – mega update post

יום שישי, דצמבר 7, 2007

Today, only updates Yahoo finally releases Yahoo! Messenger for Vista - this was one of very first prototypes, shown in Mix last year. I did not install it, however, here a couple of review Erik Burke, Tim Sneath and Ryan Stewart. As for me, they lost "wow effect" last year Microsoft Expression Blend 2 - December Preview. What's new? VS2008 integration, inheritance, no SL2.0 support (strange, maybe, because of breaking changes toward near beta)    ...