Hi, for a PerCall WCF service whose throttling has been set to be high (say, 200 max concurrent calls) would WCF bring up a new instance and invoke the request on a threadpool thread?
If it does, then does this have an impact on the total number of concurrent calls allowed?
I ask because I don't seem to ever hit the max number of concurrent calls I've set in the service throttling config but instead a fraction of that number - up to 50 on a 100 MaxConcurrentCalls setting and 160 on a 200 MaxConcurrentCalls setting.
Thanks,
I'd like for any url that doesn't hit an existing file, to do a lookup on the other possible cases and see if those files exist, and if so, 302 to them.
If that's not possible, then I'm ok with these compromises:
Only check the lowercase version
Only check the first path portion
For example http://example.com/CoOl/PaTH/CaMELcaSE should redirect to http://example.com/cool/path/camelCase (assuming the latter exists).
but of course a full solution is much more useful to me and others
I am writing a small code to detect number of objects left behind after certain actions in our tool. This uses FollowReferences() JVMTI-API. This counts instances reachable by all paths. How can I skip paths that included weak/soft/phantom reference?
(IterateThroughHeap counts all objects at the moment, so the number is not fully reliable)
Thanks,
Jayan
Is there any technique or tool available to detect this kind of a deadlock during runtime?
picture this in a worker thread (one of several, normally 4-6)
try
WaitForSingleObject(myMutex);
DoSTuffThatMightCauseAnException;
Except
ReleaseMutex(myMutex);
end;
or more generally is there a design-pattern to avoid these kind of bugs?
I coded the above code in the little hous after a longer hacking run
I'm gonna detect the resolution with the following code in WPF :
double height = System.Windows.SystemParameters.PrimaryScreenHeight;
double width = System.Windows.SystemParameters.PrimaryScreenWidth;
Current resolution of my screen is 1920*1200, but height is 960.0 and width is 1536.0 !!!
What's wrong with it ?
Thanks in advance.
I'm working on some HTML5 content to be included as part of an iPad app in a Web View.
As I understand it, Mobile Safari only supports SVG fonts, but my testing has show Mobile Safari to really struggle with SVG and the performance hit is a serious issue.
So... is it possible to put fonts in the App Bundle and somehow make them available to the webview?
Consider these steps:
Create a svn branch
Add several new files to the branch
Reintegrate the branch into a local copy of the trunk
Run svn diff on the local trunk copy
The issue is that svn diff doesn't detect any changes. It ignores the new files because they are marked as copies of the branch. So when it diffs them against the head of the branch, no differences are found.
How do I force svn diff to pick up these changes?
I want to create a Chrome extension that will automatically like every post I make on Facebook. My question is, how can I detect when I post something, and if that post if mine? Is there an event that occurs or something?
(And just for the record, I know that these sorts of things are impossible when other apps post on my behalf, at least from an extension perspective. So I'm only concentrating on posts that I actually click the "post" button, or enter for, myself.)
Hi.
There is an excellent website that I would like to emulate some of the characteristics of in a website that I hope to develop. (I do not intend my site being in competition with them - mine would be more of a social networking site). Can anyone tell me if it is possible to detect which script and platform is being used on www.shoutlife.com? I have very little programming or website building experience so am considering using phpfox as my solution. Thanks in advance.
EBS
Hi I need to emulate a task pane by floating a modeless form over the Excel main window. The reason for this requirement is that I need to have taskpane features for my Excel 2003 add-in, but cannot use the document-centric model.
Can anyone suggest what would be the best way to do this? The modeless form would need to detect the main window resize event and resize itself accordingly, and also need to always position itself at the bottom of the window (kind of like a docking pane).
Is there a way to test for the presence of an ActiveX control (with JavaScript) without actually attempting to create an object from it? The control I'm attempting to detect is taking a long time to instantiate; I'm just looking for a more efficient approach, if there is one.
Thanks in advance!
I have a web app that is using the 3.5 framework. I wanted to know how can I detect what webhost is rendering the page.
If the server is localhost, then send email notification to [email protected]
If the server is QA, then send email to [email protected]
Thanks
I am passing in command line arguments to my Lisp program and they are formatted like this when they hit my main function:
("1 1 1" "dot" "2 2 2")
I have a dot function and would like to call it directly from the argument, but first I must strip the " characters.
I tried variations of this function:
(defun remove-quotes (s)
(setf (aref s 0) '""))
to no avail, Lisp complains that "" is not a member of base-char.
Thanks!
Is it possible to detect which proxy is active which is dead?
using c# and a combo box containing list of proxies with port number is there any way we take every proxy one by one and determine as if it was dead or active?
Microsoft.Win32.RegistryKey registry = Microsoft.Win32.Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings", true);
registry.SetValue("ProxyEnable", 1);
registry.SetValue("ProxyServer", comboBox1.Text)
;
I would like to track metrics that can be used to improve my team’s software development process, improve time estimates, and detect special case variations that need to be addressed during the project execution.
Please limit each answer to a single metric, describe how to use it, and vote up the good answers.
I'm trying to do clean urls by exploding $_SERVER['REQUEST_URI'] and then switching between the results.
However, once a user goes outside index.php, I'm assuming I need to redirect them back to index.php in order to process the URL they want to reach. How can I accomplish this?
So for instance, user goes to www.domain.com/home/johndoe/... i'd like the index.php (domain.com/index.php) to be hit so that it can process the /home/johndoe/ via request_uri.
Hi,
Is there any way to detect the type of a webservice inside a httpmodule?
The reason for this is that I want to do some property injection to the webservice before
it's processed.
I found this:
http://social.msdn.microsoft.com/Forums/en/asmxandxml/thread/0e848eee-d353-4e67-b47f-89fddb600009
but that is one h..l of an ugly solution.
Anyone have a nice solution?
Let's say I have an app sitting at
myapp.com
The app has clients or users that are situated here
myapp.com/jonny
myapp.com/sally
I want to allow users to point their own domain to my server (A record) and load their specific content. No redirects or anything.
jonnysapp.com -> myapp.com/jonny
So somehow my server needs to detect where the request is coming from and set the client... correct?
FIRSTLY
apologies for english, embarased i am afghanistone i am team america no worrie
u had large program that store not only config but a bunch other project relation settings in SQLite db.
how can I save the db as project.newb file extension and thencan auto open in my porgram??? need INstaller setting??
How do i detect when this has happened, user open .newb file, happen in Qt, so i can load project?
PLEASE HELP i fear family life if unable completed
I'm starting getting tired of this exception. Can't handle it, even so I'm using this:
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
Still no success, Can anyone explain me, how I should handle it in a nice way. Or how to detect that it have fired this message and close the application, because I'm starting it automatically everytime it closes.
Hello,
I have to insert float values into different SQL Servers. Each one can have different locales so in one it the representation could be "42,2" and at another one "42.2" or whatever. How should i construct the query so it works in any SQL Server?
Do i need to detect the locale of the server before constructing the query or what?
Thanks in advance mates.
my wrapper from managed to unmanaged is handling a lot of data and this Guy would call new for each of them, which is a big hit for me. So my question is :
can I allocate a chunk of unmanaged memory and use it to convert the managed data types to unmanaged by hand.
How can I tell if the JVM my application runs in is 32 bit or 64-bit? Specifically, what function or preference do I access to detect this within the program?
I have processed a SSAS cube. After it was done processing, I hit the close button - and then realized that I should have saved the output.
I think SSAS stores the processing log as a text or XML file, but I do not know what folder to look into.
Can someone direct me to retrieving processing logs?