When building a WCF service for a large scale application, which is better:
In both cases, assume that the business logic layer is separated into a different assembly.
Using your business logic layer as a service implementation i.e. with no code behind and no wrapper
<%@ ServiceHost Language="CS" Service="MyApp.BusinessLogic.BusLogicImpl"…
What behavior should I expect if I delete a DOM element that was used to start an event bubble, or whose child started the event bubble - will it continue to bubble if the element is removed?
For example - lets say you have a table, and want to detect click events on the table cells. Another piece of JS has executed an AJAX request that will…
Hey guys I find it hard to believe that Facebook uses simple sql, surely it would use some other method but lets assume for now it does use sql how would the code assimilating the 'wall' work?
Lets say that there is three tables (just for the example)
Friends: id (entry key) - uid(your id) - fid (your mates' id)
Wall:id (entry key) -…
IN MSSQL 2008 is there a way to generate a report as to how much space on disk each table takes?
I can do it one by one by checking the storage properties, but I was wondering if there was a way, maybe even a query to generate such a report.
Is it possible to implement IXmlSerializable and in my XML file capture an object of type Dictionary ?
I have the following
public class coolio : IXmlSerializable
{
private int a;
private bool b;
private string c;
private Dictionary<string, List<string>> coco;
public coolio(int _a, bool _b, string _c, Dictionary<string,…
I have an NSTableView that is inside an NSView. The whole view is being controlled by a class that has a superclass of NSObject. I send some data over to that class from another one, however, the tableview isn't refreshing, even with [myTable reloadData]
The table's delegates and all that fancy stuff is connected to that NSObject…
Is it possible to make Visual Studio 2010's code completion window more like that of Eclipse (Java)?
In particular, I'd love the code completion window to give me a variable's type, and a method's return type and expected parameters, without needing to hover the highlight over that particular variable/method.
VS's code…
I have a system where users need to enter addresses. I am trying to limit duplicates of course and something I started noticing was becoming a big problem was some users putting in "Road" and others "Rd", therefore duplicates were creeping in.
I looked up the list of USPS street suffix abbreviations but I still have a…
This seems like it ought to be obvious, yet I can't figure it out.
I do a lot of JavaScript coding, and I really like NetBeans. Unfortunately I can't figure out how to create a "JavaScript" project in NetBeans. If I go to File - New Project, my only options are "Java", "Ruby", and "NetBeans Modules". I don't want any…
I know that you can specify how long you want an object cached in memcache, however I setup memcache with Zend's Zend_Cache and there does not appear to be documentation related to how long the item stays in cache.
Anyone know how to do this?
Using Django templates in Google App Engine (on Python), is it possible to compare a template variable to an integer in an {% if %} block?
views.py:
class MyHandler(webapp.RequestHandler):
def get(self):
foo_list = db.GqlQuery(...)
...
template_values['foos'] = foo_list
…
Hi all,
This is annoying - I know how I'd do it in web...
I have a wpf image and I want to bind it's source property to a method, and pass in a property from it's bound item.
IE.
<image source="GetMySource({binding name})" />
Where GetMySource is
protected string GetMySource(string name)
{…
Let's say I have to generate a bunch of result files, and I want to make it as fast as possible. Each result file is generated independently of any other result file; in fact, one could say that each result file is agnostic to every other result file. The resources used to generate each result file is…
Suppose I have the following Java file in a library:
package test;
public abstract class AbstractFoo {
protected static class FooHelper {
public FooHelper() {}
}
}
I would like to extend it from Scala:
package test2
import test.AbstractFoo
class Foo extends AbstractFoo {
new…
I'm new in wfp. In my sample application I'm using a ListView to display contents of property. I don't know how to bind SelectedItem in ListView to property and then bind to TextBlock.
Window.xaml
<Window x:Class="Exec.App"
…
Is there a library for .NET that does parenthesis or expression reduction and optimization?
Something that would take an expression such as (A & (((B) | (C)) | D))) and return
A & (B | C | D)
But also take (A & A) and…
Okay, I'm fairly new to R and I've tried to search the documentation for what I need to do but here is the problem.
I have a data.frame called heeds.data in the following form (some columns omitted for simplicity)
eval.num,…
I've got two hard disks in my computer, and have installed Solaris 10u8 on the first and Opensolaris 2010.3 (dev onnv_134) on the second. Both systems uses ZFS and were independently created with a zpool name of 'rpool'.
…
I'm keen on learning about bioinformatics.
I am ideally looking for a short course introduction, with some practical tasks I can get my teeth into immediately to see if there is any interest in it for me.
I already have…
I have a Red Had Enterprise Linux 5 and a CentOS 5 box, both of which I am trying to configure to automatically connect to a synergy server on startup. I have followed the guide at…
For a game server, I want to record details when a player makes a kill, store this, and then at intervals update to a sql database.
The part i'm interested in right now is the…
Hey guys,
I'm sorry if this is a duplicate, but the question search terms are pretty generic.
I work at a small(ish) development firm. I say small, but the company is…