Hi again,
since I'm quite new to VS08, C# and Castle I started programming by
linking to the dll files at C:\Programm Files\Castle Project. Today
I wanted to do it better by creating a lib folder within the project
directory.
I seemed to have found all files necessary, all unit tests were
Forgot to mention: using RC3
Sorry,
Flo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from
It worked. Thanks, Mark!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send
no problem :)
On Jan 26, 10:31 am, Flominator flomina...@gmx.net wrote:
It worked. Thanks, Mark!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project Users group.
To post to this group, send email to
Well you wouldn't necessarily have to make a repo for every entity because
you'd have a generic RepoT you could use. However you might create (as an
example) a UserRepo : BaseRepoUser with a FindByUsername method as a
little syntactic sugar.
I think many people would use a container such as
You lose nothing with dropping ActiveRecordBase but convenience.
But keep in mind:
1) AR classes without ARBase make good DTOs, but still bad domain classes.
2) Generic repositories are an antipattern. A repository should
encapsulate the knowledge of an aggregate's persistence details. That
This cries for at least to mention those other patterns.
On Mon, Jan 26, 2009 at 3:22 PM, Markus Zywitza markus.zywi...@gmail.comwrote:
The Domain Model is not the only enterprise pattern that
yields maintainable software.
--~--~-~--~~~---~--~~
You received
:)
so you would also do something like the example from the link shows,
but just remove the FindAll ?
On Jan 26, 12:20 pm, Ken Egozi egoz...@gmail.com wrote:
my take:
externally the domain API will expose specialised repositories for aggregate
roots. (not all of them should have Save, and a
Hi Markus
Could you explain the contradictions a bit more for me?
thanks :)
On Jan 26, 1:22 pm, Markus Zywitza markus.zywi...@gmail.com wrote:
You lose nothing with dropping ActiveRecordBase but convenience.
But keep in mind:
1) AR classes without ARBase make good DTOs, but still bad
Code from the article you linked:
public virtual T FindOne(params ICriterion[] criteria)
{
return ActiveRecordMediatorT.FindOne(criteria);
}
This moves the responsibility for creating a particular query from the
repository to the higher layers, who need to
It is not any missing dependency nor logging facility... If I use the
following code and open ServiceHost explicitly it just works:
var factory = new DefaultServiceHostFactory
(IoC.Container.Kernel);
host = factory.CreateServiceHost(sms_wcf, new[] {new Uri
That will always create the service host regardless of missing
dependencies. However, when you invoke it, it would then fail.
What is the definition os sms_wcf component?
On Mon, Jan 26, 2009 at 1:33 PM, Robert M. robertcmir...@gmail.com wrote:
Is not the dependency nor logging facility...
Couple of issues I've observed.
The first was that I had my service class had constructor dependencies
that I'd not registered, this was obviously silly of me but when
debugging all I kept getting was 502s when trying to contact my REST
resources (programatically or using Fiddler) and it took me
13 matches
Mail list logo