Understanding WCF advanced concepts and comparing it to ASMX 2.0 or WSE 3.0

10. January 2007
Essentials references for understanding WCF…. WCF Base WCF Callbacks, Events WCF Instances Management WCF Features comparison : (table below was extracted from this article) Web Service Software Factory Feature ASMX 2 .0 plus WSE 3. 0 WCF Hosting IIS/ASP.NET (.asmx) SoapReceivers IIS/ASP.NET (.svc) ... [More]

Architecture, Web Services, XML , ,

Xml Notepad sample application

21. October 2006
Consultez cet article intéressant sur l’implémentation d’un notepad pour XML : XML Notepad 2007 A menu : Design and ImplementationValidation, IntelliSense, and Custom EditorsInfinite Undo/RedoUnit TestingConclusion Article : http://msdn2.microsoft.com/en-us/library/aa905339.aspxDownload : http://www.microsoft.com/downloads/details.aspx?familyid=72D6AA49-787D-4118-BA5F-4F30FE913628&mg_id=10051&displaylang=en ou XML Notepad 2006 : http://www.microsoft.com/f... [More]

XML, Web Services, .NET Projects , ,

Validate XML with XSD

15. May 2006
To validate an XML file with an XSD file, use this ! public static XmlDocument ValidateAndLoadXmlDocument(string xmlFilePath, string xsdFilePath){ XmlDocument xmlDoc;XmlReaderSettings xmlSettings = new XmlReaderSettings();xmlSettings.Schemas.Add(null, xsdFilePath);xmlSettings.ValidationType = ValidationType.Schema;XmlReader xmlReader = XmlReader.Create(xmlFilePath, xmlSettings);xmlDoc = new XmlDocument();xmlDoc.Load(xmlReader);return xmlDoc; } Use this for asynchronous validation ... [More]

XML, Web Services, .NET Projects , ,

Remove nodes from xml document

13. May 2006
If you need to remove nodes from an xml document, here is an example. This sample clean duplicated nodes and only keeps the last one (according to the date field).    Source.xml (the file to filter)    <?xmlversion="1.0"encoding="utf-8" ?> <Root>     <Products>       <Product>         <Name>Product1</Name>         <DataGroup>   &nb... [More]

XML, Web Services, .NET Projects , ,

Dernières nouvelles post devdays 2006 !

23. April 2006
Puisque cela concerne les DevDays 2006 from France, je la fait en français ! Bon, voila avec une semaine de retard (je taquine), on a enfin accès aux ressources des devdays. Une connexion passport est nécessaire pour accéder au élements suivants : - Accueil et introduction - Test et qualité des applications avec Visual Studio Team System - Architecture orientée service avec Windows Communication Foundation - Intégrer un workflow dans... [More]

News, SharePoint, Architecture, XML, Web Services, .NET Projects, Developer Tools, Office , , , , , , ,

.NET 2.0 : Change the SOAP protocol version

10. March 2006
To change the SOAP protocol version, use the SoapHttpClientProtocol.SoapVersion property. A ASP.NET 2.0 web service class inherit of SoapHttpClientProtocol class, so you can use the SoapVersion property. 3 values can be used… MyWebService service = new MyWebService(); […] service.SoapVersion = SoapProtocolVersion.Default; service.SoapVersion = SoapProtocolVersion.Soap11; service.SoapVersion = SoapProtocolVersion.Soap12; The default value is SoapProtocolVersion.Soap11

XML, Web Services ,

Web Services Enhancements (WSE) 3.0 Readme

10. March 2006
The Web Services Enhancements 3.0 for Microsoft .NET (WSE) enables developers to create interoperable Web services with advanced Web services features. With WSE 3.0, you can secure your messages using digital signatures and encryption, use MTOM to efficiently send large amounts of binary data, route messages through intermediaries, host Web Services outside of IIS, use the TCP/IP protocol and more. WSE 3.0 comes complete with samples and product documentation. For more information, visit the WSE... [More]

XML, Web Services ,

.NET WebService attributes memento

10. March 2006
The WebService attribute provides the following properties: Description – The value of this property contains a descriptive message that is displayed to prospective consumers of the XML Web service when description documents for the XML Web service are generated, such as the service description and the service help page. Name – The value of this property contains the name for the XML Web service. By default, the value is the name of the class implementing the XML Web service. The Name proper... [More]

XML, Web Services ,

Using Xpath queries with MSXML

30. November 2005
To use Xpath queries with MSXML, don’t forget to set the following propoerty of your xml document object : xmlDocument.setProperty “SelectionLanguage”, “XPath” Example : Set xmlDocument = New DOMDocument40 xmlDocument.Load(”example.xml”); xmlDocument.setProperty “SelectionLanguage”, “XPath” Set xmlNode = xmlDocument.selectSingleNode(”//COMPANY/CUSTOMER[substring(@type,1,2) =’FR’]”) Refe... [More]

XML, Web Services ,