Wednesday, March 2, 2011

Filtering in ASP.NET MVC

Filtering in ASP.NET MVC


Filtering in ASP.NET MVC

Posted: 02 Mar 2011 11:50 AM PST

In ASP.NET MVC, controllers define action methods that can be mapped to user interactions. When you want to perform logic either before an action method is called or after an action method runs, ASP.NET MVC provides filters. Filters are custom classes that provide both a declarative and programmatic means to add pre-action and post-action behavior to controller action methods.

Color Highlighting in Visual Studio XAML page using ReSharper 6

Posted: 02 Mar 2011 12:09 AM PST

You all might know about ReSharper tool. The current stable version of ReSharper is v5. The ReSharper team is currently working on their development to release the next version of ReSharper i.e. v6.   The new version of ReSharper has some cool new...( read more )...(read more)

SilverlightShow for Feb 21 - 27, 2011

Posted: 01 Mar 2011 09:50 PM PST

Check out the Top Five most popular news at SilverlightShow for Feb 21 - 27, 2011. Here are the top 5 news on SilverlightShow for last week: An Interview with Jeff Wilcox about his work with Silverlight and the Silverlight Toolkit Free SilverlightShow...( read more )...(read more)

A Simple Focus Manager for Jounce Applications

Posted: 01 Mar 2011 06:32 PM PST

When a view loads, it's ideal to be able to set focus on a particular control so the user won't need to actually click or tab to the control to start data entry. This is not an unreasonable expectation for any Silverlight application that has any sort...( read more )...(read more)

Tony Goodhew on Visual C++ Developer Communication

Posted: 01 Mar 2011 04:46 PM PST

Tony GoodhewCharles Torre, our C++ fan in Channel 9, just posted an interview he made a few days ago to Tony Goodhew: a Microsoft veteran in the Developer Tools Division who has returned home to his roots in VC++ after working as a product manager on VC6. One of Tony's priorities is effectively communicating with developer customers who expect open and honest answers to ALL of their questions. How does this process work? How can you effectively communicate your plan if your plan is still being created?

You want answers, and Tony has the responsibility of ensuring that the answers we give to you regarding VC++ are in fact accurate and unequivocal. So when you ask, "OK. So, what's the plan for the next version of VC++? Why did you decide to not support C++ feature x? What about y++? What's going on here? When are you guys going to wake up?"

… Welcome to Tony's world.

Charles brought his camera to Tony's office to ask him about C++, Visual C++ the C++ Renaissance at Microsoft and a lot more. This is a very candid conversation about developer-oriented public communication and the delicate balance between promising too much and promising too little. At the end of the day, it's all about what it's being delivered.

Tony talks about how it's decided how and when developers are told what our plans really are; how decisions are made and executed on; whether enough feedback is gotten from the community to ensure that developers will receive what they most want; and several other community-related questions.

To access the interview in Channel 9, please click here.

Tuesday, March 1, 2011

ClassifiedCabinet: A Quick Start

ClassifiedCabinet: A Quick Start


ClassifiedCabinet: A Quick Start

Posted: 01 Mar 2011 02:00 PM PST

Introduction The aim of this article is to serve as a short introduction to the new ClassifiedCabinet control published on codeplex . I tried to give you everything that is necessary to start using the control, without going into too much detail. I'll...( read more )...(read more)

Recording of webinar 'Building LOB Applications with Silverlight and WCF Data Services' by Emil Stoychev

Posted: 01 Mar 2011 12:24 PM PST

Silverlight Webinar: In this episode of Silverlight Show, Silverlight MVP Emil Stoychev presents 'Building Line-of-Business Applications with Silverlight and WCF Data Services'. In this recorded webinar Emil discusses the following topics: 1. WCF What...( read more )...(read more)

Windows Phone 7 - Part #7: Understanding Push Notifications

Posted: 28 Feb 2011 02:00 PM PST

This article is compatible with the latest version of Silverlight for Windows Phone 7. Don't miss... WP7 shows WP7 Stock Quoting Demo series What is Windows Phone series WP7 App Development book: Show more books This is part 7 from the article series...( read more )...(read more)

Getting Started with the MVVM Pattern in Silverlight Applications

Posted: 28 Feb 2011 06:02 PM PST

Wondering what all the hype is about MVVM and whether or not you should integrate it into your Silverlight projects? In this post, Dan Wahlin walks through the fundamentals of what the MVVM pattern is and why you should learn more about it. Read full...( read more )...(read more)

Monday, February 28, 2011

Thinking about MIX11

Thinking about MIX11


Thinking about MIX11

