Hello,
I want to write a WCF service that can't run more than X times per hour. I want the service to suspended messages to a queue if the service was called more than x time in the last 60 minutes.
Any ideas how can one limit the service?
I am willing to write custom components in the WCF stack.
...
Imagine I want to create an application which is very similar to MS Word 2007, using C++ in VS2008 and the MFC Feature Pack. For the ribbon, there are 3 options available to me:
Use the ribbon from MFC Feature Pack without acquiring a license.
Probably dodgy in the long run. You're all right until your product becomes a global success,...
let's say I have
public delegate DataSet AutoCompleteDelegate(
string filter, long rowOffset);
can I make the following class to enforce that method signature? (just a conjured up idea):
public class MiddleTier
{
[Follow(AutoCompleteDelegate)]
public DataSet Customer_AutoComplete(string filter, long rowOffset)
{
...
How best does the developer who's decided he likes semicolons at the end of his Javascript statements enforce that expectation technically for himself?
I'm using Visual Studio (ASP.NET webapps), but I'd love to hear about solutions for any environment.
...
Hi I'm finding a way to enforce runtime type checking or such things in Objective-C on Cocoa.
This is my code sample.
I expected runtime error about wrong assignment to variable 'b'. But it wasn't. Compiled and executed without any error.
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[])
{
NSAutoreleasePoo...
AGAIN: If you're voting -1, please leave a comment explaining why. This post isn't about whether or not you approve if this approach, but how to go about it.
Like many architects, I've developed coding standards through years of experience to which I expect my developers to adhere.
This is especially a problem with the crowd that beli...
Possible Duplicate:
Why are Exceptions not Checked in .NET?
If I remember correctly, Java enforces catching and handling any exceptions a called method may throw. Why doesn't .NET do the same?
...
How can I automate a test to enforce that a body of Python 2.x code contains no string instances (only unicode instances)?
Eg.
Can I do it from within the code?
Is there a static analysis tool that has this feature?
...