(Jon Galloway) Recently, while reviewing the VB.NET translation of the MVC Music Store tutorial, I noticed that none of the controllers / models / classes in general have namespaces. I was going to blow up on the person who did the translation like a bad FxCop, but I fired up a new MVC 3 / VB.NET ap
Tag: Development
Dynamic Registry in PHP
(Alejandro Gervasio) Segregated interfaces aren’t anything new in PHP. Simply put,a segregated interface is a regular interface whose contract provides implementers with the functionality to perform one or more specific tasks. In this second part of a series, we will be using them to create a regist
Using JavaScript’s With Keyword To Create A Dynamic Scope Chain For Method Execution
(Ben Nadel) So last night, I was laying in bed fantasizing about JavaScript – as I often do – when I started to think about using JavaScript’s With keyword in conjunction with function definitions. In the past, I’ve played around with function execution in the context of a With-augmented scope chain
The Darkness Behind DateTime.Now
(Keyvan Nayyeri) DateTime.Now is one of the commonly-used properties in the .NET Framework in the majority of applications designed. Although this property is designed to serve for particular purposes, the lack of understanding and training has driven many .NET developers to use it in wrong circumst
Seven WPF Programming Tips and Tricks
(Memphisto) The internet has so much to offer on any topic and there’s so much to learn; but where to start? I realized many years ago, when I first began to be intrigued by the Windows Presentation Foundation (WPF), that short write-ups help you gain incremental knowledge, which when combined can o
Faking DbContext
(K. Scott Allen) I like Kzu’s take on building unit-testable domain models with EF code first. I’ve been playing around with some of the same ideas myself, which center around simple context abstractions.
ASP.Net URL Rewriting Methods
In this article we take a look at URL rewriting techiques in ASP.Net. Specifically, we’ll be learning to use the URL rewriter Httpmodule/.Net component.
Coded UI Test (CUIT) – Variations and Editing with Visual Studio 2010
(Gouri Sohoni) In our previous articles, we have discussed How CUIT can be Created By Recording Actions and secondly By using Existing Action Recordings. In this article we will explore advanced features of CUIT like adding multiple UI maps, re-using code, how the CUIT Editor helps and I will also l
Dynamic ASP.NET MVC 3 models using Mono’s Compiler as a Service
(Jon Galloway) I had an idea for an interactive MVC sample which will let you see the scaffolded editor and display for a model. I thought about a few ways to do this, the first being Mono’s compiler as a service. So far it’s a partial success – the model scaffolding works, but the attributes don’t
Automatically Generate Code Using Visual Studio’s Text Template Transformation Toolkit (T4)
(Vince Varallo) Visual Studio has built in support for generating code called the Text Template Transformation Toolkit. This article will demostrate how to create a class with a property for each column in a database table. The sample can easily be extended to fit any pattern you use when developing
