Examples

13 views
Skip to first unread message

Ed Blackburn

unread,
Jun 16, 2009, 5:05:57 AM6/16/09
to ncommon
Hi Good Morning,

I’ve been poking around the source code and I’ll be honest, I like
what I see. I’m looking to implement NCommon for a trivial NH use-case
but on an internal web forms website, with hundreds of concurrent
users. Therefore I need to be sure that the UoW implementation is
thread-safe and that I’m not creating extraneous NH sessions.

From browsing the source code I see that there is provision for all of
this, with the Store concept? My query really is to ask if you have
any samples, guidance or general advice? I’m reading the source to
figure out how to implement UoW, Sessions etc, which are concepts I'm
familiar with. I’d like to be sure that what I’m implementing is how
NCommon is supposed to be used...

So far I’ve seen: Steve’s Gentiles’ synopsis - http://blogger.forgottenskies.com/?cat=44
and Ritesh’s (excellent) explanation of the concepts, goals and what
he’s trying to achieve - http://www.codeinsanity.com/search/label/NCommon

Any guidance, (or perhaps more importantly suggestions of what not to
do) would be most useful.

Regards, Ed

Ed Blackburn

unread,
Jun 16, 2009, 10:07:43 AM6/16/09
to ncommon
And here I am answering my own question. On the legacy codeplex site I
can see there's a sample web application:

http://ncommon.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=21867#DownloadId=55156

Is downloading as I type...

On Jun 16, 10:05 am, Ed Blackburn <edward.blackb...@gmail.com> wrote:
> Hi Good Morning,
>
> I’ve been poking around the source code and I’ll be honest, I like
> what I see. I’m looking to implement NCommon for a trivial NH use-case
> but on an internal web forms website, with hundreds of concurrent
> users. Therefore I need to be sure that the UoW implementation is
> thread-safe and that I’m not creating extraneous NH sessions.
>
> From browsing the source code I see that there is provision for all of
> this, with the Store concept? My query really is to ask if you have
> any samples, guidance or general advice? I’m reading the source to
> figure out how to implement UoW, Sessions etc, which are concepts I'm
> familiar with. I’d like to be sure that what I’m implementing is how
> NCommon is supposed to be used...
>
> So far I’ve seen: Steve’s Gentiles’ synopsis -http://blogger.forgottenskies.com/?cat=44
> and Ritesh’s (excellent) explanation of the concepts, goals and what
> he’s trying to achieve -http://www.codeinsanity.com/search/label/NCommon
Reply all
Reply to author
Forward
0 new messages