(Dinesh Beniwal) The GetDirectories method of the Directory class loads all the subdirectories of a directory. To get all subdirectories, we can read subdirectories recursively.
Tag: Development
Transferring Data Between ASP.NET Web Pages
(Mike Brind) There are a huge number of articles and blog posts on persisting data between user requests in ASP.NET. However, the ASP.NET Web Pages framework introduces a number of additional mechanisms so this article explores those, as well as reviewing some of the standard approaches in use in ot
Simplify WPF or Silverlight and Prism/Unity Code with Generic Methods
(Peter Vogel) In an earlier column I discussed using the Register and Resolve methods with Microsoft’s Unity dependency container. However, if you’ve got all of Visual Studio’s hotfixes applied, you’ll have access to some overloaded and generic versions of those methods. For instance, for the Resolv
My Favorite Features: Entity Framework Code First and ASP.NET Web API
(Jason Zander) It’s an exciting time for Entity Framework! Last Thursday, the team announced an open source release, which is now available on the Entity Framework CodePlex Site. I’ve been using Entity Framework quite a bit in my personal development, and thought I’d use this opportunity to continue
Lazy Loading RequireJS Modules When They Are First Requested
(Ben Nadel) I’ve been loving RequireJS as a framework that helps me think about my JavaScript applications in a more modular fashion. However, in my research and development, I’ve always been loading all of my RequireJS modules upfront, at the start of the application.
How to Create First MVC Application in ASP.NET
(Megha Goyal) To create the MVC Application we have to follow various steps. MVC stands for Model View Controller and this is one of the most important development models of ASP.NET. In this the Model represents the business layer of the application which means it handles the logic for the applicati
JQuery Confirm Box
(Christopher John Paul) JQuery Confirm Box is very simple, which can be easily customized. We can give manual values for button captions.
Introduction to Async and Await Keywords in C# 5.0
(V.N.S Arun) Prior to the introduction of Task Parallel Library (TPL) in .net framework 4.0, writing an asynchronous program was quite a tedious task. One had to write too many lines of code in order to accomplish a simple multi-threaded operation; for example creating wait handles, writing callback
ASP.NET MVC: Displaying Partial Views using jQuery UI Dialog Boxes
(Mahesh Sabnis) One of my clients had a requirement in an ASP.NET MVC 3 project where they wanted to load a View in a Modal Dialog that can then be moved around. I suggested a solution where the jQuery UI Dialog can be used to load an MVC Partial View.
Setting ETag Headers Regardless Of File Content In ColdFusion
(Ben Nadel) Last week, at InVision, while trying to improve the overall experience of one of our application pages, I started looking into ETag header values to decrease page load times. The first post that I came across (or rather, that I came across “again”) was this one by David Boyer.
