Skip to main content

Posts

Showing posts from July, 2009

Resolving the Croos-Domain Policy issue while accessing WCF Service in a Silverlight Application

W hile trying to access WCF service into my Silverlight application, i came accross "Cross-Domain" policy issue. As i'm new to WCF service, i didn't know that an access policy file is required. By default, Silverlight supports calls to Web services on the same domain or site of origin. Same domain means that calls must use the same sub domain, protocol, and port. This is for security reasons and prevents cross-domain forgery. You can enable Web services to be called by a Silverlight application in another domain by deploying a Web service that uses the correct cross-domain policy file at the root of the domain. You need to add this crossdomain.xml file to the root of IIS hosted service directory. Read more about Cross-Domain policy here .

SharePoint 2010 Sneak Peek Site is LIVE!

Recently Microsoft launched the SharePoint 2010 Sneak Peek site. This site includes some of the features that SharePoint 2010 will include in it's upcoming version. This was a wonderful project to work on with wonderful team members - me, kailash and jomit

About SharePoint Site Definitions

A SharePoint site definition consists of CAML elements that describe the different parts of the site and how they relate to each other. The topmost element is the 'template' element which is declared in the special file called WEBTEMP, which contains further template configuration elements. Each of the template configuration elements defined in WEBTEMP file references associated site definition configuration elements in the ONET.xml file. When talking about site definitions it is important to understand the difference between Site templates and Site definitions. When users create a new SharePoint site or site collection through user interface, they are actually using one of the available site templates as defined in the WEBTEMP.[name].xml file, where [name] is the visible template name. The site definiton configuration elements are defined in the configuration elements in the ONET.xml.