Wednesday, August 31, 2011

Silverlight 5 : Low-Latency Sound Effects

Silverlight 5 : Low-Latency Sound Effects


Silverlight 5 : Low-Latency Sound Effects

Posted: 31 Aug 2011 10:46 AM PDT

  I just keep switching between Windows Phone and Silverlight and in office its WPF,so many technical flavors in a week I taste,Well today I am going to talk on Silverlight back again.Lot many features announced with Silverlight 5 beta.Few weeks...( read more )...(read more)

Windows Phone 7 Data Access Strategies: Web Services

Posted: 31 Aug 2011 04:43 AM PDT

Don't miss... Article series: Getting ready for MS WP7 Exam 70-599 WP7 article series by Andrea Boschin WP7 for Silverlight Devs Ebook (also in MOBI and EPUB format): ($4.99) All SilverlightShow Ebooks In the two previous articles of this series I've...( read more )...(read more)

Preflight Checklist

Posted: 30 Aug 2011 09:03 PM PDT

I had a dry run today for an upcoming presentation that did not go quite as well as I would like, though I completely expected this as I was unprepared. The good news is, it was a dry run and not the real thing, so I have plenty of time to adjust. Even so, there's one thing I did wrong, that I should have known better than to do. In my crazy sleep deprived work frazzled mind, I broke the cardinal rule of a dry run – Treat it like the real thing! Kitty Hawk by gilderm from sxc.hu For example, I have a little pre-flight checklist for every talk I give. I just place it in a file named preflight.txt in the root of each presentation folder and adapt it for each presentation. Even though I try to adapt it to each presentation, there is a core set...(read more)

NuGet 1.5 Released!

Posted: 30 Aug 2011 03:12 PM PDT

I'm happy to announce the release of NuGet 1.5 just in time to make sure our roadmap isn't a liar. I won't bore you by repeating the details of the release, but instead direct you to the NuGet 1.5 release notes . If you are running a private NuGet.Server repository, you'll need to update that repository the latest version of NuGet.Server to connect to it using NuGet 1.5. I've updated our roadmap to reflect what we're thinking about next . The next release is going to focus more on continuous integration scenarios that we've heard from customers, pre-release "beta" packages and multiple UI improvements such as allowing folks to disable package sources. Also, on occasion, the NuGet feature team hangs out in a home-grown IRC style web based chat...(read more)

Tuesday, August 30, 2011

WP7Contrib – Bing Service Wrapper Part V Imagery

WP7Contrib – Bing Service Wrapper Part V Imagery


WP7Contrib – Bing Service Wrapper Part V Imagery

Posted: 30 Aug 2011 06:52 AM PDT

The Imagery Service provided by the Bing Maps Rest Service is quite beastly as it supports a large number of permutations that can be requested from the endpoint. In order to successfully wrap up these calls we have encapsulated the url templates used...( read more )...(read more)

Windows Phone 7 Application Certification Cheat Sheet

Posted: 30 Aug 2011 12:21 AM PDT

Don't miss... Article series: Getting ready for Microsoft WP7 Exam 70-599 WP7 article series by Andrea Boschin WP7 for Silverlight Devs Ebook by András Velvárt (also in MOBI and EPUB format): ($4.99) All SilverlightShow Ebooks In the last...( read more )...(read more)

Silverlight Cream for August 29, 2011 -- #1139

Posted: 29 Aug 2011 09:06 PM PDT

In this Issue: Gill Cleeren , Shawn Wildermuth , WindowsPhoneGeek , Erno de Weerd , Morten Nielsen , Sumit Dutta , and Asim Sajjad . Above the Fold: Silverlight: "Post Comments Using Silverlight" Asim Sajjad WP7: "Windows Phone 7 Navigation" Erno de Weerd...( read more )...(read more)

Monday, August 29, 2011

Windows Client Developer Roundup 080 for 8/29/2011

Windows Client Developer Roundup 080 for 8/29/2011


Windows Client Developer Roundup 080 for 8/29/2011

Posted: 29 Aug 2011 12:16 PM PDT

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 Phone , Visual Studio, WCF RIA Services , Netduino...( read more )...(read more)

Windows Client Developer Roundup 080 for 8/29/2011

Posted: 29 Aug 2011 12:16 PM PDT

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 Phone , Visual Studio, WCF RIA Services , Netduino...( read more )...(read more)

Some notes on PollingDuplex callback management

Posted: 29 Aug 2011 11:53 AM PDT

