Git Product home page Git Product logo

grace.mvc's People

Contributors

ipjohnson avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

vazavi

grace.mvc's Issues

Instance registered with scope SingletonPerRequest stays for other requests

In example

https://drive.google.com/open?id=1StgddYLxUshj0IknbY2zKGo1wc6MUjO3

If you comment out the crashing line in Global.asax.cs, you still end up getting the same RequestContext object every request, even though it is registered like this on every request:

Ioc.Container.Configure(b =>
{
	b.ExportInstance(new RequestContext()).As<IRequestContext>().Lifestyle.SingletonPerRequest();
});

If you add in a line to print out the hash code for the RequestContext inside PerRequestThing, it always comes up with the same one.

Grace 7.0.0 removes disposal scope

Grace 7.0.0 is doing away with the custom disposal scope provider in favor of using a custom disposal scope expression creator.

To accommodate this we need to implement a new creator and get rid of the disposal scope provider.

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.