Networking and Communication<br />Mahender<br />Senior Software Engineer<br />United Health Group<br />
Mahender Sarangam<br />Having 5 years of experience on .NET Technologies. Working as a Senior Software Engineer in United ...
What is Cross Domain Communication?<br />
If a HTTP request matches the origin server’s domain, protocol, and port number, then it’s considered a site of origin req...
http://foo.com/bar/datahttp://foo.com/clientaccesspolicy.xml<br />Silverlight looks for cross Domain Policy once per appli...
Client Access Policy.xml<br /><?xml version="1.0" encoding="utf-8"?><br /><access-policy><br /><cross-domain-access><br />...
Cross Domain<br /><?xml version="1.0" encoding="utf-8"?><br /><access-policy><br /><cross-domain-access><br /><policy><br ...
Polling: With polling, you create a client that connects to the server periodically and checks for new data..<br />Sockets...
			Thank you<br />
Upcoming SlideShare
Loading in …5
×

Networking and communication

1,084 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
1,084
On SlideShare
0
From Embeds
0
Number of Embeds
362
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Networking and communication

  1. 1. Networking and Communication<br />Mahender<br />Senior Software Engineer<br />United Health Group<br />
  2. 2. Mahender Sarangam<br />Having 5 years of experience on .NET Technologies. Working as a Senior Software Engineer in United Health Group (UHG India Information Service Ltd.). Worked with Big Firms like Deloitte Consulting & Wipro Technology. <br />Got Technical Acquaintance on Technologies like C#, ASP.NET,AJAX, LINQ, Silverlight, WPF,WCF ,SQL Server, Team Foundation Server(TFS) and SharePoint Technology. <br />MCTS Certified in Web Technologies.<br />Blog : http://Msarangam.wordpress.com <br />
  3. 3. What is Cross Domain Communication?<br />
  4. 4.
  5. 5. If a HTTP request matches the origin server’s domain, protocol, and port number, then it’s considered a site of origin request and is allowed.  Otherwise, it’s classified as a cross domain call.<br />In order for a cross domain request to a particular web service to succeed, that web service needs to explicitly opt-in to 3rd party callers.<br />Silverlight Cross Domain Policy File (clientaccesspolicy.xml)<br />(A subset of the) Flash Cross Domain Policy File (crossdomain.xml)<br />
  6. 6. http://foo.com/bar/datahttp://foo.com/clientaccesspolicy.xml<br />Silverlight looks for cross Domain Policy once per application Session<br />
  7. 7. Client Access Policy.xml<br /><?xml version="1.0" encoding="utf-8"?><br /><access-policy><br /><cross-domain-access><br /><policy><br /><allow-from><br /><domain uri="*"/><br /></allow-from><br /><grant-to><br /><resource path="/" include-subpaths="true"/><br /></grant-to><br /></policy><br /></cross-domain-access><br />
  8. 8. Cross Domain<br /><?xml version="1.0" encoding="utf-8"?><br /><access-policy><br /><cross-domain-access><br /><policy><br /><allow-from><br /><domain uri="*"/><br /></allow-from><br /><grant-to><br /><resource path="/services/" include-subpaths="true"/><br /></grant-to><br /></policy><br /></cross-domain-access><br /></access-policy><br />
  9. 9. Polling: With polling, you create a client that connects to the server periodically and checks for new data..<br />Sockets: The most powerful option is to use sockets—low-level network connections. Sockets avoid HTTP altogether, in favor of the leaner and more efficient TCP..<br />Duplex services: Silverlight includes a feature for creating duplex services, which allow two-way communication (meaning the server can contact your client when needed<br />
  10. 10. Thank you<br />

×