Nowadays I am working on Integrating windows live Messenger toolkit with our MVC web application. you can download toolkit straight from Microsoft's site from HERE, Though Microsoft is providing sample application for demo that shows how to integrate the Windows live messenger toolkit with your website, There were many issues while integrating with MVC web application. First challenge that I faced was to make the Demo application compatible with our MVC architect. because the sample code works based on Request and Response Architecture while MVC application follows the Action and Result architecture. So first I have to convert the all the handlers in to controller methods then all other respective changer are to be done.
The second Challenge was to run the application on secure layer(HTTPS) . every thing worked fine except the chat bar. It was showing some interesting error that Channel-Url contains different domain then that is registered. The solution was simple that I have supply name of the domain which is registered with Microsoft's site. So being on Secure layer I was supplying https://my.mydomain.com. But still its giving the same error. After spending lots of time on google, trial and error I came to know. being on https does not required any change in channel Url so I just pass http://my.mydomain.com, and bingo.... its working fine.
its well said that some time its wise not to be wise.
The second Challenge was to run the application on secure layer(HTTPS) . every thing worked fine except the chat bar. It was showing some interesting error that Channel-Url contains different domain then that is registered. The solution was simple that I have supply name of the domain which is registered with Microsoft's site. So being on Secure layer I was supplying https://my.mydomain.com. But still its giving the same error. After spending lots of time on google, trial and error I came to know. being on https does not required any change in channel Url so I just pass http://my.mydomain.com, and bingo.... its working fine.
its well said that some time its wise not to be wise.
Comments
Post a Comment