Tag Info

Hot answers tagged

7

What you need is a way to communicate between your programs that does not tie them to each other. There are a number of ways to do this, you could have the task write to a file and have to monitor read from the file, make the task available via WCF so the monitor can 'poll' for changes, use the network... To avoid reinventing the wheel, have a look at the ...


6

From your comments I see you have a client/server database available, and you uploader already has a connection and write access? Then it would probably be easiest to add a "monitoring" or "status" table to the database and let your uploader report its progress there (log each "interesting" step there, probably the 5 steps you listed above). To view the ...


2

Just to build on @JDT's answer, a common way to do this is writing messages to a message queue. Whenever something important happens in your application it would write a message and send it to the message queue. Typically the format of the message is XML or similar. It's the queue writer. The monitoring application reads (queue reader) the queue and ...


2

What you're asking for is functionally equivalent to DRM, which does not work and never can. If you're worried about not getting paid for your work, your best recourse is contract law, not technological measures.


2

Conditional compilation effectively creates multiple versions of the code base. That's exactly the purpose of version control branches. The other alternative is put whatever code needs to vary in its own assembly/dll. Different dlls can contain different implementations of the same class (assuming the public fields are the same). Both alternatives have the ...


1

I actually just solved this issue. I wanted to store configuration data in the database while having the program consume the data. I created a configuration retrieval class (non singleton) that when ever a part of the program needed a configuration value they instantiated the class and called the GetConfigValue(ConfigPropertyEnum item) method. Behind the ...


1

In general, you can do everything you want to in Javascript without involving a controller, except for final data validation. In other words, always assume that the client has been hacked, and act accordingly. That said, a modal following another modal seems like a marginal design. Modal dialogs are, by far, the most expensive possible UI element to the ...


1

It is possible for each variable to be uniformly distributed on an interval while the joint distribution is satisfies a codimension 1 constraint. For example, if you pick (x,y,z) so that it is uniformly distributed on a unit sphere, then each coordinate is uniformly distributed on the interval [-1,1]. The coordinates are just not independent. Even if you ...



Only top voted, non community-wiki answers of a minimum length are eligible