Skip to main content

Posts

My First DotNetWork Session Introduction to Windows Phone Development

As A follow up to Today's event .network Gathering December 2011, following the Windows Phone 7 kick start session, i am posting my sessions materials here on my blog so that i can keep track of it. So here is the link for the presentation slides   http://www.4shared.com/file/PQo9xqG2/Windows_Phone_Development_Kick.html And Also here is the link to the code samples for the demos that i done today http://www.4shared.com/rar/BIAHhxPI/Code_Samples_Demo.html please report any broken links and i will re-upload them once more if there is any inquiry or questions i would be happy to answer. Brief: this is the session material for .net gathering December 2011 Windows phone 7 development kick start session .

WP7 from 7.0 to 7.1 Microsoft.Xna.Framework missing reference or assembly "wont appear in the .net tab add reference"

Recently i upgraded a windows phone project from 7.0 sdk to 7.1 and i got this error Microsoft.XNA.Framework missing reference or assembly, after doing some search in the SDK 7.1 documentation i found this to be a know issue and the solution is to map the Assembly manually, and note that the Assembly wont appear in the .net tab here is the path you should find the assembly in C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone\Microsoft.Xna.Framework.dll Simply remove it and re-Add the reference and it should work fine VIVA WP7 or at least hope !!

Windows Phone 7 Advertising SDK upgrading to 7.1 Test Mood and Advertising change AdControl does not contain Test Mode

Recently i upgraded a windows phone project from 7.0 sdk to 7.1 and i got this error the Adcontrol.TestMode cannot be resolved this is the message 'Microsoft.Advertising.Mobile.UI.AdControl' does not contain a definition for 'TestMode' The solution i found here was all because the the SDK itself has changed you have to set the ApplicationId and UnitId properties manualy as follows #if SHOW_TEST_ADS adControl.ApplicationId = "test_client"; adControl.AdUnitId = "Image480_80"; #else // Use your real Application ID and Ad Unit ID here adControl.ApplicationId = "34fg678a-de7s-67ad-0988-9876543g1h43"; adControl.AdUnitId = "12345"; #endif  pieace a cake !!! here is the link to all changes http://community.microsoftadvertising.com/forums/t/69768.aspx

How to upgrade an existing Windows Phone OS 7.0 Project to Windows phone 7.1 Mango (7.5 Platform)

Open the Windows Phone OS 7.0 “Silverlight XNA Classlibrary etc ..” project you want to upgrade in Visual Studio. In Solution Explorer Right-click the project and select Upgrade to Windows Phone 7.1 in -Or- On the Project right click menu, select the Properties then a properties window will appear or just select the project and hit Alt+Enter. On Target Windows Phone OS Version drop-down list change the selected option to Windows Phone OS 7.1. Here is a screen shot of the Properties window and how to upgrade . You might be required to add windows phone 7.1 SDK to the project manually if you use the 7.1 functionality. You might also need to update the capabilities in the application manifest file., see Application Manifest for Windows Phone 7 and How to Determine Application Capabilities ? .

Starting Windows Phone 7

In a first of many to come Articles targeting the windows phone 7 new platform mango I have decided to put this link for the complete documentation for the windows phone 7 library from the MSDN itself http://msdn.microsoft.com/en-us/library/ff637516%28v=vs.92%29.aspx

Knockoutjs MVVM using Java Script

During the past working days I have been a little confused about some concepts in the KnockoutJS and how stuff works in the hierarchy we are using, how should we bind stuff. First of all to get a brief introduction on KnockoutJS , it is a java script library written to apply MVVM pattern on html or ASP MVC ”if you do .NET ” and by MVVM we can only say the word that we used very often while doing Silverlight or WPF, the word is BINDING the magical word that simply makes the speed and interactivity between your model and view irresistible, do we use binding yes !!! and boy this is one sexy word that I would love to use, binding was one of the strongest points that Silverlight had, thanks to knock out we can do it here you can take a quick overview from the magnificent Steve Sanderson “the creator of the library” he has made an appearance in MIX 11 and he sure made the impression check out the KnockoutJS site from here http://knockoutjs.com/ and here is a the video link available...