First Guide to MEF & Silverlight (Part–I) |
- First Guide to MEF & Silverlight (Part–I)
- Microsoft Silverlight 4 and SharePoint 2010 Integration by Packt Publishing : Book Preview
- Silverlight On Mobile : Ink Capabilities on Windows Phone 7
- More Versioning Fun With Optional Arguments
- The Weekly Source Code 56 - Visual Studio 2010 and .NET Framework 4 Training Kit - Code Contracts, Parallel Framework and COM Interop
- Versioning Issues With Optional Arguments
- How to Post Code To Your Blog and other Religious Arguments
- Windows Client Developer Roundup 036 for 8/9/2010
- Optional named parameters work pretty well
- Orchard 0.5 is out
- Web Farm Framework 2.0 beta released!
- Creating Copies of Attributes
- Announcing the OData Helper for WebMatrix Beta
- Balder - vertex colors
- We are Hiring!!
- Silverlight Cream for August 13, 2010 -- #924
- Pano versus Pivot: Windows Phone Design Days content available
- Video Introduction to the STL, Part 3
First Guide to MEF & Silverlight (Part–I) Posted: 14 Aug 2010 04:58 AM PDT MEF is a framework to extend your application and was introduced in .Net Framework 4.0 and Silverlight 4.0. Recently I got a chance to look around the MEF with Silverlight. I found it useful in various scenarios and thus thought to do something with MEF...( read more )...(read more) |
Microsoft Silverlight 4 and SharePoint 2010 Integration by Packt Publishing : Book Preview Posted: 14 Aug 2010 11:18 AM PDT I am more than happy to share that the book which keep me involved so much from past few months,finally got published and also now available on Packt Publishing and Amazon . Yes ! I am one of the Reviewer of this book with my fellow friends Marius Constantinescu...( read more )...(read more) |
Silverlight On Mobile : Ink Capabilities on Windows Phone 7 Posted: 14 Aug 2010 05:18 AM PDT Hope my last post on Charting on Windows Phone 7 went well for you and you must have explore that in depth. Today I am going to talk on Ink capabilities on Windows Phone 7. As you all know, Ink capabilities is nothing new to us, I have already made 2...( read more )...(read more) |
More Versioning Fun With Optional Arguments Posted: 12 Aug 2010 02:26 PM PDT In my last blog post , I covered some challenges with versioning methods that differ only by optional parameters. If you haven't read it, go read it. If I do say so myself, it's kind of interesting. ;) In this post, I want to cover another very subtle versioning issue with using optional parameters. At the very end of that last post, I made the following comment. By the way, you can add overloads that have additional required parameters. So in this way, you are in the same boat as before. However, this can lead to subtle bugs. Let's walk through a scenario. Imagine that some class library has the following method in version 1.0. public static void Foo( string s1, string s2, string s3 = "v1" ) { Console.WriteLine( "version 1"...(read more) |
Posted: 12 Aug 2010 02:07 AM PDT Do you like a big pile of source code? Well, there is an imperial buttload of source in the Visual Studio 2010 and .NET Framework 4 Training Kit . It's actually a 178 meg download, which is insane. Perhaps start your download now and get it in the morning when you get up. It's extremely well put together and I say Kudos to the folks that did it. They are better people than I. I like to explore it while watching TV myself and found myself looking through tonight. I checked my blog and while I thought I'd shared this with you before, Dear Reader, I hadn't. My bad, because it's pure gold . With C# and VB, natch. Here's an outline of what's inside. I've heard of folks setting up lunch-time study groups and going through...(read more) |
Versioning Issues With Optional Arguments Posted: 10 Aug 2010 10:32 AM PDT One nice new feature introduced in C# 4 is support for named and optional arguments . While these two features are often discussed together, they really are orthogonal concepts. Let's look at a quick example of these two concepts at work. Suppose we have a class with one method having the following signature. // v1 public static void Redirect( string url, string protocol = "http" ); This hypothetical library contains a single method that takes in two parameters, a required string url and an optional string protocol . The following shows the six possible ways this method can be called. HttpHelpers.Redirect( "http://haacked.com/" ); HttpHelpers.Redirect(url: "http://haacked.com/" ); HttpHelpers.Redirect( "http...(read more) |
How to Post Code To Your Blog and other Religious Arguments Posted: 09 Aug 2010 05:28 PM PDT If you've got a programming blog, chances are you'll want to post some code snippets. Posting code sounds easy but it's surprisingly tricky if you consider all the ways that people will be reading your blog. There's a number of ways. Here's a few and their pros and cons . Copy Paste from your IDE (like Visual Studio, for example) If I copy paste directly from VS into my editor of choice, Windows Live Writer, I'll get a <pre> section. using System; namespace WindowsGame1 { #if WINDOWS || XBOX static class Program { /// <summary> /// The main entry point for the application. ...(read more) |
Windows Client Developer Roundup 036 for 8/9/2010 Posted: 09 Aug 2010 03:58 PM PDT This is Windows Client Developer roundup #36. The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers, including WPF , Silverlight , Visual C++, XNA , Expression Blend , Surface , Windows 7, Windows Forms, Windows Phone and Visual Studio, WCF RIA Services , sometimes even a little jQuery and HTML5. If you have something interesting you've done or have run across, or you blog regularly on the topics included here, please send me the URL and brief description via the contact link on my blog. WPF and Silverlight General WCF RIA Services Part 4 - MVVM (Brian Noyes) WPF: Introducing the MVVM pattern for VB2010 developers - part 7 (Alessandro Del Sole) Unit Testing XAML Data Bindings in Silverlight...(read more) |
Optional named parameters work pretty well Posted: 08 Aug 2010 11:36 PM PDT Rob has found a use for dynamic: http://blog.wekeroad.com/2010/08/06/flexible-parameters-with-csharp Yay! Let's celebrate! Well, I was a little puzzled because I don't think it quite adds up in the specific example he chose (although please see no aggressiveness here: Rob's a friend; peace!). The idea is to have the same flexibility that a dynamic language can offer in terms of evolution of an API. Here's his original Ruby example: def my_method(args) thing_one = args["thing1"] thing_two = args["thing2"] end my_method :thing1 => "value", :thing2 = Time.now The idea, which is quite common in dynamic languages, is that instead of passing a list of predetermined parameters in a specific order, you...(read more) |
Posted: 05 Aug 2010 02:53 PM PDT Before I joined Microsoft seven years ago, I had spent a couple of years building a Web CMS. It wasn't open-source unfortunately but the experience convinced me that most public-facing web sites would shortly use some form of CMS. I also forged strong opinions about the right level of component granularity that a CMS must implement. For the last year and a half, I have been fortunate enough to work with a talented small team within ASP.NET and with a growing community from all around the world on building a new Web CMS on top of ASP.NET MVC. Today I am very happy to invite my readers to check out some of the results of that work: earlier this week, we released version 0.5 of Orchard . We are far from being done, but this is an important milestone...(read more) |
Web Farm Framework 2.0 beta released! Posted: 05 Aug 2010 01:09 PM PDT Last week my team released a super powerful update to our Web Farm Framework project aimed at dramatically simplifying the complexity of managing a Web farm (many computers running one or more Web sites). Web Farm Framework 2.0 (WFF) allows users to not only setup groups of servers and define routing rules using the built-in routing and load balancing support in ARR , but extends the management support to include many new powerful experiences, including: Automatic platform setup and provisioning of new nodes WFF integrates with Web Platform Installer and will automatically install all the required components to mirror the master node Application replication and synchronization across the Web server farm WFF integrates with Web Deploy and...(read more) |
Posted: 05 Aug 2010 09:36 AM PDT I've been working on a lovely little prototype recently but ran into a problem where my code receives a collection of attributes and needs to change them in some way and then pass the changed collection along to another method that consumes the collection. I want to avoid changing the attributes directly, because when you use reflection to retrieve attributes, those attributes may be cached by the framework. So changing an attribute is not a safe operation as you may be changing the attribute for everyone else who tries to retrieve them. What I really wanted to do is create a copy of all these attributes, and pass the collection of copied attributes along. But how do I do that? CustomAttributeData Brad Wilson and David Ebbo to the rescue! In...(read more) |
Announcing the OData Helper for WebMatrix Beta Posted: 04 Aug 2010 04:05 PM PDT I'm a big fan of working smarter, not harder. I hope you are too. That's why I'm excited by the helpers in WebMatrix which are designed to make your life easier when creating websites. There are a range of Helpers available out of the box with WebMatrix – you'll use these day in, day out when creating websites – things like Data access, membership, WebGrid and more. Get more information on the built-in helpers here . It's also possible to create your own helpers (more on that in a future blog post) to enable other people to use your own services or widgets. We are are currently working on a community site for people to share and publicize their own helpers – stay tuned for more information on that. Today we...(read more) |
Posted: 14 Aug 2010 12:16 AM PDT I've been working lately on a demo that is for gaming a lot more realistic than the spinning teapot or box that one sees in the sample browser for Balder. A friend of mine Peter Rosenlund gave me a 3D model of a city that I can use for that (thanks a...( read more )...(read more) |
Posted: 10 Aug 2010 02:23 PM PDT Our team is focused on delivering the ASP.NET framework as well as the tools required for web development including Visual Web Developer Express and web application development part of Visual Studio. If you have the skills and the passion, want to work on web based technologies, and you're looking for challenge in a fun and fast environment you should consider joining us! The Web Platform and Tools team is looking for smart, highly motivated and experienced testers who can help our team test the next generation of tools and runtime technologies. The candidates who fill these roles are expected to become an expert at building, testing and using web based technologies. The ideal candidate should be a self-starter and have the ability to...(read more) |
Silverlight Cream for August 13, 2010 -- #924 Posted: 13 Aug 2010 10:34 PM PDT In this Issue: Michael Washington , Mickael Chambaud , Colin Eberhardt , Jeff Wilcox , John Papa , Jesse Liberty , Karsten Januszewski , Kunal Chowdhury ( -2- ), and Tim Heuer . Shoutout: David Anson posted his Updated collection of great Silverlight...( read more )...(read more) |
Pano versus Pivot: Windows Phone Design Days content available Posted: 13 Aug 2010 04:13 PM PDT One of the biggest discussions I started getting into when Windows Phone development was announced to the world was sparked with this single question I posed to our internal Windows Phone developer teams: What is the use case for when you would want to...( read more )...(read more) |
Video Introduction to the STL, Part 3 Posted: 13 Aug 2010 05:34 PM PDT The third part of my video lecture series introducing the Standard Template Library is now available, following Part 1 and Part 2 . Part 3 covers unique_ptr , shared_ptr , and exception handling (briefly). It explains my solution to the container erasure...(read more) |
You are subscribed to email updates from "microsoft" via ehsan in Google Reader To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
No comments:
Post a Comment