Social Icons

twitterfacebookgoogle pluslinkedinrss feedemail

Monday, April 30, 2012

Exceptions – Try, Catch and Finally in iPhone Objective C

You won't find exceptions used as frequently in Objective-C as in other languages. However, try/catch/finally blocks can be useful to capture errors that may otherwise cause an app to fail.

In the example below, I allocate an array, however I don't add any elements to the array. Inside the try block the attempt to access the first element will cause an exception to be thrown.

NSArray* arraytest = [[NSArray alloc] init];
 
@try
{
// Attempt access to an empty array
NSLog(@"Object: %@", [arraytest objectAtIndex:0]);
 
}
@catch (NSException *exception)
{
// Print exception information
NSLog( @"NSException caught" );
NSLog( @"Name: %@", exception.name);
NSLog( @"Reason: %@", exception.reason );
return;
}
@finally
{
// Cleanup, in both success and fail cases
NSLog( @"In finally block");
 
[arraytest release];
}

The output of the code is shown below:

iPhoneApp[4464:b903] NSException caught
iPhoneApp[4464:b903] Name: NSRangeException
iPhoneApp[4464:b903] Reason: *** -[NSArray objectAtIndex:]: index 0 beyond bounds for empty array
iPhoneApp[4508:b903] In finally block

The @finally clause is called regardless of the outcome of the code the in @try block. This is the perfect place to perform any relevant code cleanup.

Using exceptions can be helpful when working with files (for exampleNSFileHandleOperationException), when working with data from unknown sources, etc.

Catching a Specific Exception

Using NSException as shown in the @catch statement above, will result in all exceptions being caught. You can also look for a specific exception – the code below looks only forNSRangeException:

@try
{
// Attempt access to an empty array
NSLog(@"Object: %@", [arraytest objectAtIndex:0]);
 
}
@catch (NSRangeException *exception)
{
// Print exception information
NSLog( @"NSRangeException caught" );
NSLog( @"Reason: %@", exception.reason );
return;
}
@finally
{
// Cleanup, in both success and fail cases
NSLog( @"In finally block");
 
[arraytest release];
}

Throwing an Exception

You can also throw an exception in your own code. Although a bit contrived (as a means to get the point across), the method testException() shown below will throw an exception whenever it is called:

- (void)testException
{
if (1 == 1)
{
NSException *exception = [NSException exceptionWithName: @"Exception!"
reason: @"Something not so good occurred."
userInfo: nil];
@throw exception;
}
}

Further along in the code, when testException() is called, wrap the invocation in a try/catch/finally blocks in a manner similar to what was shown above:

@try

{
// Call the method...
[self testException];
}
@catch (NSException *exception)
{
// Print exception information
NSLog( @"NSException caught" );
NSLog( @"Name: %@", exception.name);
NSLog( @"Reason: %@", exception.reason );
return;
}
@finally
{
NSLog( @"In finally block");
}

iPhoneApp[4660:b903] NSException caught
iPhoneApp[4660:b903] Name: Exception!
iPhoneApp[4660:b903] Reason: Something not so good occurred.
iPhoneApp[4660:b903] In finally blockI guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

[iPhone Development][iOS Development][xCode][iPhone][iPad][Objective C]

Tracking Down Exception Errors With objc_exception_throw in iPhone

When an application throws an exception, there is debug information shown in the console – below is the output in the console for an NSInvalidArgumentException:




Although helpful, depending on the size of your application, it may take quite some time to find the offending code. One way to better track exceptions is to catch them. However, wrapping every potential condition is not always practical. There is another way to track down exception errors.

With a symbolic breakpoint, we can force the runtime to stop on the line of code that is generating the exception. Select the breakpoint tab (in the Project navigator) and tap the + in the lower left corner to create a new symbolic breakpoint. Enter objc_exception_throw for theSymbol as shown below:




When you run the application with the symbolic breakpoint enabled, the code will stop at the offending line:





Notice in the console the reference to obj_exception_throw and Pending breakpoint – the debugger stops before the actual line of code executed.

When you experience an exception that is not wrapped in a try/catch block, give the symbolic breakpoint a go.

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

