(Jim Mischel) I have a search application, exposed as a Web service using HttpListener, that can take several seconds to return results. Because searching is expensive, I created a simple most-recently-used (MRU) cache that holds the results of the last N searches, so if an identical request comes i
Tag: Development
Simplify Workflow with Custom Activities
(Peter Vogel) In my article on using Workflow to support long running operations in an service-oriented kind of way, I mentioned in passing that you have the option to create custom activities for your workflows. Here’s how to do that.
Code Review Workflow in Visual Studio vNext – Visual Studio 11 / TFS 11
(Subodh Sohoni) There are many new features that Microsoft intends to introduce in VS11 / TFS 11. In this article I am going to take an overview of the code review feature which is one of the new standard features. Till TFS 2010, we used to implement code review workflow with the custom work item, c
Working With Time Zones And Daylight Savings Time (DST) In ColdFusion And Java
(Ben Nadel) I’m working on a personal project that was going to have some Twilio-powered mobile integration. This feature depended on being able to send an SMS text message to a user at a given time each day. While this might sound simple, it is actually quite a complex matter.
Classes and Structs in C#
(Eric Fleming) There are two main concrete ways of encapsulating data and behavior in the common type system of the .NET Framework: classes and structs. Each one offers benefits over the other, and in this article I am going to briefly introduce these two concepts and discuss how to use each and whe
Asynchronous Tasks and Synchronization on UI TPL .Net 4.0
(Amit Choudhary) Using TPL for parallel programming is now a cup of cake. It made life easier for those who are new to multithreaded programming. A bunch of code lines can be encapsulated as an individual task using the Task class and you have the flexibility to run the task in either Sync or Async
Writing a Recipe for ASP.NET MVC 4 Developer Preview
(Phil Haack) Last week I spoke at the //BUILD conference on building mobile web applications with ASP.NET MVC 4. In the talk, I demonstrated a recipe I wrote that automates the process to create mobile versions of desktop views.
MongoDB: Inserting, Updating and Deleting Documents
(Alejandro Gervasio) This final chapter in a three-part series will teach you how to insert, update, and delete documents from a collection using MongoDB and PHP.
Retemplating a Control and Adding Visual States with Expression Blend
(John Papa) In my last post I showed how easy it easy to create a few shapes, convert them to paths, and apply transforms to them. The result was a path that looks like Figure 1, shown in the Blend designer. In this post I’ll walk through the steps to retemplate a control to use our creation, and to
Introduction to Entity Framework Code First
(Bipin Joshi) Entity Framework (EF) allows you to program against a model instead of dealing with a database directly. In EF 4.0 (that ships with .NET 4.0) you typically design a model from an existing database visually, using a designer provided for that purpose.
