Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

How to Save Phone Number in WP7 using the SavePhoneNumberTask?

AddThis Social Bookmark Button
Do you want to integrate a task in your Windows Phone 7 application that will help users to save their contact details e.g. a phone number in their Contact List? If you want to do this, there is a class called SavePhoneNumberTask which will allow you to implement that task.   This small post will help you to understand the basics about the API and details about the implementation stuff with step-by-step details.   Know About the API The Windows Phone 7 SDK provides a sealed class called SavePhoneNumberTask present in the Microsoft.Phone.Tasks
namespace that provides you API to save a Phone number in the users contact list programmatically. The class provides a property called PhoneNumber of type string. You can programmatically assign that value to auto populate the screen where the saving operation will happen. The Show() method initiates the task by opening the proper screen in the UI.   Here is the meta data of the class:     ......(Read whole news on source site)

Metro: Wire events to ICommand with a (not so simple) extension

AddThis Social Bookmark Button
Looking to the new Metro style applications in Windows 8, I recently found that the easiness of Silverlight lost some points in the move to the new Metro application environment. One of the important things that are missed in XAML for Metro is the ability of wire events of the View to commands in the ViewModel. To be more precise, this capability exists but is limited to instances of ButtonBase class like Button and Hyperlinks. This scenario is known to Silverlight developers but it is easy worked around with Behaviors. Behaviors and Triggers comes from the Expression Blend SDK
and are very useful. I think many of you know the EventToCommand class provided by the MVVM Light Toolkit that is able to wire commands to every kind of events. Unfortunately behaviors are not supported in Metro applications (at least for the moment) so the sole way to handle events is to use codebehind to programmatically call commands of the ViewModel. For this reason I started to work hard to find a way to create a behavior's surrogate, and I finally achieved this result. Please take note that the solution I present here relies on two tricks made...(Read whole news on source site)

EF Power Tools Beta 2 Available

AddThis Social Bookmark Button
The Entity Framework Power Tools provide additional design-time tools in Visual Studio to help you develop using the Entity Framework. Today we are releasing Beta 2 of the Power Tools.   Where do I get it? The Entity Framework Power Tools are available on the Visual Studio Gallery. You can also install them directly from Visual Studio by selecting 'Tools -> Extension Manager...' then searching for "Entity Framework Power Tools" in the Online Gallery. If you encounter an error while upgrading from an older version of EF Power Tools, you
will need to uninstall the older version first then install EF Power Tools Beta 2. This is due to a bug in Visual Studio that blocks the upgrade because the certificate used to sign Beta 2 has a different expiry date than Beta 1.   What's new in Beta 2? Beta 2 improves the quality of the previous release, and also adds new functionality. Code generated by reverse engineer can be customized using T4 templates. Fixed many reverse engineer bugs relating to the code that we generate....(Read whole news on source site)

Gallery of Exoplanets

AddThis Social Bookmark Button
Space.com have put together a gallery of exoplanets (planets outside our solar system) at http://www.space.com/13986-gallery-smallest-alien-planets-exoplanets.html

Some exoplanets have been discovered by monitoring the red/blue shift of the star, whereas others have been found by the transit method. The kepler space telescope is continuously monitoring a small patch of the sky for transits.

Here are some of the more interesting (and eye-catching pictures). Remember so far the best image of an extra-solar planets has been a diffraction blur, but even just as artist's impressions based upon the best current evidence, they are very impressive.



The Passing of another home computer legend: Jack Tramiel dies at 83

AddThis Social Bookmark Button
Jack Tramiel, the founder of Commodore International, and father of such beloved computers as the PET, VIC-20, C64, C128 and others, passed away this weekend at the age of 83. According to many of the books I've read, Jack was often considered a tough guy to work with, as he drove his employees and the rest of the industry, relentlessly. Some say he even used unfair tactics to get what he wanted. Commodore started with typewriters and calculators. To give you an idea of Tramiel's thriftiness and approach to business, he wanted their PET computer to use calculator buttons, instead of a real keyboard, because they had so many calculator
buttons otherwise going to waste. The end result, however, was the single best selling individual computer of all time: the Commodore 64. This computer, with any operating system, memory, or performance upgrades, was sold for almost 14 years. During that time, the C64 had better sound and graphics than almost any other computer available, and at a fraction of the cost. Imagine a single computer today (not an architecture or OS family) selling (and selling well) for that long, virtually untouched. Semi-historical movies like "Pirates of Silicon Valley" tend to focus only on Apple (Steve Jobs) and Microsoft (Bill Gates) when it was Commodore that introduced more kids and...(Read whole news on source site)

Add HTML5 Audio to your App

AddThis Social Bookmark Button
When we think of sound in an HTML application we might think of two things: We remember all those sites that started playing loud obnoxious background music when the page loads and then we think about music playing apps. Sound can however be much more: when building immersive app experiences it can be a crucial [...]

Silverlight Tree View with Multiple Levels

AddThis Social Bookmark Button
There are many examples of the Silverlight Tree View that you will find on the web, however, most of them only show you how to go to two levels. What if you have more than two levels? This is where understanding exactly how the Hierarchical Data Templates works is vital. In this blog post, I am going to break down how these templates work so you can really understand what is going on underneath the hood. To start, let’s look at the typical two-level Silverlight Tree View that has been hard coded with the values shown below:
 
Header="Managers">
   
   
 

 
   
   
   
 

Figure 1 shows you how this tree view looks when you run the Silverlight application. Figure 1: A hard-coded, two level Tree View. Next, let’s create three classes to mimic the hard-coded Tree View shown above. First, you need an Employee class and an EmployeeType class. The Employee class simply has one property called Name. The constructor is created to accept a “name” argument that you can use to set the Name property when you create an Employee object.

Home