Pages

Showing posts with label WCF. Show all posts
Showing posts with label WCF. Show all posts

Wednesday, March 28, 2012

To fix install the WCF non-HTTP activation components

The content type text/html of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 959 bytes of the response

To fix install the WCF non-HTTP activation components
Click the Start button, and then click Control Panel.

Click Programs, and then click Programs and Features.

On the Tasks menu, click Turn Windows features on or off.

Find the .NET Framework 3.0 node, select and then expand it.

Select the WCF Non-Http Activation Components box and save the setting.

Tuesday, January 26, 2010

รู้จัก .NET 3.0

ถ้าจะพูดถึง window workflow จริง ๆ ก็มีมานานแล้วละครับ ตั้งแต่สมัยที่ .net 3.0 ออกมา ก็นานพอสมควร ก่อนอื่นเรามาดู .net 3.0 กันก่อนดีกว่า ว่ามีความสามารถอะไรกันบ้าง


จริง ๆ .net 3.0 มันจะทำต่อมาจาก .net 2.0 โดยเพิ่ม มาอีก 4 ส่วนคือ
  1. CardSpace จะเป็นส่วนที่ทำหน้าที่เก็บข้อมูล Card เพื่อยืนยันตัวตา อย่างเช่นพวกบัตรเครดิตที่ใช้ซื้อสินค้า online โดยข้อมูลจะเก็บที่เครื่อง client
  2. Window Presentation Foundation (WPF) จะเป็นส่วนแสดงผลทำงานโดยใช้เทคโนโลยีแบบ Vector Graphic ข้อดีคือ ไม่ทำให้ภาพแตกเวลาที่เราซูม (โดยปกติที่ซูมมันแตกตลอด) และยังทำเป็น 3 มิติ สามารถหมุนได้
  3. Window Communication Foundation (WCF) จะเป็นส่วนที่สร้างมา สำหรับการออกแบบ application แบบ service-oriented จะมีลักษณะคลายกับ Object-oriented แต่ service-oriented จะไม่มองลึกถึงระดับ object แต่จะมองแค่ service
  4. Window WorkFlow (WF) เป็นส่วนที่ใช้สร้างแบบการไหลของการทำงาน
Visual studio 2005 ก็สามารถทำงานได้ แต่ว่าจะต้องลง .net 3.0 ก่อนนะครับ เป็นอะไรที่น่าตื่นเต้น ๆ




Thursday, January 7, 2010

Intorduction wcf

จริง ๆ wcf ก็มีมานานแล้วละ ตั้งแต่ .net 3.0 ก็เคยของอ่านนิดหน่อยแบบเผิน ๆ ไม่ได้จริงจังกับมันมา
และมาถึงวันนี้ เริ่มที่จะมีงานเข้าที่จำเป็นต้องใช้ wcf เต็มตัวก็เลยต้องมาปัดฝุ่นกันนิดหน่อย

ก่อนอื่นมาดู features ของ wcf ที่เหนือกว่า asp.net web service

1. Support for sending messages using not only HTTP, but also TCP and other network protocols.
2. The ability to switch message protocols with minimal effort.
3. Support for hosting services on hosts other than a Web server.
4. Built-in support for the latest Web services standards (SOAP 1.2 and WS-*) and the 5. ability to easily support new ones.
6. Support for security, transactions and reliability.
7. Support for sending messages using formats other than SOAP, such as Representational State Transfer (REST).

Resource : http://msdn.microsoft.com/en-us/netframework/aa663324.aspx