Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

New ASPNET5 Course Coming

AddThis Social Bookmark Button
I’m diligently working towards my new Pluralsight course and I am very excited about it. The new course is an end-to-end building of a web app using ASP.NET 5, MVC6, Entity Framework 7, Angular 1.4, and Bootstrap 3.x. This course is a bit different than other courses I’ve done because we’re releasing it before the RTM of ASP.NET 5. Because of this, I wanted to let my students know what to expect. The course will build a web app from an empty ASP.NET 5 project through to a deployed app. This mirrors my ASP.NET MVC5 course from a couple
of years ago, but is written with the new stack. The course will build a whole new project as well. This time, you’ll be building a tool for trip planning called “The World”. The course will be initially released based on ASP.NET 5 Beta 7 (expected late this month). Over the rest of the year, we’ll update it for every new drop (Beta 8, RC, and RTM if Microsoft sticks to their schedule. This new course should be available by the end of September. Cross your fingers!

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)

Home