free hit counter javascript
WCF - Dotmad (on .Net)

Dotmad (on .Net)

Just Another Web 5.0 Blog

Podcasts

Blogroll

Browse by Tags

All Tags » WCF (RSS)
WCF UDP multicast channel performance
After creating a custom UDP mulitcast channel using WCF I ran some tests. I used this sample data contract class: string Name string Description ushort Id double X double Y double VX double VY uint Flags DateTime CreatedTime DateTime UpdateTime Benchmark Results: Max amount of sent objects per second using 100mbit hub (using Intel 3Ghz HT CPU - not dual core): 46000 CPU load during peak sending - 15-25% Effect of zip encoding - 50% less bandwidth with random values (probably 60-70% reduction in a...
Using UDP multicast channel in WCF
I recently needed to build a WCF UDP application as a proof of concept. Sadly UDP is not among the channels bundled with the WCF, so I needed to put up something myself: Downloaded the WCF technology samples , containing a UDP transport demo (there used to be a sample at the netfx3 site, but it's long-gone) Copied the UDP transport sample project (from the folder \Extensibility\ Transport\Udp\Cs\UdpTransport ) into my solution Added the extensions section to the config file to add the UDP support...
Posted: Jun 10 2008, 02:59 PM by Dotmad | with 1 comment(s)
תגים:,
Disabling the WCF Service Host (WcfSvcHost.exe)
One of the new and very annoying feature of Visual Studio 2008 is the WCF service host : Windows Communication Foundation (WCF) Service Host (WcfSvcHost.exe) allows you to launch the Visual Studio debugger (F5) to automatically host and test a service you have implemented. The tool is integrated into Visual Studio through the WCF Service template and is invoked when you start to debug your project. Sounds like a useful tool, right? Well, if you don't need this functionality, especially if you...
Disappointing real-world SOA and Durable services lectures
After going to Tamir's lecture I had my first two misses - lectures I didn't enjoy. First I went to "Pushing The Technology To The Edge - A Real World Story", which turned out to be aimed for software architects. Although I did design the architecture of application in the past, discussing theory alone tend to wear me out. In addition to that the lectures spent 45 minutes describing the domain, before getting to the solution his company actually implemented. I admit - I gave up...
Building WCF infrastructure lecture
I'm currently viewing Eyal Vardi 's lecture on WCF. The lecture began with an intro (which I think was not necessary) definition of the "player" dealing with communication before it reaches the channel: ChannelDispatcher Handles exceptions, throttling, timeouts and routing to the EndpointDispatcher (using the chain of responsibility pattern). EndpointDispatcher: Handles filtering by address and channel type (giving responses to the CD for the COR pattern) DispatcherRuntime: Handles...
Using XmlSerializer for Serialization/Deserialization
This is something I wrote a while ago to allow easy way to serialize/deserialize various objects to and from XML by creating an adapter around the XmlSerializer class. Since I don't know how this XML is going to be used this class stores it inside a string. Serialize usage: string s = SimpleSerializer.Instance.ToString(myObject); XmlDocument xDoc = new XmlDocument(); xDoc.LoadXml(s); Deserialize: MyClass obj = SimpleSerializer.Instance.FromString(xDoc.OuterXML); /// <summary> /// Objects...
New Technologies Trends
I have written before a short comparison between "old" and newer technologies, but at the beginning of that post I state that part of the choice of a new technology is the market trend towards that technology. After reading Justin's post showing that moving to ASP.NET is beneficiary because it's becoming a prominent technology I decided to implement his research methods (using Google) on different technologies. I began by searching for file types However, this reflects only on files...
Upgrading technologies in an existing project
We all know about the "cool new kids in town", meaning new technologies all developers want to use. Offer a developer two positions: Programming with C# 1.1 Programming with WPF and C# 3.5 What do you think most developers will choose? However, there is the question of an existing project, written in an "uncool" technology. In my experience developers tend to push towards using newer technologies, but how do you convince the people in charge? Here are my thoughts on the subject...
עלות/תועלת בשיפור ביצועים
תוך כדי כתיבת ה תגובה לפוסט של אודי נתקלתי ב פוסט של גדי על הרושם שלו מההרצאה, ובשרשרת התגובות שהתפתחה בנושא של אופטימיזציה לאפליקציות קריטיות מבחינת יישומים. הטענה של גדי הייתה שאם משתמשים במלוא השירותים שWCF מציע התקורה על פני שימוש במחלקות קלאסיות אינה גבוהה, לכן כדאי להשתמש בפיתרון הנ"ל: "המטרה של מפתח היא לפתור בעיה. אם המתח מצליח לכתוב קוד שפותר את הבעיה בזמן נאות (ונאות זו מילת המפתח כאן), הוא השיג את המטרה. אם הביצועים מספיקים למערכת, ואם זמן התגובה נאות (ושוב נאות זו מילת המפתח...
WCF Everywhere? Worth some consideration
Sadly I missed Juval Lowy 's WCF lecture last Thursday, but I read Udi Dahan's blog post regarding the lecture. It seems Juval is preaching the use of WCF for every inter-class operation, even on the same computer, as WCF is better designed than plain code, and Udi objects to the idea due to possible performance consequences. One of the main reasons for Udi's objection was a demo Juval ran in which the communication output was 200 calls per second - not very high. But as Gadi already...
Posted: Dec 30 2007, 08:50 PM by Dotmad | with 1 comment(s)
תגים:
Blondes have more WCF
I went to a “Fundamentals of WCF Security” lecture by Michele Leroux Bustamante ( dasBlonde ) from IDesign , which came after a full day seminar given by her at Microsoft Israel. Michele is an IDesign Chief Architect, Microsoft Regional Director for San Diego, Microsoft MVP for Connected Systems and hold a long list of additional titles . She specializes in training, mentoring and high-end architecture consulting services focusing on scalable and secure architecture design for .NET, federated security...
WCF concurrency, throughput and throttling
Michele Leroux Bustamante (aka "Das Blonde") wrote a great post on WCF callback scenarios:Callback Sync Read More...
Posted: Aug 21 2007, 12:41 AM by Dotmad.net
תגים:
WCF configuration diagram
Thanks to Nicholas Allen's post Read More...
WCF service throttling
Nicholas Allen wrote a post detailing the different throttling parameters for a service: MaxConcurrentCalls limits the number of service calls (messages) that the service will have processing at one time. You may get less than this maximum number if the...