[iPhone Development][iOS Development][Objective C Programming][iPhone]

Tracking Down EXC_BAD_ACCESS Errors with NSZombieEnabled

It's only a matter of time before you'll find yourself face to face with the dreaded EXC_BAD_ACCESS error message. This message generally occurs when you attempt to access an object that has previously been released.

NSZombieEnabled is an environment variable which can be helpful to track down the elusive object causing the problem. With the environment variable set, Cocoa will redirect all objects isa pointer to an NZZombie object once an objects retain count has reached zero. In the future, should you try and send a message to a previously released object, an exception will be raised showing a message similar to the following:



Setting NSZombieEnabled Environment Variable

In the Groups and Files section, expand the Executables section and right click on your app name and choose Get Info from the dialog:



Select the Arguments tab on the top and then add a new entry in the Variables to be set in the environment section. Name the new variable to NSZombieEnabled and set its value to YES.



Tracking Down the Error

Using a zombie, messages sent to an object that has already released will now generate the exception shown above, and following the stack track should now help you find the location of the object that is generating the EXC_BAD_ACCESS error.

Don't forget to remove the environment variable, or at a minimum untick the checkbox once you find the source of the problem.

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Silverlight Integration with SharePoint 2010 – Part I

In this article, we will see how Silverlight can be used in SharePoint 2010. This article is Part I of Silverlight Integration with SharePoint 2010 where we will see how to use different Web Parts of Silverlight in SharePoint.

The first step is to create a SharePoint site using 'Team Site' template. The steps remain the same as shown in my previous article, SharePoint Dashboard with Common Filters using PerformancePoint Services 2010 Now after you have created a SharePoint site with 'Team Site' template, let's add a special library called 'Asset Library'. This library is used to store video files.

The First step is – Go To 'Site Action' menu and click on 'View All Site Content' menu as shown below –

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Read SharePoint 2010 List in Silverlight using REST - Part II

In this article, we will see how to fetch SharePoint 2010 list data in Silverlight application using REST Service 'ListData.svc'. We will then deploy the XAP file and display the data in our SharePoint Site using Silverlight web part. I have already explained how to use the Silverlight webpart in SharePoint 2010 in my previous article - Silverlight Integration with SharePoint 2010 – Part I.

Silverlight applications can easily read and write data back to SharePoint lists by using different methods. One of the methods of reading and writing the data back into SharePoint Lists is by using 'REST Services'. So we need to first create a SharePoint site using 'Team site' template. The steps to create a SharePoint Site using a Template 'Team Site' remains the same, as shown in my previous article, SharePoint Dashboard with Common Filters using PerformancePoint Services 2010. Now after you have created a SharePoint site with 'Team Site' template, let's add a 'Customers' list as described in the below table – To create a list, click on 'Lists' link from the left hand navigation pane and click on 'Create' button. The dialog box of 'Create' will be shown as below.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


Silverlight Client Object Model in SharePoint 2010 - Part III

In this article, we will see how to use the Silverlight Client Object Model in SharePoint 2010. We will create a Silverlight Application, access the SharePoint data and then deploy it to a SharePoint site. We will also see how to write CAML queries to filter the SharePoint List data.

If you haven't already read, Part I and II of this series can be found over here Silverlight Integration with SharePoint 2010 – Part I and Read SharePoint 2010 List in Silverlight using REST – Silverlight with SharePoint 2010 - Part I

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


Silverlight Client Object Model in SharePoint 2010 - Part III

In this article, we will see how to use the Silverlight Client Object Model in SharePoint 2010. We will create a Silverlight Application, access the SharePoint data and then deploy it to a SharePoint site. We will also see how to write CAML queries to filter the SharePoint List data.

If you haven't already read, Part I and II of this series can be found over here Silverlight Integration with SharePoint 2010 – Part I and Read SharePoint 2010 List in Silverlight using REST – Silverlight with SharePoint 2010 - Part I

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Deploy Silverlight Application using SharePoint 2010 Project

In this article, we will see how to use the Silverlight Client Object Model in SharePoint 2010. We will create a Silverlight Application, access the SharePoint data and then deploy it to a SharePoint site. We will also see how to write CAML queries to filter the SharePoint List data.

