Nombre de messages:
12
Karma:
80
Inscrit:
22/11/2010
Localisation:
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
Nombre de messages:
329
Karma:
4194
Inscrit:
27/04/2010
Localisation:
Netherlands
_workContext.CurrentCustomer.Id get a IWorkContext via ctor injection: IWorkContext workContext
Nombre de messages:
12
Karma:
80
Inscrit:
22/11/2010
Localisation:
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...
Nombre de messages:
53
Karma:
569
Inscrit:
16/04/2014
Localisation:
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