Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sam Gooch 24 posts 116 karma points
    Feb 22, 2018 @ 04:13
    Sam Gooch
    0

    Merchello Services IoC Scope

    Hi All

    What scoping should I be using for registering the Merchello services with IoC? They essentially just call the underlying MerchelloContext for it's value. For example:

    container.Register<IProductService>(() => MerchelloContext.Current.Services.ProductService, Lifestyle.Singleton);
    

    Thanks, Sam

Please Sign in or register to post replies

Write your reply to:

Draft