If you haven't already read, Part I and II of this series can be found over here Silverlight Integration with SharePoint 2010 – Part I and Read SharePoint 2010 List in Silverlight using REST – Silverlight with SharePoint 2010 - Part I

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Deploy Silverlight Application using SharePoint 2010 Project

In this post we will see how to deploy Silverlight Application using SharePoint Project in Visual Studio 2010. The first step is to 'Create a Silverlight Project'. I have already demonstrated one of my Silverlight applications which shows Plane Projection capabilities in Silverlight Silverlight 3D - Using Plane Projection. You can refer to that article or use your own Silverlight project for this example. I will be using the project I created earlier for this demonstration.

Read More from: Original Source

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

SharePoint 2010 Development for WP7

The Windows Phone 7 platform contains great out of the box integration with SharePoint under the Office Hub. Microsoft has developed an exhaustive training course to help you create your own custom applications on the phone that leverage SharePoint 2010 data and services.

This advanced training course is designed for developers who are familiar with Windows Phone 7 and SharePoint 2010 development. The course focuses on how to build applications that leverage both platforms.

If you are new to Windows Phone 7, consider these training courses to get you familiar with Windows Phone development.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Writing A SharePoint 2010 People Picker Control for Silverlight

One of the sorely missing pieces in the Silverlight toolbox for SharePoint developers is a people picker control. There is a control that SharePoint provides, which you can use in a web part or custom layouts page (the PeopleEditor class). Silverlight code though all executes on the client side, so there isn't an out of the box solution for this. I really needed this functionality on a recent project and ended up finding a fairly simple way to build just such a thing. Here's a screenshot of my admittedly No-UI-Talent picker control, implemented as a popup in Silverlight.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Integration of Silverlight and Sharepoint 2007

Silverlight is a cross-browser, cross-platform and cross-device browser plug-in that helps companies design, develop and deliver applications and experiences on the Web.

Microsoft Office SharePoint Server 2007 is an integrated suite of server capabilities that can help improve organizational effectiveness by providing comprehensive content management and enterprise search, accelerating shared business processes, and facilitating information-sharing across boundaries for better business insight.

What if we combine the features of a Rich interface with animations which allows a user to interact with the system in a more friendly way, using business power and collaboration from Sharepoint and also using the security provided by Sharepoint.

Read More from: Original Source

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

The Silverlight SharePoint Web Parts - part 1

With this article I am starting out a series focused on finding the best way to have these two technologies (Sharepoint and Silverlight) working together. In this series we will explore some possible ways to make Silverlight work with some of the features of Sharepoint including the less known ones.

What are we going to see in this article?

We are going to see how to embed a Silverlight application in a site page of Sharepoint in a rapid and efficient manner. In this article I already faced this topic and I described three different ways to accomplish this and in another article I presented an additional method. But now there is a recent Visual Studio extension called "Silverlight Sharepoint Web Parts" which has simplified the work of the "Sharelight" or "Silverpoint" developers. In this first part we will analyze in depth the first of the two new item templates which this extension adds to Visual Studio, and namely the "Silverlight web Part"; in the second part we will see the other one, i.e. the "Silverlight Custom Web Part".

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


Creating Silverlight Dashboards for SharePoint Server 2010

Introduction to Creating Silverlight Dashboards

To help you understand how to build Microsoft Silverlight dashboards in a Microsoft SharePoint 2010 environment, this article uses a scenario. A marketing department in a fictitious company, Adventure Works, manages and provides assets through a SharePoint team site. The team decides to enhance the user experience by providing a rich user interface via Silverlight for browsing and for administrating approved graphical assets of their products. By using SharePoint workflows and a tasks list, marketing employees create requests for the assets from the graphic design team.

The tables that follow describe the lists and document libraries that are relevant to this article. The tables also define the fields and their types that correlate to the source code in this article.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


A Silverlight Menu for Sharepoint