Our cutomer Chris Bardon just published his thoughts on how to simplify callback management in duplex services, you can check out his thoughts here . Thanks Chris!...( read more )...(read more)

C9::GoingNative: Visual C++ Upcoming IDE Demos, a CRT Talk and More!!

Posted: 29 Aug 2011 09:00 AM PDT

Click to watch the episode in Channel 9Greetings! Charles Torre and I came back with the second episode of Channel 9 Going Native –which is actually episode 1, considering that C++, as a C-like language, starts indexing from 0.

This time we follow up from a recent article that my colleague and friend Sumit Kumar (Program Manager in the Visual C++ team) wrote last week about new IDE features and enhancements that we plan to ship in the next version. You'll see me searching and finding project assets (source files, classes, etc.) fast with the new Solution Explorer. You will also see the enhanced coloring of source file and how much comprehensible your code looks this way. You'll also see the more proactive IntelliSense (using some fuzzy logic to quickly filter the list as you type the initials of method names like GetMaxHeight() or get_max_height() –whichever your naming convention). Possibly the best of all, the addition of long claimed code snippets to C++ development in Visual Studio.

Then we picked one of the many topics you guys submitted for us to cover, so we visited Mahmoud Saleh, Visual C++ team engineer. He told us about the C Runtime Library (CRT) and the role itplays related to  the C/C++ compiler, the linker and the underlying Win32 APIs. In most of cases we associate the CRT with the implementation of printf() and similar functions, without realizing that even our main(int, char**) function –which we tend to believe that it's the entry point of our application- it's actually delegated the control by this "invisible buddy" (the fact that we aren't aware at most of times about its omnipresence is part of its success: we just don't need to worry about). Conversely, the executable version of your app doesn't stop working in the closing bracket ("}") of your main(), as Mahmoud will tell what happens after the end. Mahmoud also talks about how CRT takes care about memory (like static initializers), security (buffer overruns, etc.) and exception handling, among other duties. You'll also review the different ways of linking to the CRT from your application, with their pros and cons.

In the last segment, Charles describes his experience at C++ and Beyond, the conference on C++ programming hosted by three luminaries: Scott Meyers (Effective C++, More Effective C++, and Effective STL), Andrei Alexandrescu (Modern C++ Design, C++ Coding Standards –coauthor- and The D Programming Language) and (our) Herb Sutter (Exceptional C++, More Exceptional C++, Exceptional C++ Style and the mentioned C++ Coding Standards). But he doesn't provide just his impressions: he shows us what a few fellow attendees had to say about the event and the speakers.

[Watch episode 1 on Channel 9]

Developing real-world applications with LightSwitch - Part 4: To query or to code, that is the question!

Posted: 29 Aug 2011 05:02 AM PDT

Don't miss... Recording of Gill's advanced Silverlight 5 webinar Recording of Gill's LightSwitch webinar The Ebook: Beginners Guide to LightSwitch (MOBI and EPUB formats added) All SilverlightShow Ebooks Welcome to part 4 in this article series on LightSwitch...( read more )...(read more)

Asynchronous scalable web applications with real-time persistent long-running connections with SignalR

Posted: 29 Aug 2011 02:29 AM PDT

I've been spending some time exploring asynchrony and scale recently. You may have seen my post about my explorations with node.js and iisnode running node on Windows . Every application has different requirements such that rules to "make it scale" don't work for every kind of application. Scaling a web app that gets some data and for loops over it is different from an app that calls out to a high-latency mainframe is different from an app that needs to maintain a persistent connection to the server. The old adage "when all you have it is a hammer everything looks like a nail" really holds true in the programming and web space. The more tools - and the knowledge to use them - the better. That's why I'm an...(read more)

Silverlight Cream for August 26, 2011 -- #1138

Posted: 28 Aug 2011 08:28 PM PDT

In this Issue: Asim Sajjad , Thomas Martinsen , Johan Danforth , Kunal Chowdhury , Loek van den Ouweland , XAMLNinja , WindowsPhoneGeek , Erno de Weerd , Sumit Dutta , and David Yack . Above the Fold: Silverlight: "Update XAP file" Thomas Martinsen WP7...( read more )...(read more)

Sunday, August 28, 2011

WP7 Ad Control and OutOfMemoryException

WP7 Ad Control and OutOfMemoryException


WP7 Ad Control and OutOfMemoryException

Posted: 28 Aug 2011 12:43 AM PDT

Recently we added the Windows Phone Ad Control to one of our existing applications.  It ran fine on the emulator but as soon as you put it on a real device it crashed with a System.OutOfMemoryException.  Turns out after a little investigation...( read more )...(read more)

