7 February 2012 0 Comments

Top 10 Microsoft Developer Links for Tuesday, February 7th

Alan Berman: Start Coding for the Kinect Peter Vogel: ASP.NET – Empowering Your Master Pages Keith Ward: Proof of Unit Testing’s Time Savings Morten Nielsen: Why Custom Controls are underrated Eric Lippert: What is "binding" and what makes it late? Hans Boehm: Threads and Shared Variables in C++11 MSDN Blogs: Speech Recognition using Visual Studio: Determining the BNA Brian Rasmussen: Implementing a Code Action using Roslyn Martin Beeby: Why Don’t you need to close tags in HTML5?

Tags: , ,
24 February 2010 0 Comments

VS2010 – Cecha Dnia – IntelliTrace

Debugger w Visual Studio 2010 znacząco się zmienił.

Tags: , , , , , , , , , , , , ,
2 September 2009 0 Comments

UI without code or XAML: PropertyGrid, DataForm, etc.

WPF has certainly advanced the state-of-the-art in programming the UI. I personally think that WPF and Silverlight remove all the limits that existed to UI development in the past

31 August 2009 0 Comments

BizTalk coding and design practices – some thoughts

I am sharing some generic points based on my learnings, one should keep in mind while coding and designing BizTalk solutions. Here we go: ·       Follow standard naming conventions for BizTalk artifacts: This is one area which may seem a minor point in the beginning but as the solution grows larger it plays an important role in maintaining the solution. It is a good idea to maintain a guidelines document that everybody on the development team must walkthrough so that there is a consistency across the project in terms of maintaining a standard.

28 August 2009 0 Comments

[PL] Jak programować Microsoft Surface

Microsoft Surface jeszcze nie jest dostępny w naszym kraju (przynajmniej z pierwszej ręki), ale już można poczuć trochę jak się pisze na niego aplikacje (i przy okazji zaatakować nimi te rynki gdzie już Surface jest dostępny).

26 August 2009 0 Comments

Will you come to SharePoint Conference 2009?

If you will, put these pics on your blog, on your web sites, or on wherever you want! It’s time to social!

24 August 2009 0 Comments

Why doesn’t my XAP load on a cross-domain page?

Why doesn’t my XAP load on a cross-domain page?  Probably because you’re not setting the mime-type of the XAP to “application/x-silverlight-app”. What’s the point of this restriction?  Well, we found during the development of Silverlight 2 that threats involving a Bad Guy loading a good XAP on his own domain were a bit subtle and non-obvious.  It’s common to use the HTML bridge (HtmlPage class) to chat back and forth with JavaScript.  As a developer does this, she’s rarely thinking about what might happen if the page is malicious.  Yes, this is somewhat mitigated by the ExternalCallersFromCrossDomain attribute, but this only protects against the bad JavaScript calling into the XAP directly.  There’s still the problem of the XAP calling out to a JavaScript function with potentially sensitive information.  So, we demand to see a special mime-type on the XAP to ensure that’s what the author intended. We were also worried that sites allowing users to upload arbitrary content would now need to check for files that look like XAP.  We really wanted to make sure that web developers and webmasters don’t need to read all about Silverlight just to make sure it can’t attack their site, even if they never plan to use it.  By demanding to see the mime-type, Silverlight knows that the web server knows what a Silverlight application is

14 August 2009 0 Comments

XML Serialization: Using XML files to persist data

Something that’s pretty common is to load and export data from applications to settings or data files. I’m going to be concentrating on the scenario in which you have some sort of data structure that you want to save or load the whole contents of the structure to an XML file. There are several methods to do this:   1)       Using DataSets and their WriteToXML and ReadXML methods.

6 August 2009 0 Comments

Copy ‘n’ Paste from PDF files generated from SQL Server Reporting Services

Over the last months I’ve seen more and more customers inquiring about issues when trying to Copy text from PDF files exported from Reporting Services reports and Pasting it into other documents. The issue they were complaining about makes so that pasting of the text fails and instead of the expected text they only get ‘???????’ characters. Especially, some of the users have noticed a change in behavior related to this feature after installing CU6 for SQL Server 2005 SP2; reports that supported this functionality before this package was installed, suddenly stopped working.

4 August 2009 1 Comment

The feline, it has escaped the fabric based containment pouch!

One of the things I’ve been wanting to do for a while is put Isochronous transfer support back in to the 1394 Hybrid sample.  Now that Windows 7 has shipped and we’re picking up projects we want to do during this period of product transitions, I felt the time was right to start this up.  All happened to dove tail nicely with the implementation of Direct I/O support which was added to UMDF 1.9 allowing me to essentially kill two birds with one stone.  What we’ll end up with is a nice sample of how to handle a variety of good examples of how to handle I/O flow through this hybrid driver stack as well as have a demonstration of Isochronous transfers for 1394 devices again.  Hooray us! So, I’m happy to report that work has begun on said project, and as a result I’ll have some tidbits, details and follies to present to you along this path of coding fun in the coming weeks.   Now Playing – Geddy Lee My Favorite Headache

30 July 2009 0 Comments

HWTSAM Video Podcast – Chapter 3

Ken and Bj and I are back with another video recap of a chapter from hwtsam .

29 July 2009 0 Comments

JPEG XR is Now an International Standard

I’m very excited to share the news that JPEG XR is now an approved ISO/IEC International standard.  (It’s official designation is ISO/IEC 29199-2.)  In addition, JPEG XR has also been approved as ITU Recommendation T.832.  You can find more information in the press release from the JPEG Committee . As I’ve discussed in previous blog posts here, JPEG XR is the standardized incarnation of HD Photo, an innovative new format for digital photos developed at Microsoft, and first shipped in  Windows Vista.  There are a few minor differences between HD Photo and JPEG XR; these changes were the result of some excellent work by the JPEG Committee that helped insure the highest possible quality for the approved standard. JPEG XR offers some dramatic benefits when compared to the original JPEG file format that we all know and love: Better compression – JPEG XR offers improved efficiency compared to JPEG, and the type of compression artifacts are often less objectionable than the typical JPEG compression artifacts.  JPEG XR offers a very wide range of compression levels, including perceptively lossless or mathematically lossless compression.  Regardless of your requirements, JPEG XR probably offers a compression option that’s ideal for that scenario