What is the required IOC instance lifecycle I need to use in conjuction with a NServiceBus message handler if I want an instance per message handled.
PerRequest won't work, since given the numerous constructor dependenices and dependency graph I have, it gives me many instances when I require only one per Handle(MessageX msg) call. I ca...
I've recently set some coursework for some undergraduate students for which they have to use a small and relatively simple C# library provided to them. The main purpose of this library is to display a simple form which is composed of a coloured grid (which they can manipulate), a number of buttons and a label with some text.
The class ...
Customers are stored in Dynamics CRM 4.0 an some need access to external facing application and therefore should be provisioned in the DMZ Active Directory.
Does it make sense to use MS Identity Management Lifecycle to push the accounts in the DMZ Active Directory?
...
When a hosted software application does have a paying user base (albeit a small one), but it's no longer profitable to maintain it, improve it, or support it, what's the "right way" to kill it off, and instead use that time/money to focus on your solutions that are working? What's the most professional way to do this?
Do you...
Simply...
Hi,
I have a service exposed via WCF. The service exposes several methods that talk to the database through a Linq to SQL datacontext. The datacontext is bound to the CallContext. All of this is working as it should but I can't figure out the proper place to dispose the Linq to SQL datacontext. Please help.
...
I am attempting to manually populate an image icon into a window nested in a grid.
In the run event, the fields don't appear to have values yet. The string control always returns an empty value. Is there a better place for this code? In .NET, I'd use a databound event. Is there an equivalent in AX?
void run()
{
FormStringContro...
Hi folks!!
Driven on by curiosity, I’m trying to understand the Life Cycle used by Flex Application.
So, I’ve done a little research on this argument; the two key concepts used into the FlashPlayer are:
SWF Frame: it’s the logical unit that contains graphical code and as code
Flash Player Frame: it’s the time interval used by Flash ...
Hi,
I'm currently working on a JSF 1.2 project (IBM implementation and a "company layer").
PROBLEM
Here's the situation (numbers of items are just for the example), simple CRUD
List item
I have a list of items
I click on item 2 to see detail
I click on modify, the modification page displays values of item 2
Back to the list with a b...
I've already seen some examples, like the one below:
That's nice description in theory, but I'd like to see also more JSF-related picture, with FacesServlet, PhaseListeners and other stuff to understand their role and sequence of calls in all these phases of lifecycle.
...
Is there any way to check what events have fired during the asp.net webforms page/control lifecycle?
I know that I can manually add handlers for each event, but that seems a bit ... inefficient.
Is there a visualiser, or a property that I can check that will tell me whether these events have fired?
EDIT
The reason I want to know this ...
Hi
I have an activity and I call the finish() method and the activity is not cleared from memory.
After calling finish() , I see that the method onDestroy() is executed successfully (and I clear all my variables and stuff in there).
Should it be cleared from memory or its how android works? As I understand the LifeCycle of the Activit...
Is there something like an application global onPause() and onResume()?
My main activity listens for GPS fixes, which I want to continue working when switching to another screen/activity. Therefor I cannot unregister my LocationListener in the activity's onPause(). However I still want to unregister my GPS listener when switching to ano...
I've been with my current company for about four months now and I've noticed how several of our RnD scopes/documents use the term "lifecycle testing."
I've always thought that this term would mean the entire testing phase of a project, but the context of the term suggests that it instead is when the software is tested with "live" or "r...
Whenever I build & run my program I notice that a new directory gets created in:
/Users/Username/Library/Application Support/iPhone Simulator/User/Applications
Therefore, there's no way for me to persist core data between application builds. The way I thought to get around this issue (from a testing point of view) was to just use the ip...
In my registry I have
Scan(scanner =>
{
scanner.AssemblyContainingType<EmailValidation>();
scanner.ConnectImplementationsToTypesClosing(typeof(IValidation<>));
});
What am I supposed to do to define these all as Singletons?
Also as an aside to this question, is there any reason to not defin...
Hello again,
I'm making a LIST container with my own item renderer to display xml file.
Now, I'm overriding the public override function set data(value:Object):void method in my item renderer, the problem is that this function been called many times(!!) (more then the data provider length).
Maybe I'm not setting the data provider righ...
I've never been a big fan of MFC, but that's not really the point. I read that Microsoft is due to release a new version of MFC in 2010 and it really struck me as odd - I thought MFC was dead (no ill intention, I really did).
Is is MFC used for new developments? If so, whats the benefit? I couldn't imagine it having any benefit over som...
Why the jspService() method cannot be overridden, where as jspInit() and jspDestroy() can be overridden?
...
A lot of Java ME tutorials use the startApp() method for creating and initializing objects and the constructor is left blank. However, the startApp() method is also invoked when the MIDlet resumes from a paused state. This causes all the objects to be re-initialized and any changes made are lost.
I have also noticed that the netbeans ID...
What is the proper way to redeploy a new version of a running app in glassfish? I have a WAR running, and I've made changes. I thought doing an undeploy + deploy might be the right thing, but glassfish (v3) often crashes when I undeploy.
What' the proper way to redeploy a running app in glassfish?
...