Out of memory issue when Silverlight Application talks to WCF service using System.Net.Socket via Duplex Channel

We worked on an interesting issue where WCF was hosted as windows service. Data was Pushed from WCF Server to Silverlight client via Sockets every 2 sec. Processing WCF-pushed data is the bulk of the task that this Silverlight Application does. The app just sits idle most of the time and processes pushed-data from WCF. App…

0

How to resolve “Not Found” Error in Silverlight for WCF RIA Services Calls

If you are trying to figure out why your WCF RIA Service’s method calls(or just the regular WCF Service for that matter) throwing the infamous “NotFound” error, you are at the right place. This is basically Silverlight’s way of telling that an exception occurred while the Silverlight runtime tried to make a service call. So,…

1

Silverlight 5 Business Application Project losing intellisense in Visual Studio 2012

In the recent weeks, I have encountered two different instances of the same stumbling block: Losing coding intellisense in Visual Studio 2012 in Silverlight 5 Business Application Project while using WCF RIA services.  Both projects had all the needed references and the corresponding using(C#)/import(VB) statements. Interesting enough, projects were compiling and building without any error,…

1

Troubleshooting Performance Issues in Web Application

There are many options to troubleshoot performance issues in .NET Web Application. We can use ETW, performance logs, IIS logs, application logs, dumps and profiler. Today I am going to show how to use NP .NET Profiler to troubleshoot performance issues. You can download the tool from here Introduction .NET CLR runtime provides notification about…

5

Capturing Memory Dumps on Long Running WCF Requests

  There are many options to troubleshoot long running WCF requests. One of them is : capturing a memory dump when the long running WCF request is still executing. To capture a dump while the WCF request is still executing, you can use ServiceModelTimeTaken message inspector as shown in the previous post. Configuring ServiceModelTimeTaken Complete…

2

Capturing WCF Request Execution Time

  Complete source code is here WCF includes a large set of performance counters to help you gauge your application’s performance.  These counters can help you determine total number of WCF requests executed, request per seconds, number of faults etc. But one basic counter is missing : Request Execution Time If you host your WCF…

0

Custom WCF Streaming

Complete Source code is available at code.msdn.microsoft.com Many distributed business applications work with huge number of database rows, transferring large number of record sets to multiple processes running on different machines. And most likely these large dataset are generated using complex and long running database queries. To improve data transfer performance for these type of…

9