GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jasonall/MongoDB.Web: MongoDB.Web is a collection of ASP.NET providers (caching, membership, profiles, roles, session state, web events) for MongoDB.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
MongoDB.Web
MongoDB.Web
 
 
packages
packages
 
 
.gitignore
.gitignore
 
 
License.txt
License.txt
 
 
MongoDB.Web.sln
MongoDB.Web.sln
 
 
README.markdown
README.markdown
 
 

Repository files navigation

MongoDB.Web

A collection of ASP.NET providers (caching, membership, profiles, roles, session state, web events) for MongoDB.

NuGet Package: http://nuget.org/List/Packages/MongoDB.Web

Configuration

To use MongoDB.Web, add the providers you're interested in to your Web.config file:

<system.web>
    <caching>
        <outputCache defaultProvider="MongoDBOutputCache">
            <providers>
                <add name="MongoDBOutputCache" type="MongoDB.Web.Providers.MongoDBOutputCacheProvider"
                    connectionString="mongodb://localhost" database="ASPNETDB" collection="OutputCache" />
            </providers>
        </outputCache>
    </caching>
    <healthMonitoring enabled="true">
        <providers>
            <add name="MongoDBWebEventProvider" type="MongoDB.Web.Providers.MongoDBWebEventProvider" bufferMode="Notification"
                connectionString="mongodb://localhost" database="ASPNETDB" collection="WebEvents" />
        </providers>
        <rules>
            <add name="LogAllEvents" eventName="All Events" provider="MongoDBWebEventProvider" />
        </rules>
    </healthMonitoring>
    <membership defaultProvider="MongoDBMembershipProvider">
        <providers>
            <clear />
            <add name="MongoDBMembershipProvider" type="MongoDB.Web.Providers.MongoDBMembershipProvider" applicationName="/"
                connectionString="mongodb://localhost" database="ASPNETDB" collection="Users"
                enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
                maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" />
        </providers>
    </membership>
    <profile defaultProvider="MongoDBProfileProvider" enabled="true">
        <properties>
            <add name="Age" type="Int32"/>
            <add name="Country" type="string"/>
            <add name="Gender" type="string"/>
        </properties>
        <providers>
            <clear/>
            <add name="MongoDBProfileProvider" type="MongoDB.Web.Providers.MongoDBProfileProvider" applicationName="/"
                connectionString="mongodb://localhost" database="ASPNETDB" collection="Profiles" />
        </providers>
    </profile>
    <roleManager enabled="false">
        <providers>
            <clear/>
            <add name="MongoDBRoleProvider" type="MongoDB.Web.Providers.MongoDBRoleProvider" applicationName="/"
                connectionString="mongodb://localhost" database="ASPNETDB" collection="Roles" />
        </providers>
    </roleManager>
    <sessionState mode="Custom" customProvider="MongoDBSessionStateProvider">
        <providers>
            <add name="MongoDBSessionStateProvider" type="MongoDB.Web.Providers.MongoDBSessionStateProvider"
                connectionString="mongodb://localhost" database="ASPNETDB" collection="ASPState" />
        </providers>
    </sessionState>
</system.web>

About

MongoDB.Web is a collection of ASP.NET providers (caching, membership, profiles, roles, session state, web events) for MongoDB.

nuget.org/List/Packages/MongoDB.Web

Resources

Readme
License
Activity

Stars

2 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.