Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
c# driver - patterns for web applications
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
adrin  
View profile  
 More options Oct 11 2012, 10:58 am
From: adrin <adri...@gmail.com>
Date: Thu, 11 Oct 2012 07:58:32 -0700 (PDT)
Local: Thurs, Oct 11 2012 10:58 am
Subject: c# driver - patterns for web applications

Hi,
I wonder if there are any special considerations when creating .NET web
applicaitons (ASP.NET MVC) using mongodb c# driver. What I mean in
particular is how to manage connections (or is it managed by the driver)
and are there any best practices to follow in multithreaded / web scenario?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
craiggwilson  
View profile  
 More options Oct 11 2012, 1:02 pm
From: craiggwilson <craiggwil...@gmail.com>
Date: Thu, 11 Oct 2012 10:02:38 -0700 (PDT)
Local: Thurs, Oct 11 2012 1:02 pm
Subject: Re: c# driver - patterns for web applications

Connections are managed by the driver and most of the api classes are
threadsafe.  While you don't need to do this, I always do:  Put a reference
to MongoServer in some common location and reuse that instance.  Your IoC
container is a good place for this, or a base class, depending on your
design principles.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »