Friday, September 17, 2010

Building Windows Phone 7 Application .

In this blog Post I am going to build small Windows Phone Twitter Search Application . When we finish building then app this is how it looks

image 

Here is the steps we are going to follow .

1) Create VS.NET 2010  Windows Phone Application .

2) Build XAML UI.

3) We are going to parse that result using  LINQ TO XML.

4) Write Button click Event handler which will execute the  Twitter Search API and  get the  ATOM format Result.

5) Store the result in our Model  (Class which holds the  following properties Date published, Title, Image Uri).

6) Bind to the  View.

First  lets  create  a windows phone 7  Application project and  name it  TWAPP.

image

The following  XAML code builds  Textbox and Search button  where  user enter  search string and click Search button.

image

Next  we are going  construct the XAML which shows the  user Search result .

image

Here is our  MODEL

image

 

image

In Silverlight all calls to out side world is ASYNC.  Now we finished building the app and ready to compile and run .

image 

Now  enter the  some search string an click search button.

image

 

Nandri(Thanks)

Sreenivasaragavan.

Thursday, September 16, 2010

MS Windows Phone 7 Developer Tool RTM Released today

Today MS  Released  Windows Phone  Developer  Tool .  To  develop Windows Phone  7  Apps.

please point your Browser to  the following URL and Download the tool. http://developer.windowsphone.com/windows-phone-7/ 

image

Windows Phone 7  Application different Project Templates.

 

image

My First Windows Phone 7 App.

image

 

Nandri(Thanks)

SreenivasaRagavan

Wednesday, September 15, 2010

MS Today Released IE 9.0 Beta

Here is the URL to Download  http://windows.microsoft.com/en-US/internet-explorer/products/ie-9/home?os=win7&arch=b&browser=ie

 

image

 

My  Blog browsed using IE  9.0

image

Nandri(Thanks)

SreenivasaRagavan.

How to Debug .NET Framework Source Code

In this blog post I am going to show how to setup VS.NET Environment to step into .NET Framework source code. To do this exercise let us create small VS.NET Application and add some code which uses any of the .NET Framework Library Functions here I am using LINQ.  

 

image

This below source code just returns the even numbers from integer array and prints into Console .

image

Right click on the project and make sure you uncheck the  Enable the Visual Studio hosting process option as shown below.

image

Now go to Tools option from main menu and select Options as shown below.

image

Now set the options as shown below.

image

 

image

Now press F11 and debug the app. ( First time you can see the Dialog windows which shows downloading the .NET Framework Symbol )

image

When I hover over evennumbers variable I could able to see the source code life for that  as shown above. Now we are able to debug the .NET Framework source code same we do with our Custom code.

Nandri(Thanks)

SreenivasaRagavan.