Anzahl der Beiträge:
12
Karma:
80
Beigetreten:
22.11.2010
Herkunft:
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
Anzahl der Beiträge:
329
Karma:
4194
Beigetreten:
27.04.2010
Herkunft:
Netherlands
_workContext.CurrentCustomer.Id get a IWorkContext via ctor injection: IWorkContext workContext
Anzahl der Beiträge:
12
Karma:
80
Beigetreten:
22.11.2010
Herkunft:
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...
Anzahl der Beiträge:
53
Karma:
569
Beigetreten:
16.04.2014
Herkunft:
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