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


How to customize Quick Actions and Notifications in #Windows 10?

AddThis Social Bookmark Button
Like Windows Phone 8.1, Microsoft also included quick actions and better notification system in Windows 10. You can customize the quick action buttons and select the favorite four from a collection of eleven action buttons. Not only this, you can also choose settings to customize the notifications. In this post of the Windows 10 Tips & Tricks series, we will go thru the settings page in order to understand the various options to customize the quick actions and notifications in Windows 10.   The Windows 10 Notifications Center consolidates and shows the notifications from apps in
a single place where you can interact with them. It also has a useful Quick Actions section at the bottom with four main action buttons which you can easily configure. If you click the Expand option, you can get the quick access to more actions. It’s good to have the four main action buttons in the Notification Center, but in case you want to change the order and customize the four main buttons, just follow the below steps. It also give you options to configure how notifications will be displayed for each and individual applications. To start with the customization, open the...(Read whole news on source site)

Do you use CodedUI for testing responsive webdesign?

AddThis Social Bookmark Button
Responsive web design has been around for quite some time. Most of the websites created nowadays are built with responsiveness as a main design consideration. But still automating responsive website testing is not adopted in software teams very well. Marcel has a nice post on how to resize the browser window to test responsive websites.

In this post, I’ll try to combine his solution with attributes to specify the view port details and then use this information to test responsive websites.

Use extensions methods to resize Window

public static class BrowserWindowExtensions
    [DllImport("user32.dll", SetLastError = true)]
    [return: MarshalAs(UnmanagedType.Bool)]
internal static extern bool SetWindowPos(IntPtr hWnd, IntPtr hwndInsertAfter, int x, int y, int cx, int cy, uint uFlags);

    public static void ResizeWindow(this BrowserWindow control, int width, int height)
        SetWindowPos(control.WindowHandle, (IntPtr)(-1), 0, 0, width, height, 0x0002 | 0x0040);

Use attributes to specify ViewPort

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class BrowserViewPortAttribute : Attribute
    public BrowserViewPortAttribute(int width, int height)
        Width = width;
        Height = height;

    public int Width { get; private set; }
    public int Height { get; private set; }

Message Brokers, Channels And JavaScript Zombies

AddThis Social Bookmark Button
Be careful when using a channel-based message broker for browser-based JavaScript applications. It’s easy to get a channel from the broker, but it’s also easy to create memory leaks and JavaScript zombies – object that should have been dead and cleaned up, but come back to bite you later. Global Channels I recently wrote some […]

The “you broke the build!” game

AddThis Social Bookmark Button
Recently I pulled some code from a colleague, and tried to test it. It worked, which was fine, so I let it run the tests, and went out to lunch. When I came back, I was surprised to discover that the build has failed, not because of some test failing, but because it couldn’t compile. To be rather more exact, we go the following error: [optimized-build] Using type script compiler: C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.4\tsc.exe [optimized-build] [optimized-build] System.ComponentModel.Win32Exception thrown: [optimized-build] -------------------------- [optimized-build] The filename or extension is too long [optimized-build] -------------------------- That was strange. I checked several times, and we had
no such thing. No one had a veryVeryLongFileNameThatNeededToBeVeryExplicitAboutWhatItWasDoingAndDidNotCareAboutLength.ts. And the tsc.exe location was in its normal place. This is from a part in our build process that gather all the TypeScript files and merge them into a single optimized bundle. And it suddenly failed. Now, on the colleague machine, it worked. The previous commit before I merged it, it worked. The merge was a clean one, and very obvious that nothing was going on there. It took me a while, but I finally figured out that the error occurred because my colleague has added a new TypeScript file. How can adding a...(Read whole news on source site)

The Morning Brew #1931

AddThis Social Bookmark Button
Next Monday (31st August) is a public holiday here in the UK, and as the unofficial Morning Brew rules dictate, there shall be no edition then. Furthermore I will be taking most (if not all) of September off from publishing the Morning Brew – the first break in publication since I started back in 2008. […]

Every Employee is a Digital Employee

AddThis Social Bookmark Button
“The questions that we must ask ourselves, and that our historians and our children will ask of us, are these: How will what we create compare with what we inherited? Will we add to our tradition or will we subtract from it? Will we enrich it or will we deplete it?”
― Leon Wieseltier Digital transformation is all around us. And we are all digital employees according to Gartner. In the article, Gartner Says Every Employee Is a Digital Employee, Gartner says that the
IT function no longer holds a monopoly on IT. A Greater Degree of Digital Dexterity According to Gartner, employees are creating increasing digital dexterity from the devices and apps they use, to participating in sharing economies. Via Gartner Says Every Employee Is a Digital Employee: "'Today's employees possess a greater degree of digital dexterity,' said Matt Cain, research vice president at Gartner. 'They operate their own wireless networks at home, attach and manage various devices, and use apps and Web services in almost every facet of their...(Read whole news on source site)