Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


Commands, queries and testing

AddThis Social Bookmark Button
We need abstraction, but the amount of abstraction we really need depends, and should be assessed on a case-by-case basis. It seems advisable to grow abstractions, and to introduce them gradually.

That being said, in this post I want to talk about an architecture that tries to limit abstractions to solely commands and queries.

It all starts with two small pieces of infrastructure: a command and a query. A command performs an action, and can change state, while a query should only return data, and not alter any state; basic command and query separation.
abstract class Command { public abstract void Execute(); } public abstract class Query { public abstract T Execute(); } Now imagine, we are doing something with accounts, and we want to have a command that can withdraw money from an account, and a query that returns the total amount available on an account. The assumption is that we're only talking with a database.
public class WithdrawAmountCommand : Command { public WithdrawAmountCommand(string user, int amount) { if (string.IsNullOrEmpty(user)) ...(Read whole news on source site)

Windows Azure and Cloud Computing Posts for 10/12/2012+

AddThis Social Bookmark Button
A compendium of Windows Azure, Service Bus, EAI & EDI,Access Control, Connect, SQL Azure Database, and other cloud-computing articles. Note: This post is updated daily or more frequently, depending on the availability of new articles in the following sections: Windows

How to use Project Server Online data in a SharePoint 2013 App using CSOM

AddThis Social Bookmark Button
This week I was attending the 3 day Project Ignite training. This is a technical training offered directly from Microsoft and was presented by Christophe Fiessinger and Jan Kalis at Warsaw (but I followed the training on Lync, which was really cool using the 360-video). I learned lots of new and interesting things about Project Server 2013 and Project Online. [...]

The Low Down Dirty Azure Blues

AddThis Social Bookmark Button
Remember the SETI screen savers that used to be on everyone's computer? As far I as know, it was the first bona-fide use of "Cloud" computing…albeit an ad hoc cloud. I still think it was a brilliant leveraging of computing power. My interest in clouds was re-piqued when I went to a technical seminar at the local .Net User Group. The speaker was Mike Benkovitch and he expounded magnificently on the virtues of the Azure platform. Mike always does a good job. One killer reason he gave for cloud computing is instant
scalability. Not applicable for most applications, but it is there if needed. I have a bunch of files stored on Microsoft's SkyDrive platform which is cloud storage. It is painfully slow. Accessing a file means going through layers and layers of software, redirections and security. Am I complaining? Hell no! It's free! So my opinions of Cloud Computing are both skeptical and appreciative. What intrigued me at the seminar, in addition to its other features, is that Azure can serve as a web hosting platform. I have a client with an Asp.Net web site I developed...(Read whole news on source site)

Slates are Dead...Long Live Tablets

AddThis Social Bookmark Button
I am headed to Build later this month and am excited by both the Surface tablet and what the PC makers are going to show us in Windows 8 devices. But ahead of that show there have been a lot of reveals by the likes of HP, Dell, Lenovo and ASUS. I am perplexed by these early reveals by the PC makers. On the whole, these companies built Windows PC's in the Slate era (when Microsoft was pushing Windows Tablet Edition). Many of these new devices feel like throwbacks to the Pen Slates they built in years gone by
and that's unfortunate. Even if they don't look like Slates, they look like ultrabooks with touch screens. Convertibles and such are interesting for the minority but not for the majority of users IMO.  We need to let the PC makers know that Slates are dead...they need to be building tablets... Win8 Devices There are two types of these revealed devices: Laptops with Touch Tablets The Laptops with Touch are a good idea. These 11-17" screen laptops that add touch to them are actually a good idea. The Sony 17" one I find interesting...but I am...(Read whole news on source site)

Greenfield Development with ASP.NET MVC & S#arp Lite - Day 2

AddThis Social Bookmark Button
series of posts providing proven guidance for developing ASP.NET MVC applications from idea to well-designed implementation. Day 2 – Define the Domain Conceptual Model Objective of the Day Transform the requirements from Day 1 into an appropriate domain conceptual model reflecting objects, attributes, and associations. Inputs Project Vision User Stories or Use Cases Data Dictionary Activities The domain conceptual model is a visual representation of conceptual or real-world objects in the domain of interest [Fowler, 1996].  (The domain design model, which will be discussed in Day 3, is a visual representation of the classes and behaviors which will be implemented in the software.) The conceptual model is
not a class diagram describing classes with methods.  But in practice, the conceptual model will iteratively become the basis of the class diagram of the design model.  Specifically, the conceptual model reflects the following information: Domain conceptual objects, Associations between conceptual objects, and Attributes of conceptual objects. The important distinction between conceptual model and design model is that the conceptual model should represent a clear business-oriented abstraction of the domain; i.e., the client should be able to look at the conceptual model and understand it fully without difficulty.  Compare this to the design model which will include method names, data types, polymorphic associations, and...(Read whole news on source site)

Building a Feature Branch Configuration Template in TeamCity

AddThis Social Bookmark Button
I don’t know about you, but sometimes we have frequent feature branches on our projects. Sometimes we don’t go through the trouble of setting up a build configuration in TeamCity if it’s a quick feature, but sometimes we like to see the pretty green checkbox in TeamCity when our build finishes successfully…especially when more than one person is working on the feature. We also like to deploy straight to our testing environments from a feature branch occasionally for testing, so it’s important for adding a build configuration quickly and accurately in TeamCity. I thought I’d give a demonstration on
how to create one. There are two ways to make a template. From scratch and from an existing build configuration. I will not talk about the “Extract Template” option because it’s literally clicking a button and giving a name from within the “Edit Build Configuration” screen. However, there are two things you’ll need to look at in order to use the extracted template as a feature branch template. So look at steps 2 and 4 below for the details if you have an existing build to use as a template. Step 1: Click “Create template” under “Edit...(Read whole news on source site)

Microsoft DevRadio: Using Blend to Help Design Your Windows 8 Apps (Part 2)

AddThis Social Bookmark Button
In Part 2 of our Using Blend for Windows 8 apps series, Andrew Duthie and Kirupa Chinnathambi take a deep dive into how you can use Blend to easily design your Windows 8 apps for various devices. In this episode they’ll show you how to use the device panel and how to react to views and view states. Next Steps:
Step #1 – Download the Tools for Windows 8 App Development
Step #2 – Download Visual Studio Express for Windows 8
Step #3 – Start building
your own Apps for Windows 8 Subscribe to our podcast via iTunes, Zune, or RSS If you're interested in learning more about the products or solutions discussed in this episode, click on any of the below links for free, in-depth information: Websites: Getting started with Windows 8 Apps How to Sell Your Apps and Make Money in the Windows Store Attend a Windows 8 Developer Camp and Hackathon in your area! Blogs & Articles: Andrew Duthie’s Blog

Weekly Windows Phone Development News 8 Oct - 12 Oct 2012

AddThis Social Bookmark Button