Всего сообщений:
12
Карма:
80
Присоединился:
22.11.2010
Страна:
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
Присоединился:
27.04.2010
Страна:
Netherlands
_workContext.CurrentCustomer.Id get a IWorkContext via ctor injection: IWorkContext workContext
Всего сообщений:
12
Карма:
80
Присоединился:
22.11.2010
Страна:
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
Присоединился:
16.04.2014
Страна:
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