In the first part of the article I introduced the matter, i.e. adding a Silverlight menu in Sharepoint. The first solution presented, defined as "the client approach", has a major defect: it cannot be used for anonymous-enabled sites. In this second part we will see another way (that I called the "server approach") in order to build a Silverlight menu for Sharepoint that can be used also by anonymous users. To make this new approach clearer I will introduce another few general concepts regarding the Sharepoint platform. As previously, they will be marked with a specific icon and Sharepoint developers can skip these parts.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Silverlight and Sharepoint working together: a Silverlight menu for Sharepoint

In this article we will learn the navigation system integrated in Sharepoint and we will use Silverlight to put together an alternative solution to the one that Sharepoint offers out of the box. In order to carry out this project we will use the Silverlight custom Web Part that I already described in the second part of the first article in this series.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


Creating a Silverlight web part in SharePoint 2010

Don't forget to install the Silverlight SharePoint web parts and Visual Studio 2010 SharePoint Power Tools when you start building Silverlight web parts. Go to http://visualstudiogallery.msdn.microsoft.com/8e602a8c-6714-4549-9e95-f3700344b0d9 for the power tools consisting of the following:

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


The Case For SharePoint Plus Silverlight

The Case For SharePoint Plus Silverlight The authors of SharePoint 2010 Development with Silverlight talk about why the two Microsoft technologies are more powerful together.

The authors of SharePoint 2010 Development with Silverlight talk about why the two Microsoft technologies are more powerful together.

The hidden potential of combining Microsoft's SharePoint and Silverlight technologies for richer, more attractive applications is hidden no more, thanks to Bob German and Paul Stubbs.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

How to create a small RSS reader for Win8 in HTML5 Metro in 30 minutes (part 1/2)

We will see through these two tutorials how, from scratch, make a small RSS reader with HTML5, CSS3 and WinJS, the JavaScript framework for Microsoft Windows 8 Metro. We will also try to better follow the rules of Metro design by using the Expression Blend tool 5. If you do well, you should be able to play these 2 articles in 30 minutes.

This first article will let you create the home page using a type check list showing all the latest articles published blog. The second will deal with creating the detail view displayed when you click on one of the items in the list. You will find at the end two short videos down the steps you can follow by reading this article and source code solution. Think of them as a supplement might be useful to clarify some gray areas.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Custom Tooltip and Popup

This custom tooltip rather boringly just features a textblock but you can customise with any fonts and colours and include any combination of UI controls such as images, animations or even video.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


Developing an Advanced WP7.5 App that Connects to the Cloud

This guide provides an end-to-end walkthrough of how to create an advanced Windows Phone 7.5 app that integrates with remote Windows Azure-based services. The guide can help you understand how to implement individual features for Windows Phone 7.5 and how to use them together to build an app.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Win8 Metro Style Apps – Layout and Orientation Management with XAML

This post builds on my previous post around implementing navigation with xaml, it's recommended you have a quick look at that one before continuing.

Your application is likely to have different views, however you will want to have a consistent way of handling orientation and layout changes across your application. Within the current set of templates that come with the Windows 8 Developer Preview, the code to handle and respond to layout and orientation changes are duplicated within each page.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

A ‘Paper’ like “2-Page” Close Animation

If you follow me on Twitter you'll know that I love the iPad app 'Paper' . And what's crazy cool about this app is that it was built by ex-Microsoft people that were working on the Courier project Smile

The company is called "53", and the app can be found in iTunes here .

This app has some really awesomely executed animations and it's these that I want to try to reproduce in a Metro app.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

How to Share Links from WP7 to Social Networking Sites using the ShareLinkTask?

Do you want to create an application or game for your Windows Phone 7 that can share links to various social networking sites of users choice? Then this post will help you to integrate the same in your application.

Continue reading the complete post to know more about the API, the internal implementation of the WP7 SDK and the way to include it in your application. Don't forget to share your feedback and if you like the post, please share it to others as this might be helpful for them too.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

How to write tests in WinRT Component DLL project [for VS11 Beta/CP]

In this post I just described a way to enable discovery and execution of tests in a WinRT Component DLL. This is not a recommended or supported way to write unit test for WinRT Component. Recommended way is to create a separate 'Unit Test Library' project. Hence, side effects of adding manifest file etc. in project are not analyzed. Please use this info at your own risk only if you don't have any other option.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Sunday, April 29, 2012

