שלמה העלה פוסט היום בנושא Binding ב-WCF ובו הוא הציג כיצד ניתן להשתמש ב-Custom binding ליצירת שירות שמעביר הודעות בינאריות מעל HTTP. שלמה ציין שמקרים אלו נתמכים במצבים בהם גם הקליינט וגם השירות כתובים בדוטנט – אחד המקרים האלו הן אפליקציות Silverlight שברוב המקרים מתקשרות עם שירותים באמצעות BasicHttpBinding (כי רוב ה-bindings האחרים לא נתמכים). במקרים כאלו ניתן לשפר את הביצועים של תעבורת הרשת ע”י הגדרת custom binding המשלב binary encoding כפי ששלמה הציע ובכך לאפשר ל-Silverlight ולשירות ה-WCF להעביר...
Entity framework supports creating an entity type that holds binary data (byte[]), this is useful if you need your entity to hold things like file streams, photos etc. But there is a problem when your entity has a property of type binary. If you’ve worked with EF and N-tier applications, you know that you can serialize your entity and pass it to the client, deserialize it the client-side, change it and the send it to the server to be updated. MS suggests using the ApplyPropertyChanges method of the...