Skip to main content

Posts

Showing posts from August, 2007

Microsoft Connected Services Framework

The Microsoft CSF is an integrated, server-based software product which enables service oriented architecture (SOA) to empower the creation and management of services across networks and devices. An interoperable, manageable, and scalable infrastructure of services can be integrated with the existing technologies. It enables an SOA to create new Web Services, update the existing one and aggregate services into a single distributed application. CSF helps to create, deploy and update applications that composed of web services. The basic built-in blocks of CSF performs identity or profile management or service discovery functionality and does not require taking care of those in services. Key Functions and Components Connected Services Framework consists of components (see Figure below) that provide environments for service creation, deployment, and execution of voice, data, and multimedia services, as well as system management. In addition, Connected Services Framework provides a platform...

Service Oriented Architecture

Service Oriented Architecture (SOA) is an imminent version of the Component Based Architecture. It is an Interface Based Object Oriented Design.It can also be viewed as a Distributed System that communicates across the Internet.SOA is based on the use of distributed objects and components and is the next evolutionary step in computing environments. SOA does not have a standardized, reference model yet; however, implementations share the main concepts of services, service descriptions, advertising and discovery, the specification of an associated data model, and the use of a service contract. Although SOA and Web services are two separate but related entities, it is more important to realise the clear distinction between them. Web services, in the form of SOAP-based interapplication connections, has been highlighted, while SOA — a body of application architecture and design concepts — has largely been viewed as a side effect of Web services. An SOA, at its heart, is a collection of serv...

XSD Schema Validation

The other day I was writing a .NET application which would read all the configuration details from an xml file.The application was not going to initialize properly unless the data in the config file were well formed.So I was wondering whether there was a way to validate an xml against some defined XSD schema. Thankfully there is. This is how I did it. ............................................. //Open the file with xml reader XmlTextReader reader = new XmlTextReader (configFilePath); //Some local path // Read the Schema XmlReader schemaReader = new XmlTextReader (schemaPath); //path of the XSD file XmlSchema schema = XmlSchema .Read(schemaReader , null); // Create a validating Reader for the text reader XmlValidatingReader validatingReader = new XmlValidatingReader (reader ); validatingReader.ValidationType = ValidationType.Schema; validatingReader.Schemas.Add(schema); // Add the Schema to validatingReader validatingReader.ValidationEventHandler += new ValidationEventHandler( t...