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


All-In-One Code Framework

AddThis Social Bookmark Button
Microsoft have released an updated all in one set of code samples at

The Microsoft All-In-One Code Framework is a free, centralized code sample library driven by developers' needs. Our goal is to provide typical code samples for all Microsoft development technologies, and reduce developers' efforts in solving typical programming tasks.

(Of course, I will continue to provide samples in and elsewhere)

Getting a 'base' Domain from a Domain

AddThis Social Bookmark Button
Here's a simple one: How do you reliably get the base domain from full domain name or URI? Specifically I've run into this scenario in a few recent applications when creating the Forms Auth Cookie in my ASP.NET applications where I explicitly need to force the domain name to the common base domain. So,,,, all should return Here's the code where I need to use this type of logic for issuing an AuthTicket explicitly:private void IssueAuthTicket(UserState userState, bool rememberMe) { FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(1, userState.UserId,
DateTime.Now, DateTime.Now.AddDays(10), ...(Read whole news on source site)

Using SpecsFor.Mvc - Dealing with Authentication

AddThis Social Bookmark Button
In all of the SpecsFor.Mvc examples I’ve posted so far, I’ve omitted one common cross-cutting requirement of web applications: authentication!  Most web apps have some sort of authentication, and we need to be able to test our core application logic without this cross-cutting concern getting in the way.  SpecsFor.Mvc makes it easy to achieve exactly that, as I’ll show you in this post. The “Using SpecsFor.Mvc” Series Using SpecsFor.Mvc – Introduction Using SpecsFor.Mvc – Navigation and Form Submission Using
SpecsFor.Mvc - Reading Data Using SpecsFor.Mvc – Dealing with Authentication (you are here) More coming soon! Our Configuration Once again we’ll be using the SpecsFor.Demo application (available on Github) with a standard SpecsFor.Mvc configuration: [SetUpFixture] public class AssemblyStartup { private SpecsForIntegrationHost _host; [SetUp] public void SetupTestRun() { var config = new SpecsForMvcConfig(); config.UseIISExpress() ...(Read whole news on source site)

APress deal of the day - 25/Apr/2012 - Beginning ASP.NET 4 in VB 2010

AddThis Social Bookmark Button
Today's $10\Deal of the day from APress at is  Beginning ASP.NET 4
in VB 2010

"The most up-to-date and comprehensive introductory ASP.NET book you'll find on any shelf, Beginning ASP.NET 4 in VB 2010 guides you through Microsoft's latest technology for building dynamic web sites. This book will enable you to build dynamic web pages on the fly, and assumes only the most basic knowledge of Visual Basic."

Cross Posted: Online Training Course for F#

AddThis Social Bookmark Button
This is cross-posted from the F# team blog. Great to see this!   Training is an important part of adopting F# successfully in any large organization. There are several options for F# training currently available, but one recent addition is an online training course in F# by Pluralsight, authored by Oliver Sturm.  The material is available through a subscription -  details on subscriptions to this material can be found on the Pluralsight website. The sections and durations of the course are listed below, and in more detail on the Pluralsight website. ....

Windows Azure and Cloud Computing Posts for 4/20/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:

How to Share Status from WP7 using the ShareStatusTask?

AddThis Social Bookmark Button
Do you want to develop an application or game which will update your status or game result in some social networking sites like Facebook, Twitter, Linked-In and/or Windows Live? Then this post will help you to integrate such task in your app.   Using “ShareStatusTask” of the Windows Phone 7 SDK, you can update your status line on the social networking sites. Continue reading the post for more details of the API and the implementation steps.   Know About the API “ShareStatusTask” is a sealed class present in the namespace “Microsoft.Phone.Tasks” and inherits
the class named “ShareTaskBase”. ShareStatusTask exposes a string property called “Status” where you will set the message that you want to share on social networking sites.   Here is the meta data of the ShareStatusTask:     namespace Microsoft.Phone.Tasks { public sealed class ShareStatusTask : ShareTaskBase { public string Status {......(Read whole news on source site)

Saving View State in Cache

AddThis Social Bookmark Button
Most people who have worked with ASP.NET web forms know about view state; they may have both benefited from and cursed it, since it allows simple things to be done very easily but also as easily doing very stupid things, like filling up an HTML page with several megabytes of data which have to be submitted on each postback. What some people won’t know is that the way the view state is maintained is extensible and based on a provider model. Besides the default way of storing view state in an hidden field, ASP.NET includes another implementation of the
provider which allows state to be stored in the session, thus keeping it out (but for a small part) of the HTML. The abstract base provider class is PageStatePersister and the two included implementations are HiddenFieldPageStatePersister and SessionPageStatePersister. So, what keeps you from storing everything in the session? It seems like an easy choice… there are some drawbacks, however: All browser tabs share the same session, so care must be taken if the same page is open on two tabs, because changes to the session made in one page will affect...(Read whole news on source site)

We Want YOUR Windows 8 Metro style Apps!

AddThis Social Bookmark Button
With the Release Preview of Windows 8 coming in June, it's time to get cracking on your apps. If you haven't already, you should download the Windows 8 Consumer Preview, and the Visual Studio 11 Beta and start working on an app. If you're already working on an app, you may have heard that at present, you need a token to get access to submit your app to the Windows Store. So how do you get a token? I'll leave the answer to my fellow Microsoftie Jaime Rodriguez: It’s easy! If
your app is ready and you want to be among those developers who get to submit to the store early, simply attend one of the 100s of free Application Excellence Labs that DPE and Windows are holding around the world. Follow these steps to get invited to an App Excellence lab: Create a really great Windows 8 Metro style app (or game) immediately. Get it as ready as if you were submitting to the store. If you know your local DPE evangelists (maybe because you attended a Windows camp training), get in touch with them and ask...(Read whole news on source site)