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


Windows Phone Drag Gesture and WriteableBitmap

AddThis Social Bookmark Button
source: windowsphone7developerguide Jigsaw Puzzle enables you to turn any picture into a challenging 30-piece jigsaw puzzle. The Main Page Jigsaw Puzzle's main page contains the 30 pieces arranged in 6 rows of 5. Each piece is a 96×96 canvas that contains a vector drawing represented as a Path element. 14 distinct shapes are used (4 if you consider rotated/flipped versions as equivalent): Each piece is actually larger than 96 pixels in at least one dimension, which is fine because each Path can render outside the bounds of its parent 96×96 canvas. Each Path is
given an appropriate offset inside its parent canvas to produce the appropriate interlocking pattern.  Every puzzle presented by this app uses these exact 30 pieces in the exact same spots; only the image on the pieces changes. The choice of a vector-based path to represent each piece is important because it enables the nonrectangular shapes to interlock and retain precise hit-testing. If puzzle-pieceshaped images were instead used as an opacity mask on rectangular elements, the bounding box of each piece would respond to gestures on the entire area that overlaps the bounding box of any pieces underneath. ..

Windows 8 App Bars: What to watch out for

AddThis Social Bookmark Button
source: Quickly following up from my "Snapped View" article there was another little caveat I wanted to add, but it also deserved it' own little post. AppBars are Windows 8 version of the good old Application Bar in WP7, similar name just a whole load of more functionality and not as many constraints as WP7 had. Adding AppBar's is also very quick and painless as they are basically just Grid's with all the same layout features you'd expect. Not going to re-itterate over what are already good docs on the subject so you can
check out the MSDN article on it and the AppBar sample provided by Microsoft: AppBar Class on MSDNXAML AppBar control sample So why all the fuss Anyone who knows me know I don't do puff articles that re-iterate what is already documented quite clearly in the manufacturer documentation, so why the post? Well there are a few other little pieces i found while doing my app that I found useful and had to pass on. *Note: In the App Labs it was made clear on the correct use of AppBar's which isn't exactly...(Read whole news on source site)

Free Windows Azure Camp for the IT Pro - UK

AddThis Social Bookmark Button
Yes – we’re now looking after the IT Pro with Azure! If you just want to register – go here: If you want more info – have a read of the text below, or go to for the same. Here is a video to give you a feel for what a camp is like.   UK Windows Azure Camps We run 2 types of camp for Windows Azure; one aimed at the developer and one aimed at the IT Pro. The developer camp concentrates on the Platform-as-a-Service (PaaS) features
of Windows Azure. Mostly this means Windows Azure Cloud Services, Windows Azure Storage, Windows Azure Active Directory Access Control Service, Windows Azure Service Bus and Windows Azure SQL DB, and Windows Azure Websites. The IT Pro camp concentrates on the Infrastructure-as-a-Service features; Virtual Machines and Virtual Networks. Agenda Windows Azure Developer Camp Time ...(Read whole news on source site)

#645 – Checking for the Presence of Modifier Keys

AddThis Social Bookmark Button
In Windows, a modifier key is a key that you press in combination with another key.  The standard modifier keys in Windows are: Alt key Control (Ctrl) key Shift key Windows key (Windows logo on face of key) In a WPF keypress handler (PreviewKeyDown, KeyDown, PreviewKeyUp and KeyUp), you can check for the presence of one of the [...]

Code Snippets for Windows Store Apps

AddThis Social Bookmark Button
source: channel9 In partnership with the Visual Studio team, we are launching Code Snippets for Windows Store apps, a collection of around 60 IntelliSense Code Snippets for common Windows Store app programming tasks. The snippets are available for Visual Basic, C#, C++, and JavaScript developers. For example, if you don't know how to copy a file in JavaScript or C++, just right-click, select Insert Snippet, select the code snippet, and it will automatically add the code to your Windows app as shown in the screenshots below. See the full list of Snippets ...
href="">Read more ...(Read whole news on source site)

Add a ‘Rate and review’ button to your settings pane

AddThis Social Bookmark Button
source: All marketplaces are based on ratings submitted by users, why not making it easy for them to submit a rating and review your application? 1. Subscribe to the CommandsRequested event SettingsPane.GetForCurrentView().CommandsRequested += AppCommandsRequested; 2. Add a "Rate and review" command tatic void AppCommandsRequested(SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args) { var rateCommand = new SettingsCommand("rate", "Rate and review", x => { Windows.System.Launcher.LaunchUriAsync(
new Uri("ms-windows-store:REVIEW?PFN=[YOUR_PACKAGE_FAMILY_NAME]")); }); args.Request.ApplicationCommands.Add(rateCommand); } ...Read more ...(Read whole news on source site)

Announcement: Developers Get Your Apps into the Windows Store Now

AddThis Social Bookmark Button
We’re very excited to announce the last significant milestone in the rollout of the Windows Store before the general availability of Windows 8 on October 26. The Store is now open for app submissions from all developers – individuals and companies – in our supported markets – and the UK is one of those! We’re also announcing a number of additional subscription program offerings that recognize and thank developers for their interest and commitment to Windows. All eligible MSDN subscribers receive a free, one-year Windows Store developer account as part of their MSDN benefits. (Eligible subscriptions include Visual
Studio Professional, Test Professional, Premium, Ultimate, and BizSpark.) We have a program for students—DreamSpark—that similarly waives the subscription fee. And we have an offer for businesses in our BizSpark program, as well. Throughout the Windows Store preview stages, we’ve seen fantastic interest from individual developers, large development houses and component and service providers. And as we’ve opened up new markets for onboarding and expanded our invitations, we’ve seen a great increase in both the number and diversity of apps—all during our preview milestones, before broad availability of the OS and before even the first production Windows...(Read whole news on source site)

Are you an administrator?

AddThis Social Bookmark Button
In RavenDB vNext, we tightened the security story a bit. Some operations that used to be possible for standard users are now administrator operations. For example, creating a new database require you to be admin. Figuring out whatever you are admin is a bit tough, though. In particular, we use the following logic to determine that: If you logged in using OAuth, the credentials will tell us whatever you are admin or not. If you are logged in using Windows Auth, we make the following assumption: If you are a Windows Admin, you are an administrator (ouch!). If
you are running on the same user as the one RavenDB is using, you are an administrator (debug / dev scenarios). If you are running embedded, you are admin. You might have noticed that there is an “ouch” on the Windows Admin line. The reason for that is that it is actually quite hard to figure that one out. RavenDB is running as a web server, and when we use Windows Auth, we get a WindowsIdentity that we can use. The problem is with UAC. When that is turned on, what we get is the non elevated user. But that...(Read whole news on source site)