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


RavenDB Training

AddThis Social Bookmark Button
Demand for RavenDB training has been going up, and we are actually running around (pretty much world wide) trying to catch up. After completing a course in Stockholm a couple of weeks ago, we have a new course in Stockholm in October, which you can register to using the following link. I’ll also be doing a course in Munich, Germany, early next month. You can register to that here. And, of course, we have the already scheduled courses, I mean, just take a look: RavenDB 2 day workshop with Oren Eini - Munich, Germany - Tuesday,
03 July 2012 Sharding & Scaling with RavenDB - Berlin, Germany - Wednesday, 04 July 2012 RavenDB 2 day workshop in the Hibernating Rhinos' offices - Hadera, Israel - Wednesday, 11 July 2012 RavenDB 2 day workshop with Itamar Syn-Hershko - New York, USA - Tuesday, 21 August 2012 RavenDB at Philly.NET user group - Malvern, PA, USA - Monday, 27 August 2012 RavenDB Meetup in Washington DC - Washington DC, USA - Tuesday, 28 August 2012 RavenDB 1-day bootcamp with Itamar Syn-Hershko - Chicago, IL, USA - Thursday, 30 August 2012 RavenDB...(Read whole news on source site)

Swap Values of Column - Puzzle from Pinal Dave

AddThis Social Bookmark Button
Pinal Dave, Blogger,Speaker,Evangelist and Author,in his blog posted a puzzle about SQL SERVER – A Puzzle – Swap Value of Column Without Case StatementConsider the following set of data USE tempdb GO CREATE TABLE SimpleTable (ID INT, Gender VARCHAR(10)) GO INSERT INTO SimpleTable (ID, Gender) SELECT 1, 'female' UNION ALL SELECT 2, 'male' UNION ALL SELECT 3, 'male' GO SELECT * FROM SimpleTable There can be many solutions for this. Here are my simple ones Method 1 : Concatenate empty string and apply replaceselect gender,replace(replace (' '+gender,' fe',''),' ','fe') as new_gender from simpletable Method 2 : Apply multiple replacesSolution 1select gender,replace(replace(replace
(gender,'male',' '),'fe ','male'),' ','female') as new_gender from simpletable Solution 2 select gender,replace(replace(replace (gender,'female','X'),'male','female'),'X','male') from simpletable
In all the cases, the results are gender new_gender ---------- ------------------- female male male female male female Note : Using a CASE expression will be simpler and alomost work in all RDBMSs without any code chage...(Read whole news on source site)

Compressing Data in Windows 8 Metro Applications

AddThis Social Bookmark Button
The following post is an excerpt from Chapter 6 of my upcoming book, Designing Windows 8 Metro Applications with C# and XAML. Keep reading to learn how you can receive a free copy of the full chapter. Storing large amounts of data can take up a large amount of disk space. Data compression encodes information in a way that reduces its overall size. There are two general types of compression. Lossy compression may not preserve all of the original information and is often used in image, video, and audio compression. Lossless compression preserves the full fidelity of the
original data set. The Windows 8 runtime exposes the Compressor and Decompressor classes for compression. The Compression project provides an active example of compressing and decompressing a data stream. The project contains a text file that is almost 100 kilobytes in size. It loads that text and displays it with a dialog showing the total bytes. You can then click a button to compress the text, and click another button to decompress it back. The compression task performs several tasks. A local file is open for output to store the result of the compressed text. There are...(Read whole news on source site)

#576 – How (Traditional CLR) Events Work

AddThis Social Bookmark Button
An event in .NET is a mechanism that allows an object to inform client code about something that happened inside the object that the other code might care about. For example, you might have a Dog object that raises a Barked event whenever someone calls the dog’s Bark method.  Your code can be notified whenever the dog barks. In .NET, we say that [...]

Announcing WebMatrix 2 RC

AddThis Social Bookmark Button
Yesterday you met open, unified, powerful yet simplified Windows Azure. You can read more about it on Windows Azure Blog or on ScottGu’s blog In the same spirit and as a great compliment to Windows Azure Web Sites, today I am super excited to announce the Release Candidate of our free web development tool WebMatrix. Background WebMatrix is designed to build modern standards based websites as effortlessly as possible. It aims to make your web development workflow easy i.e. · It lets you get started with Open Source web applications or with
built in pretty templates like bakery, personal site, photo galleries, Chat application, Simple CMS etc. · It comes bundled with a web server so you do not have to configure anything on your machine. · It has top notch support for web & industry standards like HTML5 , CSS3, JavaScript & jQuery · It supports server side scripting of your choice - may it be ASP.NET, PHP or Node.js · It will have built in database management tools for SQL Server or MySQL · It also has SEO tool & performance optimization tools. ...(Read whole news on source site)

Share photos on Facebook from Windows Phone app

AddThis Social Bookmark Button
source: Sharing photos on Facebook from your Windows Phone app is one of the scenarios for which you need Facebook inside your app. In my last article, I wrote about the first step of creating a Facebook enabled app, which is authentication. After the user is successfully authenticated, you can start doing things like sharing and uploading photos. This article will show you the simplest way to do it! Let's start with my last article - Facebook authentication from Windows Phone app. Finishing with implementing code from that article, I will assume that
you have acquired AccessToken and UserID and serialized it to isolated storage. The class used for it was: public class FacebookAccess { public string AccessToken { get; set; } public string UserId { get; set; } } ...Read more ...(Read whole news on source site)

Slides and demos from my 2 NDC 2012 talks

AddThis Social Bookmark Button
For the third year in a row, I was selected as a  speaker at NDC Oslo, in my opinion one of the best developer conferences. If you're a developer, this is THE conference that should be on your agenda starting next year. All videos from this and past editions can be found at This year, I was asked to do 2 sessions: Windows Phone 7.5 Background workers and Advanced WinRT. Here are all the demos and slides for both sessions: Windows Phone 7 Background workers: Slides - Demos
Advanced WinRT: Slides - Demos - The blog of Gill