BUILD: Windows Metro Style Application Search – SearchPane Thoughts


So your building a Metro style Windows application – is C# still you language of choice?. Within the VS2011 project there is now a new file, Package.appxmanifest, that allows the setting of applications metadata. Here’s why you need to specify meta data:

A Metro style app runs in a security container with limited access to the file system, network resources, and hardware. Whenever a user installs an app from the Windows Store, Windows looks at the metadata in the Package.appxmanifest file to figure out what capabilities the app needs to function. For example, an app might need to access data from the Internet, documents from the user’s Document Library, or the user’s webcam and microphone. When the app is installed, it displays to the user the capabilities it needs, and the user must grant permission for it to access those resources. If the app doesn’t request and receive access to a resource it needs, it will not be allowed access to that resource when the user runs it.

Additionally, we can specify metadata declarations. Search is one such declaration. If you browser over to here you’ll see an example of how to integrate you application into Search. Basically hooking into Windows.ApplicationModel.Search.SearchPane. What’s very cool about this is that the Windows 8 search can now do searches into your applications. Take the default Window 8 Metro interface with the Stocks and News applications running. Imagine if I entered “Vodafone” in the Windows 8 search. Effectively I could search/restrict the stocks in the Stocks application, and see only the news on Vodafone in the News application. Very cool

~ by mdavey on September 15, 2011.

2 Responses to “BUILD: Windows Metro Style Application Search – SearchPane Thoughts”

  1. I found this Metro Dynamis, is great to develop these new Metro Style Applications. Check it out at http://metrodynamis.com

  2. Looks like a better integrated, natural evolution of http://www.hanselman.com/blog/AddingCustomSearchProvidersToWindows7PlusAdvancedSearchTricks.aspx

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: