Are you a developer with coding questions? Many new and experienced developers visit Stackoverflow.com to find solutions and to help others resolve their computing questions and issues. This training session focuses on 20 of the top questions surrounding the C# language, based on number of views and votes on stackoverflow. Watch this session, and get your questions answered.
If you want to use certain parts of the Commerce Manager (e.g. Marketing -> Promotion -> “Order: Buy X, get N quantity of Y at a discount”. -> Catalog entries picker, the Commerce default Lucene search indexer must be active.
Else you get this error inside the picker window:
System.IO.FileNotFoundException: no segments* file found in Lucene.Net.Store.FSDirectory
The searchindex creation can be triggered manually through Manager -> Administration -> System settings -> Search Index.
Scheduled jobs should be available in CMS but here is how to trigger the indexing through code:
Build index command
SearchManager searchManager = new SearchManager(applicationName);
Goto file and line number immediately with ReSharper:
Press Ctrl-t and enter filename:[rownumber]
e.g.: Ctrl+t, enter master.css:3990 (opens master.css file and puts caret on line 3990).
Chrome dev tools workspaces, syncs your css changes to your source files.
Tincr – plugin that does similar job but two way sync. (Refresh chrome on external file changes)
Shows estimated hours indicators in Trello and more.
<Connection connectionStringName="EcfSqlConnection" />
<Cache enabled="true" collectionTimeout="0:1:0" entryTimeout="0:1:0" nodeTimeout="0:1:0" schemaTimeout="0:2:0" />
entries and nodes cache timeout is set to 1 minute.
Changes in Commerce should affect the “productpage” in the website immediately but sometimes the cache invalidation dont work. The above setting is ultimately the cache timeout then.
Works in Web Forms ASP.NET 4.0 as well.