Weekly News Digest @SilverlightZone - 21-August-2011 to 27-August-2011

Posted: 27 Aug 2011 10:30 AM PDT

Here comes the weekly news digest of Silverlight-Zone.com . During last week (i.e. from 21st August 2011 to 27th August 2011) we have submitted 78 new links in Silverlight-Zone on various topics like Silverlight, Windows Phone 7, LightSwitch, XAML, MVVM...( read more )...(read more)

Saturday, August 27, 2011

Arisha Mob

Arisha Mob


Arisha Mob

Posted: 21 Jun 2011 02:50 AM PDT

The OSS project "AIUB CEC Web" is officially being discontinued due to some unavoidable circumstances, effective immediately. However, we promise to give you an even better Open Source web portal developed in ASP.net!

With that, we proudly introduce you to our new name: "Arisha Mob"

Friday, August 26, 2011

NerdDinner being updated to MVC3 with Razor, HTML5, GeoLocation, EF CodeFirst, jQuery Mobile, YepNope and Modernizr and a fixed Mobile Device Capabilities ViewEngine

NerdDinner being updated to MVC3 with Razor, HTML5, GeoLocation, EF CodeFirst, jQuery Mobile, YepNope and Modernizr and a fixed Mobile Device Capabilities ViewEngine


NerdDinner being updated to MVC3 with Razor, HTML5, GeoLocation, EF CodeFirst, jQuery Mobile, YepNope and Modernizr and a fixed Mobile Device Capabilities ViewEngine

Posted: 26 Aug 2011 01:11 PM PDT

Two years ago Rob , Phil , and I released our MVC 1.0 book with the Gu helping with the big intro. I created the basic Nerd Dinner sample application ( code here ) and released the first 185 pages for free. Since the initial 1.0 release, we've had help from lots of people like Dave Ward , Andrew Aarnott and Jon Galloway on a lot of little things like JavaScript and OpenAuth support, then John V. Petersen moving us to MVC3 with Razor Views, and Peter Mourfield taking on lots of JavaScript and new features. These guys started working on a feature here and a feature there in our spare time. It's been a collaborative effort with folks dropping in, contributing here and there with long periods of silence in between. After John V. Petersen...(read more)

Silverlight Cream for August 25, 2011 -- #1137

Posted: 25 Aug 2011 10:37 PM PDT

In this Issue: Andrea Boschin , Shawn Wildermuth , Kunal Chowdhury , Peter Kuhn , Loek van den Ouweland , XAMLNinja , Ollie Riches ( -2- ), WindowsPhoneGeek , John Papa , Den Delimarsky , and Sumit Dutta . Above the Fold: WP7: "Fun With New Live Tile...( read more )...(read more)

How to Crop an object using Expression Blend?

Posted: 25 Aug 2011 10:30 AM PDT

Few days ago, I published a XAML Tips " How to Convert a Rectangle to a Path Control using Expression Blend? ". Today in this post, we will discuss on another tips similar to that post. In this post, we will discuss on the steps to crop an element...( read more )...(read more)

Thursday, August 25, 2011

Learning about Progressive Enhancement - Supporting Mobile Browsers with CSS3 Media Queries

Learning about Progressive Enhancement - Supporting Mobile Browsers with CSS3 Media Queries


Learning about Progressive Enhancement - Supporting Mobile Browsers with CSS3 Media Queries

Posted: 25 Aug 2011 01:03 AM PDT

I blogged about how happy I've been working with designer Jeremy Kratz on my recent site redesign . We've been meeting lately about small improvements and tweaks. One of the core goals was to support many screen sizes from 30" down to a small smart phone screen. You can see the results on the right in a Windows Phone and iPhone. My team is doing a lot of work on Mobile lately, not just with things like jQuery Mobile and what that means not just for ASP.NET but the mobile web in general. We've also worked with 51Degrees and they've even created a NuGet package that can help you tailor your site to any device. You'll hear more about Mobile in ASP.NET from Steve soon and I'll be sharing some ideas in a few upcoming...(read more)

Play Sound in HTML5 and cross browser support with backward compatability.

Posted: 24 Aug 2011 07:24 PM PDT

In the last post in this series [ read here ] I added the clock timing logic to the HTML workout timer. The next feature to add is round and interval audio. I want to ring a bell at the beginning and the end of each round, a warning before a change in work state, [...] Read More......(read more)

First Look at the New C++ IDE Productivity Features in the Next Version of Visual Studio

Posted: 24 Aug 2011 08:40 PM PDT