How to Create Splash Screen in WP7?

Splash Screen makes your App look good when it is loading initially . It might be a good idea to have a splash screen specially for the apps that takes some time to load.
How to Create Splash Screen in Windows Phone ?

You can create Splash Screen in Windows Phone in 2 ways:

1. Use static splash screen image
2. Create a animated splash screen

By default , when a Windows Phone project(Silverlight) is created , SplashScreenimage.jpg file is created ans placed in the project folder.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

How to Save Ringtones in WP7 using the SaveRingtoneTask?

"SaveRingtoneTask" is a sealed class present in the "Microsoft.Phone.Tasks" namespace and inherits ChooserBase class of type TaskEventArgs. It enables an application to launch the ringtones application and allows users to save a ringtone from the application to the system ringtones list. It exposes three properties named Source, DisplayName and IsShareable.

You can set or retrieve the file path to the local copy of the audio file to be added to the ringtone directory using the Source property. DisplayName used to identify the ringtone in the picker and IsShareable property is a flag that indicates if the ringtone should be accessible to other applications.

Read More...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Custom List Creation in SharePoint 2010

Introduction

Today, in this article let's play around with one of the interesting and most useful concept in SharePoint 2010.

Question: What are Lists?

In simple terms "It is a collection of different information pieces which are collaborated together and is developed with some unique set of properties which provides user to access form features".

I think we are now good to go and implement this wonderful concept.

Step 1: Open SharePoint Server 2010 and navigate to central administration. Click on manage web applications. Navigate to any site created previously.
Read More...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

How to add background image to UITableViewController in Navigation based application ?

It's a little different in a navigation based app: just change the background of the navigation view that each table view is sitting on. Placing the following code in viewDidLoad of each UITableViewController works:

self.navigationController.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"myImage.png"]]; self.tableView.backgroundColor = [UIColor clearColor];