Posted: 28 Feb 2011 09:49 AM PST

I spent a little time today thinking about MIX11…...( read more )...( read more )...(read more)

Monthly News Digest @SilverlightZone - 28 February 2011

Posted: 28 Feb 2011 01:19 AM PST

Today we have completed 2nd month of our activity in Silverlight-Zone.com and got a huge nos. of responses from the community. In two months we crossed 30K+ visitors count which is pretty good. Audiences are mainly from United States, India and United...( read more )...(read more)

XNA for Silverlight developers: Part 5 - Input (touch + gestures)

Posted: 27 Feb 2011 02:22 PM PST

This article is part 5 of the series "XNA for Silverlight developers": XNA for Silverlight developers: Part 0 – Why should I care? XNA for Silverlight developers: Part 1 – Fundamentals XNA for Silverlight developers: Part 2 – Text rendering...( read more )...(read more)

Sunday, February 27, 2011

Windows Client Developer Roundup 061 for 2/27/2011

Windows Client Developer Roundup 061 for 2/27/2011


Windows Client Developer Roundup 061 for 2/27/2011

Posted: 27 Feb 2011 08:11 AM PST

This is Windows Client Developer Roundup #61. 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...( read more )...(read more)

Windows Client Developer Roundup 061 for 2/27/2011

Posted: 27 Feb 2011 08:11 AM PST

This is Windows Client Developer Roundup #61. 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...( read more )...(read more)

Saturday, February 26, 2011

Silverlight Cream for February 26, 2011 -- #1052

Silverlight Cream for February 26, 2011 -- #1052


Silverlight Cream for February 26, 2011 -- #1052

Posted: 26 Feb 2011 11:26 AM PST

In this Issue: Mark Monster , Gill Cleeren , Pencho Popadiyn , Kevin Dockx , Joost van Schaik , Jesse Liberty , John Papa , Jeremy Likness , Arik Poznanski ( -2- ), Page Brooks , Deborah Kurata , Mike Snow , Alfred Astort , Samuel Jack , XAMLNinja , and...( read more )...(read more)

The Visual C++ Weekly Vol. 1 Issue 9 (Feb 26, 2011)

Posted: 26 Feb 2011 12:00 PM PST

Read in this issue:

  • Creating an Internet Explorer Add-in Toolbar Button using C++ and ATL
  • Windows 7 Taskbar Integration for MFC Applications
  • The Cost of Free
  • Can Touch This: Windows 7 Touch Application Development Guidance
  • Expressive C++: Fun With Function Composition
  • Simplifying SAFEARRAY programming with CComSafeArray
  • Finding If a Computer Is a Laptop
  • String API and internationalization

Please Vote for my CodeStock 2011 Speaker Submission

Posted: 25 Feb 2011 01:25 PM PST

This year I've submitted a session titled The Silverlight Control Model to CodeStock 2011 on June 3 rd - 4 th . If you are planning on attending ( which you should ), please vote for my session! See you there! The Silverlight Control Model Track / Area...( read more )...(read more)

Friday, February 25, 2011

How to compress CSS/JavaScript before publish/package

How to compress CSS/JavaScript before publish/package


How to compress CSS/JavaScript before publish/package

Posted: 24 Feb 2011 09:25 PM PST

Today I saw a post on stackoverflow.com asking Using Microsoft AJAX Minifier with Visual Studio 2010 1-click publish . This is a response to that question. The Web Publishing Pipeline is pretty extensive so it is easy for us to hook in to it in order to perform operation such as these. One of those extension points, as we've blogged about before, is creating a .wpp.targets file. If you create a file in the same directory of your project with the name {ProjectName}.wpp.targets then that file will automatically be imported and included in the build/publish process. This makes it easy to edit your build/publish process without always having to edit the project file itself. I will use this technique to demonstrate how to compress the CSS &...(read more)

36 Hour Free Offer: jQuery Fundamentals Training

Posted: 23 Feb 2011 10:19 AM PST

Pluralsight (a great .NET training company) is offering the opportunity to watch their jQuery Fundamentals course for free for the next 36 hours. The course is presented by the most excellent Dan Wahlin and contains 5 hours of great end to end content.  Pluralsight will be offering this jQuery Fundamentals course for free until Thursday evening (9pm PST). Pluralsight has about 100 other great training courses available similar to this one.  They recently launched a new subscription plan that allows you to watch all of their courses online starting from $29 a month.  They also offer a 10 day free trial option that you can use to try it out.  You can learn more about it here . Free jQuery 1.5 Visual Cheat Sheet While on the...(read more)

