Giter VIP home page Giter VIP logo

ravendb.contrib's Issues

Project namespaces and organisation

Raven.Client.Contrib should have it's default namespace as "Raven.Client" as that is the namespace it is extending. Thus when a user adds a reference to Raven.Client.Contrib package they will see the extensions in their intellisense without having to add a 'using Raven.Client.Contrib" directive.

The *Extensions types should be in matching namespaces that they extend. For instance, DocumentExtensions should be in a Connection folder and thus have namespace "Raven.Client.Connection". Again this helps discovery in intellisense.

Raven.Client.Contrib.Tests project default namespace should be Raven.Client (unit test classes don't have to be in a "Tests" namespace...)

Provide a way to use the Account object outside the AuthProvider

I would like to be able to extend the user's Account by associating it with a Profile object. However, I need to be able to access the Account from my web app so I can create the user Profile object and set it's AccountId to the Id of the Account for the specified user.

Also, it would be nice to be able to do more manipulation to the Account from outside the provider for more advanced user management than what the AuthProvider provides. Have you considered making the Account extensible by storing an IAccount rather than an account and giving the user the option of how to implement IAccount in their web application?

Associate oauth client with existing account - error

  • First having registered a user using Google, giving the name "Anders".
  • Then adding a password, and removing the Google association.
  • Then logging out.
  • Then using Google to login.
  • On the associate with user page I then write "Anders".
  • Going to the /Manage page now returns an error in \Raven.Contrib.AspNet.Auth\AuthProvider.cs:

Sequence contains more than one element

Line 278:            using (var db = _store.OpenSession())
Line 279:            {
Line 280:                var user = db.Query<Account>()
Line 281:                             .Customize(q => q.WaitForNonStaleResultsAsOfLastWrite())
Line 282:                             .SingleOrDefault(a => a.UserName == userName);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.