cool Silverlight animation

Friday, May 7, 2010


Click on jellyfish
Download SourceCode

Silverlight-4 Installation Recipe

Wednesday, May 5, 2010


Ingredients

Vs2010
Silverlight Tools-4 for Vs
Silverlight runtime -4
Silverlight Tool Kit
Expression bland -4
Preparation (downloads)

Recipe
1 Install Visual Studio 2010
2 Install Silverlight Tools for Vs2010
3 Install Silverlight runtime
4 install silverlight Tool Kit
5 install Expressoin Bland-
for enabled RIA Services Install Ria Services RC-2

For Window Phone Development
for install windows phone 7 development tool you need a windows7. than Install Expression Bland add in from here.
Install Tool for window phone 7 development download from here

For Nokia Symbian phone development
Silverlight Runtime for symbian mobiles





ADO,Net Data Service (WCF Data Services)

Tuesday, May 4, 2010

Microsoft .net framework 4 have usefull enhancements in there Data-services model After the WCf For quite long Microsoft .net Providing such useful services fro client and server side features One of Most Beautful enhancements .net is WCF Data Services (former "ADO.NET Data Services") whichImproved data binding ,Server side Paging ,Count and Enhanced Blob support.Wcf Data Service are allow to Create Open Data Protocol (OData) to expose and consume data over the Web or intranet by using the semantics of representational state transfer (REST).OData exposes data as resources that are addressed by URIs(uniform resource identifier).Data can accessed by Get,POst and other http varbs, Wcf DataServices

use Entity Data Model to Provide entity-relationship conventions. for more














Download SourceCode

silverlight web service bug

Friday, April 23, 2010


when upgraged or create new application in silverlight 4 and want to you wcf service its will provides you data in array before

that silverlight provides System.Collections.ObjectModel.ObservableCollecti to remover this bug you have do some
exercise to go you application folder >Service References>servicesnamefolder>Reference.svcmap open it in notepad
replace this



Change TypeName value to include the Silverlight assembly “System.Windows”

– like below :


reload you solution and update Services Reference .
Reg your problem at Click here


thank you
Usama wahab khan

Csharp 4.0 dynamic datatype

Thursday, April 22, 2010

Dynamic Datatype in Csharp 4.0 is quit bit familier to Var Datatype. Deference betweet Var and Dynamic is VAR initialized on CompileTime and Dynamic initialized On Runtime. that's why Dynamic Data Type able define anonymous function on Compile Time.

Dynamic datatype allow to declare anonymous. this feature is really important when your work with com specially Silverlight .
To add Properties on runtime it was really big problem in C#. some of practice are available. like using IDictionary interface in C#. but now in C#.4 by using dynamic datatype with ExpandoObject dynamic datatype you can add properties on runtime. Dynamic Type inherit IDictionary to maintain add dynamic properties.

Dynamic initialized its type on runtime like object but object initialized its type on compile time.

When we use ObjectType as parameter in overload object initialized on compile time. dynamic parameter accept as anonymous datatype and initialized its self on runtime for overload method.
Object class initialized complie time thats its not allow it to act anonymous Type
Dynamic datatype initialized runtime its allow it to act anonymous Type define its type on runtime according to type overload methad will call;

Dynamic datatype as function argument is little bit confusing in overloading cause is there is no other argument matched datatype then Dynamic will call.




Enjoy new dynamic datatype in c#4.0

By Usama whab khan

Silverlight WebPart In Sharepoint 2010

Friday, April 16, 2010




Now its a time user need Rich User Interface with high leve of interactivity that is
easly possible with xhtml technologies . for this solution Silverlight comes in
and provide leverage to you .net development to next level of Next
Generation application developement evneriment and develop Rich internet application
and provide ultimate experience for web. SharePoint also provide support for silverlight
. silverlight compiled its not into (.XAP) now you can add .xap file in sharepoint as
webPart















Usama Wahab Khan

Deleted or Select with Checkboxis in gridView

Thursday, April 15, 2010

Download SourceCode