ASP.NET mvcConf Videos Available

Posted: 22 Feb 2011 07:10 PM PST

Earlier this month the ASP.NET MVC developer community held the 2nd annual mvcConf event .  This was a free, online conference focused on ASP.NET MVC – with more than 27 talks that covered a wide variety of ASP.NET MVC topics.  Almost all of the talks were presented by developers within the community, and the quality and topic diversity of the talks was fantastic. Below are links to free recordings of the talks that you can watch (and optionally download): Scott Guthrie Keynote The NuGet-y Goodness of Delivering Packages (Phil Haack) Industrial Strenght NuGet (Andy Wahrenberger) Intro to MVC 3 (John Petersen) Advanced MVC 3 (Brad Wilson) Evolving Practices in Using jQuery and Ajax in ASP.NET MVC Applications (Eric Sowell) Web Matrix...(read more)

Silverlight TV 63: Exploring National Instruments' App Using Data and Business Features

Posted: 25 Feb 2011 09:47 AM PST

Silverlight TV 63: In this week's episode of SLTV, the Steve Lasker of the Silverlight team joins John on Silverlight TV to discuss data and business features with Silverlight. Steve dives into some of his favorite features and shows off a great demo...( read more )...(read more)

Building with WCF RIA Services?

Posted: 25 Feb 2011 09:11 AM PST

Are you in the UK and building with Silverlight and WCF RIA Services? Drop me a line! mike dot taulty at microsoft dot com...( read more )...( read more )...(read more)

Validating our ViewModel

Posted: 22 Feb 2011 03:42 AM PST

One of the key features that need to be implemented in a Line of Business application. Although Silverlight supports validation very well it's not that easy compared to enabling Data Binding your ViewModel. When we want our ViewModel to be fully Data...( read more )...(read more)

Who ate all the pies!!

Posted: 25 Feb 2011 02:47 AM PST

My current project has taken me on an interesting journey of late and so I thought that it would be helpful to share with you some of my experiences and of course some code. I have been taking a look into charting on WP7 there is a good round up here...( read more )...(read more)

Getting ready for Microsoft Silverlight Exam 70-506 (Part 7)

Posted: 24 Feb 2011 02:14 PM PST

SilverlightShow and Gill Cleeren started a series of materials aimed at helping you get prepared for taking Microsoft Silverlight Exam 70-506 . Through this series we tried to structure the resources available on the internet, grouping them by topic covered...( read more )...(read more)

Introducing Phoney's FadingMessage Class

Posted: 24 Feb 2011 07:46 PM PST

URL : http://www.vimeo.com/20362526 I wanted to show how my new FadingMessage class works so I recorded a quick video to show it off. If you want to play with the code, don't forget you can get Phoney from codeplex ( http://phoney.codeplex.com ) or just...( read more )...(read more)

Phoney Windows Phone 7 Project Now Available!

Posted: 24 Feb 2011 05:49 PM PST

URL : http://phoney.codeplex.com/ I started this project when I found I had a number of small classes that I'd built for my Windows Phone 7 application so I thought it was time to share. here is the information on the new library. It is currently in a...( read more )...(read more)

Tiled Background Control in Silverlight

Posted: 24 Feb 2011 05:00 PM PST

Need a tiled background control in your Silverlight application? Unfortunately, there is no native tile control in Silverlight. However, you can easily obtain the source code for one if you install the JetPack theme . Sure, there a few steps, but at least...( read more )...(read more)

Recording of Telerik WP7 Webinar 'Using RadControls to Build Windows Phone 7 Applications'

Posted: 24 Feb 2011 02:48 PM PST

Silverlight Webinar: In this episode of Silverlight Show, Telerik Windows Phone Evangelist Evan Hutnick explains how you can start utilizing the Telerik RadControls for Windows Phone 7 in your mobile Silverlight applications today. See how the RadAnimation...( read more )...(read more)

Thursday, February 24, 2011

Silverlight: Tasks on the Win7 Mobile Phone

Silverlight: Tasks on the Win7 Mobile Phone


Silverlight: Tasks on the Win7 Mobile Phone

Posted: 24 Feb 2011 07:39 AM PST

In the namespace Microsoft.Phone.Task there are a number of external tasks that your Win7 Mobile application can launch, perform an action, and take the results back to your application. These tasks include: PhoneCallTask – Making phone calls PhoneNumberChooserTask...( read more )...(read more)

C++ Renaissance: First Symptoms of Contagion in Traditionally Non-Native Teams

Posted: 24 Feb 2011 05:29 AM PST

