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.
EPiServer Commerce R1 – Trigger Lucene Searching and Indexing
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);
searchManager.BuildIndex(false);
Goto file and line number immediately in Visual Studio with ReSharper
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 DevTools Revolutions 2013 – HTML5 Rocks
Chrome dev tools workspaces, syncs your css changes to your source files.
http://www.html5rocks.com/en/tutorials/developertools/revolutions2013/#toc-workspaces
Tincr – plugin that does similar job but two way sync. (Refresh chrome on external file changes)
Allan Jardine | Reflections | Visual Event
Events in Javascript are often seen as a bit of an enigma. This is odd given that Javascript is very much an event driven language, but it is typically down to their complex nature and difficulty to debug. To this end I’ve created Visual Event to help track events which are subscribed to DOM nodes.
Using the Repository Pattern with ASP.NET MVC and Entity Framework
Chrome Web Store – Scrum for Trello
Shows estimated hours indicators in Trello and more.
CS-Script for Notepad++ (C# intellisense and code execution) – Home
Set EPiServer Commerce 1 caching on nodes/entries
<?xml version="1.0"?> <Catalog autoConfigure="true"> <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.
Adding Bundling and Minification to Web Forms – RickAndMSFT on Azure & MVC – Site Home – MSDN Blogs
Works in Web Forms ASP.NET 4.0 as well.
Adding Bundling and Minification to Web Forms – RickAndMSFT on Azure & MVC – Site Home – MSDN Blogs.