回帖总数:
12
业力:
80
注册日期:
2010/11/22
位置:
Germany
Hi, I need the CustomerId within the frontend and see there's a cookie Nop.customer available. Is there also a way to get this id from the framework? Thanks Andre
回帖总数:
329
业力:
4194
注册日期:
2010/4/27
位置:
Netherlands
_workContext.CurrentCustomer.Id get a IWorkContext via ctor injection: IWorkContext workContext
回帖总数:
12
业力:
80
注册日期:
2010/11/22
位置:
Germany
Thanks - but maybe you can give me some more help with ...? For ctor I found this MS thread http://msdn.microsoft.com/en-us/library/ff650802.aspx but I've no idea how to make it work with your solution...
回帖总数:
53
业力:
569
注册日期:
2014/4/16
位置:
India
hello keesjan as per you say i am try to inject IWorkContext in WebStoreContext and also StoreService. but when we run project it give's errors on ContainerManager.cs(line no 113) An unhandled exception of type 'System.StackOverflowException' occurred in Autofac.dll please help me regards, jatin