You may already know Pete Brown but if you don't, I'll briefly introduce him here: he's, like me, a Community Program Manager with Microsoft but while I'm focused on C/C++ languages and the Visual C++ tool, he's devoted to client-side development technologies (mainly WPF and Silverlight, with some Windows Phone 7 and XNA, a bit less of HTML and JavaScript –Rey Bango covers these two web techs- and a bit of C++ as well, although this last hasn't happened for months, if not years (even before last December, when there was no C++ Community PM at all). In his own words:

My C++ is slightly more rusty than an old tractor left in the back field for most of the century.

He recently had a problem to solve, he needed a fast, smart way to collect online resources for his own weekly report: the Windows Client Developer Roundup which, among others, inspired our Visual C++ Weekly. The tedious part in his case was to copy/paste titles with some special format, while eliminating some tracking stuff in the companion URL. That for each of the 25 links he includes per week.

He decided to create a browser add-in to deal with this all at once. Hopefully his solution will also serve to you if you need something similar, if you were planning to create an add-in or at least if you'd never considered that chance and his approach inspires you for any other problem you were having in browsing web pages.

But I'm not to reproduce his whole post here, just wanted to highlight the two main reasons why he chose ATL (and C++) and not any of the techs he's more used to.

One of his reasons is very rational:

You can create add-ins using .NET and Script, but both have significant limitations as well as performance concerns. If you want to write an add-in of any complexity, you'll almost certainly want to write it in C++.

This demonstrates that Pete thinks as an architect when solving problems: he's just not tied to the technologies he masters but he privileges the most adequate solution for a given problem. This principle applies, of course, for us as well: we should prefer alternative technologies to C++ when more adequate to solve a specific problem.

The other reason adds some emotional component:

I specifically wanted to do this in C++. No, not because I hate myself, but because I'm starting to see a resurgence of interest in C++.

Well, I said emotional although mixed emotions in any case: how is that about hating oneself if someone chooses C++, Pete? Hot smile In the same sentence, however, he opens the door to some hope when talking about a resurgence of interest in C++. He wanted to give C++ an opportunity to delight him back like before the rise of managed languages.

I haven't talked to Pete for months. We used to report to the same manager a while ago when I was editorial director of MSDN Magazine but since I moved to Microsoft building 41 (where the Windows C++ team "lives") I lost all contact with him. Looks like if he sees some C++ resurgence out there, it wasn't me! Smile

Love is in the air so, dear readers, blog followers and C++ lovers in general: let's keep beating our drum. Even louder. This is not about supplanting managed languages with C++, but just putting C++ back in the place it deserves as preferred technology to fully get the power and performance a platform features.

His solution may not have been the best as himself prevents:

Keep in mind, I'm relearning C++. If I did something dumb, don't hesitate to (nicely) point it out in the comments, especially if it's something other people shouldn't repeat in their own code.

He finally states

Works On My Machine.

Period. Angel

He just got three (3) comments by the time I'm writing this, what makes sense to me as I don't believe that a huge crowd of C++ developers follow his blog. Why don't we help him tune up his C++ background by signaling areas of improvement? That may pay back if Pete feels encouragement to keep addressing us as one of his audiences in the near future.

His approach is posted here: http://10rem.net/blog/2011/02/22/creating-an-internet-explorer-add-in-toolbar-button-using-cplusplus-and-atl.

Is this signaling that we'll start seeing more C++ flirting from other community PMs?

Windows Phone 7–Creating Custom Keyboard

Posted: 24 Feb 2011 12:33 AM PST

Last year, just for the Christmas holidays I bought my Windows Phone 7 device. I bought it for two reasons. First, it was Christmas and it was the perfect time to make a present for myself . Second, I wanted Windows Phone 7 because as a .NET developer...( read more )...(read more)

360 Degrees Feedback by Kevin Dockx

Posted: 23 Feb 2011 06:14 PM PST

Company Profile Company name : RealDolmen Website: http://www.realdolmen.com/ Industry: ICT Brief company overview: RealDolmen is one of Belgium's largest ICT companies. We are a single-source supplier with wide expertise in various sectors (professional...( read more )...(read more)

Silverlight Cream for February 23, 2011 -- #1051

Posted: 23 Feb 2011 09:05 PM PST

In this Issue: Ian T. Lackey , Kevin Hoffman , Kunal Chowdhury , Jesse Liberty ( -2- ), Page Brooks , Deborah Kurata ( -2- ), and Paul Sheriff . Above the Fold: Silverlight: "Building a Radar Control in Silverlight–Part 2" Page Brooks WP7: "Reactive Drag...( read more )...(read more)