DCSIMG
Silverlight 4 - Alex Golesh's Blog About Silverlight Development

Browse by Tags

All Tags » Silverlight 4 (RSS)

Utility: Extmap Maker v1.1

Quite some time ago, I wrote small utility which helped to create external map manifest file for Silverlight assemblies. This manifest is needed to enable XAP reduction feature (you can read more about it here ). I have been told, that the utility is not working with assemblies compiled with Silverlight 5, so I decided to update it. The new version compatible with Silverlight 3, 4 & 5 assemblies. Please note, that new version requires .NET 4.0 Client profile in order to work. Updated version...

Windows Phone 7.1 (Mango) Developer Tools–RC Release!

Microsoft just released a new refresh of Windows Phone Mango developer tools (WPDT) – the RC. This release includes “Go Live” license that permits registered developers to publish Mango applications to the Marketplace! What changed/added: The profiler has been improved, and now provide memory profiling as well The emulator has a couple improvements to make development and testing better: The RTM build (build 7720) is used by the emulator, providing you with confidence that the code you write will...

Windows Phone Mango–What’s New? (“Profiler” - Part 9 of 8)

This post is a “missing part” of series about new features in Windows Phone Mango New and very important feature of Windows Phone “Mango” Developer Tools is the profiler. The profiler enables the developers of Silverlight applications (currently only Silverlight scenarios are supported) to sense important heartbeats of the application and collect information about application behavior at runtime. To measure the performance or the application, navigate to Debug menu option and select Start Windows...

Windows Phone Mango–What’s New? (“Push Notifications & Tiles” - Part 8 of 8)

Mango introduces some changes in Push Notifications mechanism which enables the developers to create more attractive scenarios. First feature I’ll show in this post is a secondary tiles for application. Before Mango, every application could have only one pinned tile on the main screen which could be updated using Push Notification mechanism (I blogged about it quite some time ago here and here ). Mango release enables to have additional tiles which can be pinned and removed from application code...

Windows Phone Mango–What’s New? (“Silverlight/XNA Interoperability” - Part 7 of 8)

Windows Phone RTM didn’t allowed to mix Silverlight and XNA content. Mango enables the scenarios where Silverlight content can be rendered along with XNA content. In the sample presented in this post we will build 2-pager Silverlight application with pure Silverlight page (1st page) and mixed 3D XNA & Silverlight page (2nd page). Final application looks like the following: In order to ease on the developers, after installing Mango developer tools, Visual Studio provides us with two templates...

Windows Phone Mango–What’s New? (“Fast Application Switch (FAS)” - Part 6 of 8)

The Windows Phone RTM operating system had only one active application and when application were sent to the background the state was serialized and kept in the application’s isolated storage. This process called tombstoning and application in such state called tombstoned. When user return to the tombstoned application, he would have to wait a while as the application deserialized its state and recovered and we as developers had to take care about saving the application’s state and resuming it. With...

Windows Phone Mango–What’s New? (“Background Agents” - Part 5 of 8)

One of most requested and discussed features of Mango release is “multitasking”. In Mango the multitasking term has slightly different meaning than standard (PC) multitasking. Multitasking for Mango phones means ability to execute the code while application in not active and play audio started by the application in a background. This is achieved by Background Agents. In addition to them Mango also introduces APIs to download and upload files while application is in the background and add Reminders...

Windows Phone Mango–What’s New? (“Camera” - Part 4 of 8)

All Windows Phone 7 devices equipped with camera. The minimum required camera resolution is 5 Mega pixels. For developers accession camera information enables many scenarios like image recognition, video chatting, augmented reality and others. From the beginning, Windows Phone 7 RTM devices supported camera usage scenario via launchers and choosers. Phone shell API provided the developer with CameraCaptureTask which could be used to take a picture and use it in the application. This scenario based...

Windows Phone Mango–What’s New? (“New Sensors & Tooling Enhancements” - Part 3 of 8)

Windows Phone devices are modern devices. As such, they usually have few sensors such as built-in accelerometer, A-GPS, light sensor, magnetometer, etc. Windows Phone minimum hardware spec requires that all Windows Phone will have at least 4 of them – A-GPS, Accelerometer, Compass and Light sensors. While accelerometer and A-GPS were available for developers with first version of Windows Phone, there are some new sensors which were added with Mango. The hardware market is not standing still, thus...

Windows Phone Mango–What’s New? (“Local Data” - Part 2 of 8)

Mango provides API to use user’s Contacts and Appointments. To search for appointments and contacts we need to use the Appointments and Contacts classes located under Microsoft.Phone.UserData namespace. In this post I’ll show how to create the sample application which will present the list of contacts and will enable user searching for specific contact. Also we will add appointments search functionality: When page initialized we creating the new instance of the Contacts class: contacts = new Contacts...

Windows Phone Mango–What’s New? (“Local Database” - Part 1 of 8)

Mango release adds a local database engine to the device. The database engine on the phone is based on SQL CE engine. Mango applications use LINQ to SQL for all database operations. LINQ to SQL provides an object-oriented approach to working with data and is comprised of an object model and a runtime. The database files stored in Isolated Storage on the phone and available to the application only (which means applications cannot share same database). Suggested scenarios for local database usage in...

Windows Phone Mango–What’s New? (“Overview” - Part 0 of 8)

The Beta version of “Windows Phone Mango” tools release and it is a time to see what is expected from developers point of view. This post is a first part of multi-part “What’s new” series which focuses on new features of “Windows Phone Mango” (or shortly Mango from this point). The Mango brings to the developer many features which we missed from initial release of Windows Phone 7 (or shortly RTM from this point). The “formal” features list includes the following features: Multi-tasking Fast Application...

Windows Phone “Mango” Developer Tools Beta

Windows Phone Developer Tools for Windows Phone “Mango” (7.1) Beta release announced and available for general download here: http://go.microsoft.com/?linkid=9772716 Documentation link: http://msdn.microsoft.com/en-us/library/hh237343(v=VS.96).aspx   The Beta tools provides all tooling necessary to target the upcoming Windows Phone “Mango” release, in addition to productivity enhancements, such as an app profiler, an improved emulator. Features of the WPDT 7.1 include: Profiler – A profiler...

Upcoming Windows Phone 7, Windows Phone “Mango” and Advanced Silverlight Trainings in Redmond

I have a confession – I’m very excited those days! In 3 weeks I’m flying to Redmond, WA to deliver 3 new brand courses for advanced software developers. I will present “First Look” material about hottest topics (IMO) for developer community: 1. Advanced Windows Phone 7 2. Windows Phone “Mango” 3. Advanced Silverlight These trainings will all be held at Bellevue College campus the week of June 6-10, 2011. For information regarding this series, including registration information, please visit the following...

Windows Phone “Mango”–What’s coming in near future?

During 2nd day keynotes ScottGu and Joe Belfiore announced upcoming version of Windows Phone – codename Mango. They demostrated a cool demos and provided information about upcoming features. The update for developer tools will ship in near future as Scott said. The highlights of features for upcoming release are: Multitasking: fast app switching (FAS) and Windows Phone background agents. IE9 is coming to Windows Phone with HTML5 support. Additional sensor and runtime access: Additional sensor APIs...
More Posts Next page »