Reconnect a network share with credentials on Windows 8 login

Such as the WD MyCloud network disk…

Create a .bat file and enter this:
net use Z: \\192.168.0.2\Document mysecretpassword /user:MyUserName /persistent:yes

Replace text in bold.

Add a shortcut to the bat file to the Startup folder:
C:\Users\[MyUserName]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Set the shortcut to run in “minimized window” to avoid showing the window.

Technet info for NET command:
http://technet.microsoft.com/en-us/library/bb490717.aspx

EPiServer Commerce Cache handling

Just a snippet from my Certification studies:

//Commerce Cache handling
//cache invalidation time is configured in ecf.[objecttype].config
//e.g. ecf.catalog.config element
CatalogCache.Clear(); //clears the entire catalog cache
CatalogCache.Remove(“entrykey”); //invalidate a specific entry
CustomersCache.Clear(); //clear all customers cache
MarketingCache.Clear();
OrderCache.Clear();
SecurityCache.Clear();

More info:
http://world.episerver.com/Documentation/Items/Developers-Guide/EPiServer-Commerce1/75/Caching/Caching/