But you may only need to do it once, at the top level of the navigation controller, rather than in each tableview controller (although you'll still have to set each background to clear).

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Saturday, April 28, 2012

Should I learn Silverlight? Objective C? HTML5?

I am sometimes asked for technical career advice. A common question these days is whether it is worth learning WPF, or Silverlight – .NET and XAML in general I suppose, or would it be better to learn HTML 5 and JavaScript, or perhaps even Objective C?

This is a challenging question to be sure. How good is your crystal ball? Smile

XAML appears to be alive and well – WPF, Silverlight, and now WinRT (Windows 8 – and probably Windows Phone 8 and "Xbox 720" and more) all use XAML.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


Develop your app for everyone–localize your UI

Being more involved in the engineering process of a product I had the chance to participate in the design of various features instead of just the ones that I'm responsible for delivering. One of those areas was the way we would enable developers to produce localized applications. Before this process I have to be honest and as an app developer never really paid much attention to providing localized versions of any app that I wrote. I had absolutely no good reason for coming to that decision, just never bothered. In helping to design and understand localization a bit more I can say that it is easy to do this in your app and there shouldn't be any excuse for any app developer to create their application in a way to make it localized at any given moment. Note I didn't say localized immediately, but rather I mean to create your app in a way that would make it easy to provide a localized version in a fairly quick turnaround.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Friday, April 27, 2012

Two Guys. No Development Experience. Some Great App Insights.

If you're serious about making money on the App Store, this is one thing you don't want to miss reading. Here's two guys who jumped onto the iPhone Apps bandwagon last year and have been documenting their entire experience online.
 
You get to see exactly how they came up with all their app ideas, how they create their apps, how they publish them, market them, and how they are performing on the App Store - complete with daily sales and revenues breakups!
 
They leave some very insightful comments and secrets that most companies and indie developers won't tell you.
 
Read More...

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

How to Share Status from WP7 using the ShareStatusTask?

Do you want to develop an application or game which will update your status or game result in some social networking sites like Facebook, Twitter, Linked-In and/or Windows Live? Then this post will help you to integrate such task in your app.

Using "ShareStatusTask" of the Windows Phone 7 SDK, you can update your status line on the social networking sites. Continue reading the post for more details of the API and the implementation steps.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Cause for Concern - Piracy on WP7

I have been playing with the Windows Phone 7 SDK for a while now, however I have been lucky to still have a day-job while doing my tinkering and therefore haven't sourced my main income from sales in the WP7 marketplace. There are others who don't have the same luxury as me and have bet a considerable amount of their time on the platform to date. Whether these developers are aware of it or not they are fighting a silent battle that I want to bring more awareness to – a problem that every smart phone ecosystem has faced to date: Piracy.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Accessing the Accelerometer in a Win8 Metro Style App using HTML and JavaScript

I have recently been coding a Windows 8 Metro Style App using the new Windows 8 Consumer Preview bits and Visual Studio 11 Express. The app is going to be a retro shooter that takes advantage of HTML5 Canvas for the main game engine and then several Windows 8 Metro Style App Features. Rather then wait for the game to be completely finished I figured I would start sharing some of my development experiences here on my blog.

One of the first ideas I had was for a "Gravity Pulse" power that would be granted upon earning a predefined a amount of points (1,500 pts being the default). Every time the user gains these amount of points a custom sound file will be played and then the screen will display a message to shake the device. If the user shakes the device within a predefined amount of time all ships on the screen will blow up.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Deploying Metro style apps to businesses

As customers continue developing great Metro style apps that increase employee productivity, we want to take a few minutes to discuss how businesses can best deploy and manage Metro style apps. The information you find here should be helpful to you, whether you're a developer writing an app targeting business users, or an IT admin responsible for deploying the app throughout your company.

When it comes to building a Metro style app for business users, the first thing you should consider—whether you are a developer or an IT admin—is how you'll deploy the app.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

WIn8 Metro Style– Bits of Binding

Data binding is a useful tool in putting an application together and I've spent quite a long time with various frameworks that support different aspects of binding. In the last few years, that has mainly revolved around the binding support that you find in XAML based applications for WPF, Silverlight and Silverlight for Windows Phone 7.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Page Navigation with WP and Windows8

In my previous column, "Converting Windows Phone to Windows 8," I created a simple Windows Phone application that consumed an XML feed from Flickr and displayed a list of images. Then I showed you how to port that application, with a relatively high level of reuse, to Windows 8. This time, I'll look at extending the Windows Phone application to multiple pages, and focus on code compatibility and the navigation model. As a disclaimer, this is a discussion of code reuse rather than a demonstration of good UI design.

Read More from: Original Source


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Microsoft’s WP Marketplace Affiliate Program ..coming soon?

It looks like Microsoft is working on a Windows Phone Marketplace Affiliate Program that will allow publishers to earn commission on app and games sales and it would seem that the Microsoft's Windows Phone Marketplace Affiliate Program is in development and participation is by invitation only. The affiliate links go through microsoftaffiliates.com website which is registered under Microsoft Corporation and affiliate links like http://www.microsoftaffiliates.com/z/1076/CD2908/ resolve to the the web marketplace http://www.windowsphone.com/en-US/apps/540af928-3c9e-e011-986b-78e7d1fa76f8. these links are not optimized to be viewed on Windows Phone as the links resolve to the web marketplace instead of redirecting to the Marketplace App on the phone.

Read More from: Original Source

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Thursday, April 26, 2012

How to Share Status from WP7 using the ShareStatusTask?

Do you want to develop an application or game which will update your status or game result in some social networking sites like Facebook, Twitter, Linked-In and/or Windows Live? Then this post will help you to integrate such task in your app.

Using "ShareStatusTask" of the Windows Phone 7 SDK, you can update your status line on the social networking sites. Continue reading the post for more details of the API and the implementation steps.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


Why VisualStudio is taking a huge time to Load Components while debugging?

After doing investigation of the issue I noticed that, it was due to a settings that I enabled yesterday. So, what was that settings changes? Ok, let me tell you that, I enabled the "Microsoft Symbol Server" to cache dependent assemblies in a local directory while debugging and it was causing the issue.

A nice transition for the turning effect of a double-sided Panel

In the expression gallery a new sample project to download source code is available. The example includes a shallow transition for the turning over of a panel consisting of two pages. The Panel is not simply revolves around the Central Y-axis, but he withdraws during the course of the process of turning a little and then completely is built up. View it yourself.

Here's goes to the source code and the example app in expression Gallery.

Read More from: Original Source

How to Send Email in WP7 using the EmailComposeTask?

In the last blog post we learnt "How to Save Email Address in WP7 using the SaveEmailAddressTask?" where we shared code snippet of the internal implementation of the SaveEmailAddressTask along with the code implementation of a demo app.

Today in this blog post we will learn how to compose an email using the Windows Phone 7 SDK class called "EmailComposeTask". Also sharing the decompiled version of the class, so that you can know the SDK implementation. Continue reading and at the end don't forget to leave your feedback.

Read More from: Original Source

Principles of Optimizing Apps : Respond to User Input

The fourth of the four principles I mentioned in Optimizing Apps for Lower Cost Devices is Respond to User Input.

A responsive UI is a basic expectation that users have of apps. Failing to respond to user input can frustrate users and can ultimately drive them away to other apps that are more responsive.

The basic guidance here is to keep as much activity off of the UI thread as possible until absolutely necessary. The UI thread is what processes user input for you, so any code you execute on that thread will interfere with this processing. Unless you're updating elements of your UI, you generally should not be executing code on the UI thread.

Read More from: Original Source

Wednesday, April 25, 2012

Process is hung in the debugger.(gdb) Xcode 4.2 SIGABRT Error

Issue 

Xcode 4.2 SIGABRT Error


Couldn't register com.domain.appsName with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger.(gdb)

Solution

Try the following things in the below order:

- Make sure all only one program is being debugged in XCode, close other running instances.

- Restart XCode, most of time this is take care of the issue.

- If you are running this on the device and is still not working restart the device and try again.

Also

The line UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); just means that an exception was thrown during the running of your program. This could range from a memory problem, to a simple runtime error. Look in the target debugger console; it will tell you where the error occurred.

