Play it here
‘Science Kombat’ Has Actually Become A Real Game
This blog will hold favorite gadgets and graphic user interfaces that don't really fit in my main blog @ mmcelhaney.blogspot.com
I was looking up resources via Google on the entire concept of throttling in WCF. There are some very good pages if you use Google; sadly, MSDN is most definitely not on the list as it is practically useless for anything except class definitions. I decided to try to put into one document an overview of how throttling works, along with some sample projects to help get your head around it.
WCF is a programming platform that allows us to build, configure and deploy the network distributed services. Basically WCF works on a Service oriented concept. There are some points that can help us to improve the performance of WCF.
Windows Communication Foundation (WCF) includes a large set of performance counters to help you gauge your application's performance.
WCF throttling provides some properties that you can use to limit how many instances or sessions are created at the application level. Performance of the WCF service can be improved by creating proper instance.
| Attribute | Description |
|---|---|
| maxConcurrentCalls | Limits the total number of calls that can currently be in progress across all service instances. The default is 16. |
| maxConcurrentInstances | The number of InstanceContext objects that execute at one time across a ServiceHost. The default is Int32.MaxValue. |
| maxConcurrentSessions | A positive integer that limits the number of sessions a ServiceHost object can accept. The default is 10. |
Service Throttling can be configured either Adminstractive or Programatically
C1MessageBox.Show("Do you want to delete?", "The question", C1MessageBoxButton.YesNoCancel, C1MessageBoxIcon.Question,
new System.Action<MessageBoxResult>((result) =>
{
switch (result)
{
case MessageBoxResult.Yes:
MessageBox.Show("You Pressed Yes");
break;
case MessageBoxResult.No:
MessageBox.Show("You Pressed No");
break;
case MessageBoxResult.Cancel:
MessageBox.Show("Are you sure you want to cancel");
break;
}
}));
Q: What is WebDriver?
A: WebDriver is a tool for writing
automated tests of websites. It aims to mimic the behaviour of a real
user, and as such interacts with the HTML of the application.