Thursday, September 9, 2010
wcf: MS Exchange Agent
An Ajax enabled web application that communicates with a wcf service for getting appointment items from Exchange Server. This service defines interfaces for create/update/delete/get appointments from Exchange server.
Users can click on any date in the calender control and Outlook appointments will be presented in an Ajax enabled web portlet.
In the past I have used .Net remoting to communicate with the server to get results from a service to the web page. It was slow and was kind of ugly to write code to interpret the integer command argument (only way to communicate with a service) for processing.
Proxy files are generated using svcutil.exe. We chose to host the service in Windows Services rather than IIS. This enables us to take advantage of Corporate Service Monitoring application to monitor the service. This service is installed on two servers with a fail-over capability.
download code
-paul