Also by restoring the iOS simulator to factory defaults (Open "iOS Simulator" Menu in the upper left->Reset Content and Settings. Then quit the iOS simulator and Xcode, and then restart your computer. This will get rid of the other instance of the process.

Tuesday, April 24, 2012

Access SharePoint 2010 from iPad/iPhone

SharePoint 2010 access from iPad/iPhone

Microsoft SharePoint 2010 supports several modern, standards based; XHTML 1.0 compliant browsers such as Internet Explorer 8, Firefox 3.6 and Safari 4.x. SharePoint and IPad do not mix well together. SharePoint is fundamentally intranet desktop oriented software, it's not built for mobile, and it certainly not built for internet social online collaboration. There are 2 options available to access SharePoint from iPad/iPhone.

1. Access via Browser like Safari 
2. Third party client applications

There are several partners and 3rd party developers that provide mobile access solutions for SharePoint 2010 content, including Apple iPhone/iPad, through client applications. You can find many of these in the Apple iPhone/iPad App Store. This paper will address the only the first option.

Access for SharePoint

Out of the box SharePoint 2010 provides the ability to render mobile views of the default SharePoint templates. These mobile views are usually acceptable for an intranet or extranet deployment but they are not well suited for a public facing site. Just like any other project, the key to a successful implementation is planning. When building public facing SharePoint 2010 web sites you have complete flexibility in determining what HTML, style sheets and ECMAScript is used for rendering the site. A designer and developer can use basic web standards or they can utilize the latest HTML 5 constructs. Building a public facing web site with SharePoint that can be easily viewed on mobile devices requires a good understanding of mobile device capabilities.

Apex Part 1: Create Your First MVVM Application

Apex is a framework that I have written for rapidly building MVVM applications in WPF, Silverlight or Windows Phone 7.

I have published a few articles that have touched on topics relating to Apex - and one that describes its internals in some detail. In this series, I'm going to be showing you how to actually use Apex to build real-world applications with the MVVM design pattern.  

Look Familiar? I have a couple of other articles that relate to the basics of MVVM and the internals of Apex - this covers some of the same ground but is the baseline for a series of articles that will be covering new ground! 

DataTable caching performance

In many programs, the SqlDataAdapter.Fill method is used to retrieve data from a database and store in aDataSet. Tables that are accessed frequently, but are changed rarely, could be stored in memory for faster data access. The MemoryCache class provides the Add method with which any object may be added under some key. In this project, DataTables are added to the MemoryCache. When a record is to be retrieved from a table, it is checked if the table exists in the cache. If it exists, the DataTable is retrieved from the cache, otherwise it is retrieved from the database and stored in the cache. The record in the DataTable is found using DataView'sRowFilter property.

Simple Metro Style Panorama Control For WPF

The attached code doesn't really do too much so it doesn't need to too much jibber jabber describing what it does. What it does is pretty simple and can quite easily be summarized by the following few points

  • Create a Metro style control. I say Style, as it may not be 100% in line with what the Win8 Metro tile interface does, or how it functions, but too be honest it fitted my needs well enough and I figured it may be ok for others. So be warned its not like the best control ever, it s in fact pretty simple
  • Allow it to be used it a direct content mode/or use MVVM to drive the creation of the UI elements, via DataBinding
  • Allow the users to customise the primary/compilmentary colors should be used when generating tiles
  • Allow single tile group snap back animations (you know when you have not dragged past 1/2 way ala iPhone UI experience, it snaps back to previous tile group
  • Works with WPF

I wrote this control because I could not find one that seemed to work, I am aware of one in the Windows7 contrib/source code, but I wanted one for WPF, so I had to write this one.

So that is basically what it does in a nutshell, I guess it would be a nice thing to do at this point to show a screen shot or 2, so lets do that.

Writing a Multiplayer Game (in WPF)

When I started to program, I used AMOS BASIC. It was oriented for games and it was the reason I liked programming. Professionally, I never had the opportunity to create games but a friend who studies to create games asked me if I had something to show. I had nothing, but I decided to create a basic racing game with multi-player support to make it appealing.

420 Frames Per Second

This component is the heart of frame-based animations in WPF and Silverlight. It does not do much. It simple has aRendering event that will be triggered everytime a new frame must be processed.

For my first test it worked much better than the HighPrecisionTimer, did not consume all the CPU and it was already 60 frames per second. So, it was done.

Monday, April 23, 2012

Telerik RadCube in SilverLight 5

Today, in this article let's play around with another interesting concept of telerik rad controls.

Question: What is RadCube?

In simple terms " It enables to wrap application logic and binds it to six different sides of cube. So accessing of small information associated with the each component in the cube(six dimensional) serves much better way to view the information".

Sunday, April 22, 2012

How to Compose SMS in WP7 using the SmsComposeTask?

"SmsComposeTask" is a sealed class present in the "Microsoft.Phone.Tasks" namespace and contains two properties called "Body" and "To". You can set the phone number in "To" field where you want to send the sms. Set the message in the "Body" field before you call the Show() method to launch the messaging application. Both the fields are optional. Once the application launched in the UI, user can set those manually in any case.

Wanted!! Great Windows8 Metro style apps

Tuesday, the Windows Store blog announced that in the next significant Windows 8 preview release they will be expanding
their global coverage with 33 additional app submission locales for developers.

As Antoine Leblond alluded to in the post, our store services are ramping up as planned--and of course the plan includes ramping up developer registrations to enable app submissions to the Windows store. Today, you need an invite "token" to register. This begs the question - How can YOU get a token?

It's easy! If your app is ready and you want to be among those developers who get to submit to the store early, simply attend one of the 100s of free Application Excellence Labs that DPE and Windows are holding around the world.

Read More from: Original Source

Everything you wanted to know about databinding in WPF, Silverlight & WP7 (Part 2)

This is the second post in my serious about databinding in Silverlight and WPF. In the first post I looked at how you wire-up UI controls to a model in the absence of a databinding framework. I showed how databindings can be created in code-behind, removing the need for the various event handlers that the manual method requires, resulting in more readable code, where the connection between a UI control and a model property is all in one place. In this blog post I'll look at how bindings can be defined in XAML, providing a more concise and flexible method of wiring model objects to your view.

Read More from: Original Source
There was an error in this gadget
 
Get Twitter Fan Box Widget

Like Us On Facebook and Receive All Updates!

You can also receive Free Email Updates:

Powered By Tutorails

Followers