Sumit Kumar

Hi! I am Sumit Kumar, a Program Manager on the Visual C++ team.

Today I will talk to you about some of the exciting new IDE functionality in the next version of Visual Studio that will make you, the C++ developer, more productive with your daily code focused tasks. In this blog post you will get a preview of the new features that help with code understanding and editing. There will be more blog posts talking about other cool new features.

 

 

Code Understanding enhancements

Semantic Colorization

Semantic Colorization helps you quickly scan the code and infer more semantic meaning through enhanced visual feedback in the editor. In addition to the keywords, strings and comments, now other tokens like types, enumerations and macros are colorized; the parameters are in italics and so on. The screenshot below shows an example. Notice how the macros, types, function parameters etc. pop out and make understanding code so much easier.

Semantic colorization

While there are only a few tokens that are colorized differently by default, around twenty different semantic tokens are exposed to the users as shown in the screenshot below.

Fonts and colors

You can customize your IDE to colorize these tokens differently. For example, you could choose to colorize local and global variables differently which could be a handy source understanding aid when the variables are identically named but defined in different scopes.

 

Reference Highlighting

Another great productivity feature that aids you in understanding code is Reference Highlighting. When you place your text cursor on a symbol, all the instances of that symbol in the file get highlighted. Only the true references are highlighted – for example, two symbols with same names in different scopes (say local vs. global) will not be highlighted at the same time. You can use Ctrl+Shift+Up and Ctrl+Shift+Down keys to move between the highlighted references. This means that you no longer have to invoke Find All References if you are simply looking for symbols within a file. The screenshot below shows how all the instances of the variable cxExtentMax inside the function body are highlighted when the cursor is placed on the one referenced in the call to max(). But the variable with same name defined outside the function scope is not highlighted.

Reference highlighting

 

New Solution Explorer

There are a number of tool windows needed for common everyday tasks – for example, Navigate To is used for searching symbols and files, Class View and Object Browser are used for inspecting the members of an object, Find All References is used for, well, finding references, Call Hierarchy is used for finding the calls to and from a function etc. Imagine being able to do all of these operations from a single tool window without having to switch context or sacrifice additional precious screen real-estate. The new Solution Explorer combines most of the functionality of these tool windows into one place, itself! Of course, the other tool windows will still be available in Visual Studio, but the goal of the new Solution Explorer is to significantly reduce the need to invoke them for the most common scenarios. A detailed description of all of the new functionality provided by the versatile new Solution Explorer is a separate blog topic in itself, but here is a sampling:

You can expand your files to see the fields, functions and types contained in the files and the members contained in the types.

New Solution Explorer

It allows you to search your entire solution all the way to the members of individual classes.

New Solution Explorer

You can navigate back and forward between different views of the Solution Explorer and can create multiple instances of Solution Explorer rooted at different nodes if needed. You can also scope the view to just a specific project or file or type.

New Solution Explorer

The view in editor automatically syncs with the view in Solution Explorer. Clicking on a symbol node in the Solution Explorer takes you to the definition of that symbol in the editor. You can also see the relationship between functions such as Calls to, Calls from, References, and Inheritance for functions and types from within the Solution Explorer.

New Solution Explorer

New Solution Explorer

 

 

Code Editing enhancements

The second category of C++ features helps you with editing code faster.

Automatic Display of IntelliSense Member List

In Visual Studio 2010 and previous releases, the IntelliSense member list dropdown had to be explicitly invoked either by typing Ctrl+Space or Ctrl+J or entering a scope resolution operator (::) or element selection operator (. or ->). In the next version, Visual Studio will automatically shows the member list drop down as you type without the need to explicitly invoke it.

Automatic Display of IntelliSense Member List

The automatic display of member list is smart – it does not aggressively display the member list when it does not make sense, for example when typing a declaration, there is no aggressive display of member list.

Automatic Display of IntelliSense Member List

 

Member List Filtering

Not only is the member list displayed automatically, it is also filtered as you type to shrink and show only the relevant members. So you can get a filtered result like the screenshot below just by typing two characters

Member List Filtering     Member List Filtering

Notice that pb is not a prefix or even a substring of the members in the list. The filtering uses a fuzzy logic to find the relevant members quickly. But if you do not like the fuzzy filtering, you can change it to prefix based, or prefix plus camel casing based or turn off the filtering completely.

 

Code Snippets

Code Snippets help you quickly type the boilerplate code with just a couple of keystrokes. Here's how it works for a switch statement: as you start typing, the IntelliSense member list shows you the relevant code snippet that can be selected by pressing tab.

