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


Musings on SpecsFor 3.0

AddThis Social Bookmark Button
I’ve been thinking a lot lately about the current short-comings of SpecsFor.  While I’m pretty happy with the end-user experience, the internals have become complex and confused.  I’m also encountering new testing scenarios as I’m writing more and more full integration specs with SpecsFor, and I’m finding that SpecsFor isn’t able to help with those scenarios in the ways I would like for it to.  I have some ideas for SpecsFor 3.0 that I think will simplify the core while also making SpecsFor more flexible and more powerful. One of the fundamental problems with SpecsFor
is its dependency on inheritance.  It doesn’t matter what kind of code you’re writing, inheritance gets in the way 99.95% of the time, and unfortunately SpecsFor does not fall into the 0.05%.  Just look at the base class I created for database integration testing.  Specs that want to use the database must derive from this class, but what if they want to test other classes that just depend on the database indirectly?  There’s not an easy way to achieve this with the inheritance-based approached.  I’d rather have something like this: public class when_retrieving_products : SpecsFor, IUseTheDatabase { ...(Read whole news on source site)

Simple JavaScript Notifications with toastr

AddThis Social Bookmark Button
My friend Hans Fjällemark and I have been collaborating on some JavaScript libraries lately and we decided it was time to release toastr, the first of them, on github. Our collaborative organization is under  toastr is a simple JavaScript toast notification library that is small, easy to use, and extendable. It allows you to create simple toasts with HTML5 and JavaScript like this: Simply include the files in your HTML page and write a simple line of code like this:
toastr.success('Are you the six fingered man?', 'Inigo Montoya');
is a great developer / designer and has recently helped me created some nice responsive designs in some demos and Pluralsight courses. You can see the layout he helped design and create in my latest course, JsRender Fundamentals on Pluralsight now. The API There are 4 methods to learn. info, warning, success and error. The each have a message and an optional title.
// Display a info toast, with no title'Are you the six fingered man?')

// Display a warning toast, with no title
toastr.warning('My name is Inigo Montoya. You Killed my father, prepare to die!')

// Display a success toast, with...(Read whole news on source site)

Using WCF Data Services Tutorial - Part 1

AddThis Social Bookmark Button
With the recent release of WCF Data Services 5.0 a few weeks ago, I thought it would be a good idea to introduce the technology to those of you that have not seen it before. 

WCF Data Services for those of you used to creating traditional SOAP based or REST services using WCF has a different purpose and use. It builds upon the Open Data Protocol (OData) that Microsoft created to expose data as resources that are addressable by URIs. OData builds upon the AtomPub protocol to represent data in a standardized method and then makes it
accessible via HTTP. Through REST based services you can access any type of data using the standard HTTP verbs (GET, POST, PUT, DELETE).

These services offer a powerful way to quickly expose your data as services without a lot of the manual work involved otherwise. In addition the services are customizable via service operations and interceptors. The OData protocol is something not confined to .NET either. The idea is an open protocol for exposing your data in a platform agnostic manner via HTTP. There are a slew of .NET OData client libraries that sit atop of data services for accessing the data, and there are even libraries in other...(Read whole news on source site)

Bytes by MSDN Interview: Nick Landry

AddThis Social Bookmark Button
Bytes by MSDN Interview: Nick Landry:

Join Jerry Nixon, Developer Evangelist for Microsoft and Nick Landry, Sr. Product Manager with Infragistics. Nick talks about an enhanced suite of developer products for building apps on Windows Phone. Nick shares his insight on the future of mobile apps and what an exciting time it is for Indie game developers using the app stores. Develop for Windows Phone 7.5 and Xbox Live Indie Games.

How to: Hide the Ribbon in SharePoint 2010 (Rajeswari Mohandas)

AddThis Social Bookmark Button
In this post, you learn how to hide the ribbon in SharePoint 2010 by using JavaScript. About the Ribbon in SharePoint 2010 The SharePoint 2010 ribbon provides a similar user experience as the Microsoft Office client products. The ribbon is a toolbar which appears on top of the page to provide the most commonly used tools, controls, and commands. The ribbon hierarchy is organized as follows (see Figure 1 and Figure 2): Contextual Tag Group - A contextual tab enables you to provide a set of user interface (UI) controls within a certain
context. For example, when you select a table in a document, a set of tabs is displayed to work with the table. When the table is deselected, the contextual tabs are hidden. Contextual tabs with a similar context are organized in a contextual tab group so you can have more than one tab in a group. Tabs – Tabs are used to organize groups of related controls. For example, an Insert tab displays controls that enable you to insert various objects into a document such as files, tables, images, and so forth. ...(Read whole news on source site)

Download Complete Website Sample of DevExpress ASP.NET Wizard

AddThis Social Bookmark Button
Last week I posted about a slick ASP.NET wizard sample in our Code Central collection. There's an even better DevExpress ASP.NET wizard sample, check out this short 1 minute video about the DevExpress ASP.NET Event Registration sample website:
DevExpress ASP.NET Event Registration
Download This sample and 4 others are available with full source-code as Visual Studio web solutions when you install the latest DevExpress DXv2 version, available here: Once you download and install DevExpress, you can find the Event Registration sample in your local 'Public
Documents' folder. For example on my Windows 7 machine, it's located here: C:\Users\Public\Documents\DevExpress 2011.2 Demos\Components\ASP.NET\Common\CS\EventRegistration   Try it online Play with the sample online now:   How's it work? Similar to the Code Central sample, this Event Registration wizard uses the DevExpress ASPxPageControl with multiple tabs to control the flow of different views.   Download DevExpress today and then play with the full sample of the DevExpress ASP.NET Event Registration wizard. Enjoy and thanks!   ...(Read whole news on source site)

Codeplex UI Refresh

AddThis Social Bookmark Button
Today we launched our new Codeplex look and feel that I previewed a few weeks ago.  As I said then, we’ve redoubled our effort on Codeplex and you should expect to see it evolve fairly rapidly.  First Git support, now a new look.  What’s next?  Stay tuned and you’ll see. Check out Mark’s blog post to see how we’ve both improved the look and simplified the experience.  Or visit Codeplex and check it out for yourself. Brian