Total Posts:
12
Karma:
80
Joined:
11/22/2010
Location:
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
Total Posts:
329
Karma:
4194
Joined:
4/27/2010
Location:
Netherlands
_workContext.CurrentCustomer.Id get a IWorkContext via ctor injection: IWorkContext workContext
Total Posts:
12
Karma:
80
Joined:
11/22/2010
Location:
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...
Total Posts:
53
Karma:
569
Joined:
4/16/2014
Location:
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