By  Pranay Rana Image copied from : Nikhil Kothari’s Blog Blog : http://pranayamr.blogspot.com Twitter : http://twitter.co...
<ul><li>How Silverlight application work  </li></ul><ul><li>Domain Service </li></ul><ul><li>MetaData and Shared Files </l...
Rich application
 
 
 
 
 
8/1/11
8/1/11
 
8/1/11
<ul><li>Domain services are Windows Communication Foundation (WCF) services that encapsulate the business logic of a WCF R...
<ul><li>WCF RIA Services simplifies the traditional n-tier application pattern </li></ul><ul><li>Enable client and server ...
<ul><li>Partial classes of the entity classes designed by enity model </li></ul><ul><li>Same as entity class just to add a...
8/1/11
<ul><li>Allow to share code between client and server  </li></ul><ul><li>Allow to share the business login between server ...
<ul><li>Source of Data </li></ul><ul><li>Most of the time its an instance of entity. </li></ul>
<ul><li>property=&quot;{Binding}&quot; </li></ul><ul><li>property=&quot;{Binding Path=pathvalue}&quot; </li></ul><ul><li>p...
<ul><li>Converter </li></ul><ul><li>ConverterCulture </li></ul><ul><li>ConverterParameter </li></ul><ul><li>Mode </li></ul...
<ul><li>One Way binding </li></ul><ul><ul><li>Data Flow from entity instance to presentation </li></ul></ul><ul><li>Two Wa...
<ul><li>Data Annotation Validation Attributes </li></ul><ul><ul><li>Required  </li></ul></ul><ul><ul><li>StringLength </li...
 
8/1/11
 
<ul><li>Question  </li></ul><ul><li>and  </li></ul><ul><li>Query </li></ul>
<ul><li>Thank YOU </li></ul>
Upcoming SlideShare
Loading in …5
×

Build your silver light application

954 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
954
On SlideShare
0
From Embeds
0
Number of Embeds
468
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Build your silver light application

  1. 1. By Pranay Rana Image copied from : Nikhil Kothari’s Blog Blog : http://pranayamr.blogspot.com Twitter : http://twitter.com/pranayamr FaceBook : http://www.facebook.com/pages/GMind-Solution
  2. 2. <ul><li>How Silverlight application work </li></ul><ul><li>Domain Service </li></ul><ul><li>MetaData and Shared Files </li></ul><ul><li>Bindings and DataContext </li></ul><ul><li>Validations (Client side and Server side) </li></ul><ul><li>CRUD operation </li></ul>
  3. 3. Rich application
  4. 9. 8/1/11
  5. 10. 8/1/11
  6. 12. 8/1/11
  7. 13. <ul><li>Domain services are Windows Communication Foundation (WCF) services that encapsulate the business logic of a WCF RIA Services application. </li></ul>
  8. 14. <ul><li>WCF RIA Services simplifies the traditional n-tier application pattern </li></ul><ul><li>Enable client and server by exposing code on client side which is written on server side </li></ul><ul><li>Enable entity , validation logic </li></ul>
  9. 15. <ul><li>Partial classes of the entity classes designed by enity model </li></ul><ul><li>Same as entity class just to add attribute to the property , Never get called </li></ul><ul><li>Defined by added following attribute at top </li></ul><ul><ul><li>[MetadataTypeAttribute(typeof(classname))] </li></ul></ul>
  10. 16. 8/1/11
  11. 17. <ul><li>Allow to share code between client and server </li></ul><ul><li>Allow to share the business login between server and client </li></ul><ul><ul><li>I used it for the validation purpose </li></ul></ul>
  12. 18. <ul><li>Source of Data </li></ul><ul><li>Most of the time its an instance of entity. </li></ul>
  13. 19. <ul><li>property=&quot;{Binding}&quot; </li></ul><ul><li>property=&quot;{Binding Path=pathvalue}&quot; </li></ul><ul><li>property=&quot;{Binding </li></ul><ul><li>oneOrMoreBindingProperties}&quot; </li></ul><ul><li>Property =&quot;{Binding Path=pathvalue, </li></ul><ul><li>oneOrMoreBindingProperties}&quot; </li></ul>
  14. 20. <ul><li>Converter </li></ul><ul><li>ConverterCulture </li></ul><ul><li>ConverterParameter </li></ul><ul><li>Mode </li></ul><ul><li>Source </li></ul><ul><li>Path </li></ul><ul><li>NotifyOnValidationError </li></ul><ul><li>ValidatesOnExceptions </li></ul>
  15. 21. <ul><li>One Way binding </li></ul><ul><ul><li>Data Flow from entity instance to presentation </li></ul></ul><ul><li>Two Way binding </li></ul><ul><ul><li>Data Flow form entity instance to presentation and presentation to entity instance </li></ul></ul>
  16. 22. <ul><li>Data Annotation Validation Attributes </li></ul><ul><ul><li>Required </li></ul></ul><ul><ul><li>StringLength </li></ul></ul><ul><ul><li>Regular Expressions </li></ul></ul><ul><ul><li>Range (for numeric inputs) </li></ul></ul><ul><li>Custom Validation Attributes </li></ul>
  17. 24. 8/1/11
  18. 26. <ul><li>Question </li></ul><ul><li>and </li></ul><ul><li>Query </li></ul>
  19. 27. <ul><li>Thank YOU </li></ul>

×