Monthly Archives: July 2011

How to configure WCF Service to wsHttpBinding binding

My namespace is WcfServiceCMM, Interface is IService and service class is Service1. So I insert the following block of code to Web.config file. <system.serviceModel>   <services>     <servicename=“WcfServiceCMM.Service1“behaviorConfiguration=“WcfServiceCMM.Service1Behavior“>       <!– Service Endpoints –>       <endpointaddress=“”binding=“wsHttpBinding“contract=“WcfServiceCMM.IService1“>         <!–             Upon deployment, … Continue reading

Posted in .Net | Tagged | Leave a comment

The HTML document does not contain Web service discovery information

You might receive the message ——————————————————————————————- The HTML document does not contain Web service discovery information. Metadata contains a reference that cannot be resolved: ‘http://localhost:1091/Service1.svc&#8217;. Content Type application/soap+xml; charset=utf-8 was not supported by service http://localhost:1091/Service1.svc.  The client and service bindings … Continue reading

Posted in .Net | Tagged , | 3 Comments

Where to get AppFabric for Windows 7

Go here and download the installer http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=15848   The installation screen looks like below.

Posted in .Net | Tagged | Leave a comment

Use WCF Test Client to test WCF Service Application

This is a very handy way to test your WCF Service Application. Watch the video below.   Use WCF Test Client to test WCF Service Application Rsources: Calling Synchronous Methods Asynchronously – simplify sample Simple WCF DataGrid Entity Framework binding … Continue reading

Posted in .Net | Tagged , | 1 Comment

How to view PowerPoint slides if you do not have PointPower or PowerPoint viewer install?

You can save the PowerPoint file to skydrive and view it as in the video below. How to view PowerPoint slides if you do not have PointPower or PowerPoint viewer install?

Posted in Microsoft Office | Tagged , | Leave a comment

How to drag and drop local files to Silverlight application

This sample you can find it in All-In-One code framework. Somehow you will not see margin in between each picture. I have done a small modification to do that as the code below. // Handle drop event here. private void … Continue reading

Posted in .Net | Tagged | Leave a comment

One way to open Internet Explorer from WPF

In order to open the IE in WPF form it is just a line of code.   Process.Start(“IExplore.exe”, “https://chanmingman.wordpress.com”);   Download the complete code fromhttp://skydrive.live.com.The sample file name is WpfAppIE.rar. My MSN ID is chanmmn@hotmail.com.

Posted in .Net | Tagged , | Leave a comment