Code Snippets

Code Snippets

Then modify the expression in the switch statement or just press Enter and the entire skeleton of the switch statement is added for you; you only need to fill in the logic!

Code Snippets

In addition to the switch statement, there are other snippets for basic code constructs available to you – like if-else, for loop, etc. Each of the snippets saves you from unnecessary typing and lets you focus more on your logic, adding up to significant productivity gains over time!

Additionally, the code snippets feature is extensible so you can also create your own snippets, which is as simple as creating a simple XML file and copying it at a certain location. You can also invoke the code snippets from the context menu in the editor and can either insert a snippet or can surround a selection of code with a code snippet (for example with a #ifdef statement).

 

 

Summary

Many of these code understanding and editing features were requested by you, and are squarely intended to make you more productive with C++ development. Your continued feedback will help us make these features better before they ship. Please note that the descriptions and screenshots are from our early internal builds. These features are still under development and could potentially change or not even be included in our final product. In addition to these new features, we have done a lot of work on the IDE but I will save those for future blog posts.

Wednesday, August 24, 2011

SilverlightShow for August 14 - 21, 2011

SilverlightShow for August 14 - 21, 2011


SilverlightShow for August 14 - 21, 2011

Posted: 24 Aug 2011 07:24 AM PDT

Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for August 14 - 21, 2011. Here are the top 5 news on SilverlightShow for last week: The Top 5 WPF and Silverlight Gotchas Can Microsoft 'fix' JavaScript and make...( read more )...(read more)

Windows Phone 7 Iconography

Posted: 24 Aug 2011 03:44 AM PDT

Don't miss... Article series: Getting ready for Microsoft WP7 Exam 70-599 WP7 article series by Andrea Boschin WP7 for Silverlight Devs Ebook by András Velvárt (also in MOBI and EPUB format): ($4.99) All SilverlightShow Ebooks Every Windows...( read more )...(read more)

Windows Phone SDK 7.1 Release Candidate (RC) released – Download the Offline/Web Installer

Posted: 23 Aug 2011 04:22 PM PDT

Windows Phone 7.1 SDK Release Candidate (RC) is now available for download. Microsoft released this version with "Go Live" license, that means, you can now build production applications and submit them to the Marketplace. This build also empowers the...( read more )...(read more)

Silverlight Cream for August 23, 2011 -- #1136

Posted: 23 Aug 2011 08:54 PM PDT

In this Issue: Sigurd Snørteland , Kunal Chowdhury , Todd Brix , MIke Ormond , XAMLNinja , Ollie Riches ( -2- ), WindowsPhoneGeek , John Papa , Jesse Liberty , Morten Nielsen , and Gill Cleeren . Above the Fold: Silverlight: "apps portal – a silverlight...( read more )...(read more)

How to Convert a Rectangle to a Path Control using Expression Blend?

Posted: 23 Aug 2011 10:30 AM PDT

This will be a short tip of the day where I will show you the way to convert a Rectangle or a Ellipse control to a Path control. If you are not familiar with Expression Blend and currently working with it to design your UI, this tip will definitely help...( read more )...(read more)

Building an HTML App – Workout Timer – Clock Logic

Posted: 23 Aug 2011 06:02 PM PDT

In [ this post ] I introduced an HTML application that I intended to build. I've been picking away at the logic (though haven't gotten to the HTMP "5″ stuff yet) and thought I'd share the milestone. Note that the gray area in the screen shot below is not implemented yet. Here are some of [...] Read More......(read more)

Weekly Links– 2010_31 (50 for Web Devs & Other Geeks)

Posted: 23 Aug 2011 03:11 PM PDT

Software Developer Links of the Week. Using Windows authentication in ASP.NET Web Pages Papa's Perspective Debuts 11 hard truths about HTML5 Google Improves 'Native Client' for HTML 5 Web Apps HTML5 apps vs. native apps: Amazon, Box.net choose both [Video] PouchDB: A Portable Implementation of CouchDB in JavaScript Linux snickers at Microsoft's victory declaration Profiling [...] Read More......(read more)

Windows Phone 7 Data Access Strategies: HttpWebRequest

Posted: 23 Aug 2011 04:56 PM PDT

Don't miss... Article series: Getting ready for Microsoft WP7 Exam 70-599 WP7 article series by Andrea Boschin Windows Phone 7 for Silverlight Devs Ebook (also in MOBI and EPUB format): ($4.99) All SilverlightShow Ebooks Download source code In the previous...( read more )...(read more)