You can do a lot more with regular expressions than you think. In this tutorial, you’ll use it to convert a movie list into a CSV file for use in Excel.
I am a big fan of using Lazy<T> as my go-to implementation of the Singleton pattern. It works well and the thread safety is easily adjustable . While I won’t go into the details of how to use it, all the information is in the Lazy<T> documentation. For what I needed, however, Lazy<T> fell a bit short. I essentially needed a cache of something that was expensive to create, and could be invalidated when the source object changed. In my case, I had a list that I needed to run some aggregate queries against. Running those queries is expensive, so…
Like riding a bike, knowledge of regular expressions will stay with you forever, allowing you to manipulate text quickly and easily. In this part of the series, Ondrej focuses in on groups, positioning and tools.
Regular expressions are like power tools: They may look scary, but are easy to use once you understand their basic building blocks.
From Peek Definitions to scroll bar customization, here are eight of the most helpful features you’ll want to explore in Visual Studio 2013.
Creating Web applications with a consistent interface can be time-consuming. Using Twitter Bootstrap, you can quickly scaffold out nice-looking Web applications. Here’s how.
Creating a Windows Service is trivial using Topshelf, a freely-available library that converts a console application to a Windows Service. In this article, you’ll create a simple notification app and integrate Topshelf.
Quickly populate your applications with fake names, addresses, phone numbers and much more with freely available libraries.
ASP.NET Web API is a solid communications framework, and many applications can benefit from breaking free of IIS by including an embedded ASP.NET Web API server.
Before I get into the details regarding RavenDB, I’ll start with a quick overview of what ACID is. ACID ACID is a set of four “rules” that let us know that transactions are going to behave in the way we expect transactions should behave. The rules are that the transactions must be Atomic, Consistent, Isolated, and Durable. But anyone can tell you that. Here’s a quick break-down of what that actually means to us: Atomic: “all or nothing”. If a transaction represents multiple changes, all must happen or none can happen. A common example of this is in a banking…