What is Repository Factory

Monday, August 31, 2009

Repository Factory
Repository factory is a part of microsoft pattern and practice.
It comes with web service software factory.
It is a data access guidance package which allows to create the entity class and you can map those classes for database tables and fields.

ADO.Net Overview

Sunday, August 30, 2009

Background
• ADO (ActiveX Data Objects) was originally designed as a connected and tightly coupled model.
• ADO was more appropriate for the client/server architectures and not designed for a distributed and n-tier environment.
• ADO was not hierarchical like XML structures.
• ADO object was not well factored.

What is ADO.Net
• ADO .NET is a collection of classes, interfaces, structures, and enumerated types that manage data access from relational data stores within the .NET Framework
• ADO.NET collections are organized into the following namespace.
- System.Data,
- System.Data.OleDb,
- System.Data.SqlClient, etc.
• ADO .NET is an evolution from ADO.

Managed Providers
- Merges ADO and OLEDB into one layer
- Each provider contains a set of classes that implement common interfaces

Initial managed provider implementations:-
-ADO Managed Provider: provides access to any OLE DB data source
- SQL Server Managed Provider: provides optimal performance when using SQL Server
Data Access Style
ADO.NET access data into two ways.
- Connected mode: Forward-only, read-only mode
- Application issues query then reads back results and processes them.
- ADO.Net uses DataReader object in connected mode.
- Disconnected mode
- Application issues query then retrieves and stores results for processing of the data.
- Minimizes time connected to database
- ADO.Net uses DataSet object in disconnected mode.

Remote Objects

Saturday, August 29, 2009

In remoting there are two kind of remote objects are available.
1. Client activated Objects – A client activated objects is created and destruction is done by the client application. An instance of the remote object is created when client invokes new operator on the server objects. This instance lives as long as client requires it.

The client object will be destructed once its existence is no longer required by any client.

2. Server activated objects – A server activated object’s lifetime is managed by the remote server and not by the client which instantiates the objects. Server activated objects are not created by the client when it calls new operator. They are created when client invokes proxy method.

There are two kinds of server objects.
Single Call
– Single call objects handle only one request from a client. Single call objects are stateless objects.
Singleton – Singleton objects instance serves multiple clients. Singleton objects are stateful objects.

Quick reference guide to WCF

Monday, August 17, 2009

What is WCF?
• WCF stands for Windows Communication Foundation.
• WCF delivers Microsoft’s first platform built specifically for advanced service-oriented architecture (SOA), with a framework intended to bring it within reach of most developers.

It provides a unified programming model and communications infrastructure for developing connected systems.
• WCF simplifies development process through a service-oriented programming model in which autonomous programs are composed using asynchronous message passing.
WCF Fundamentals
A WCF Service is a program that exposes a collection of Endpoints.
Each Endpoint is a portal for communicating with the world.
A Client is a program that exchanges messages with one or more Endpoints.
A client may also expose an Endpoint to receive Messages from a Service in a duplex message exchange pattern.
Endpoints components
A WCF Service Endpoint has an Address, a Binding, and a Contract.
The Endpoint's Address is a network address where the Endpoint resides.
The EndpointAddress class represents a WCF Endpoint Address.The Endpoint's Binding specifies how the Endpoint communicates with the world including things like transport protocol (e.g., TCP, HTTP), encoding (e.g., text, binary), and security requirements (e.g., SSL, SOAP message security).
The Binding class represents a WCF Binding.
The Endpoint's Contract specifies what the Endpoint communicates and is essentially a collection of messages organized in operations that have basic Message Exchange Patterns (MEPs) such as one-way, duplex, and request/reply.
The ContractDescription class represents a WCF Contract.WCF RuntimeThe WCF Runtime is the set of objects responsible for sending and receiving messages. MessageThe WCF Message is the unit of data exchange between a Client and an Endpoint.

About SilverLight

Overview of Silver Light
- Silver Light is plug-in software for Internet based Graphical application.
- Its cross- browser plug-in and similar to FLASH program.
- Silver Light uses XAML, HTML, JavaScript to create animation, vector graphics for making application more interactive.
- Using Silver Light we can play windows media file also and its deployment package is less than 2 MB.
- We can use Silver Light XMAL into the WPF application also.
- Silver Light is platform independent and we don’t require .NET framework also.

Following are the Silver Light Features
- Silver Light is platform independent and it can run on IE 6 and above, Firefox and Safari browser. It doesn’t support on Linux platform currently.
- The setup package is very lightweight and it is less than 2 MB size.
- Silver Light supports the 2D drawing and animation.
- Silver Light supports to play WMA, WMV files also.
- We can call ASP.NET web service or WCF service through the Silver Light application.

For more detailed information please visit following sites
- http://www.silverlight.net
- http://msdn.microsoft.com/silverlight

 
 
 
Your Ad Here