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

Pluralsight Meet the Author Podcast on HTML5 Canvas Programming

AddThis Social Bookmark Button
  In the latest installment of Pluralsight’s Meet the Author podcast series, Fritz Onion and I talk about my new course, HTML5 Canvas Fundamentals.  In the interview I describe different canvas technologies covered throughout the course and a sample application at the end of the course that covers how to build a custom business chart from start to finish.
Meet the Author:  Dan Wahlin on HTML5 Canvas Fundamentals   Transcript [Fritz] Hi. This is
Fritz Onion. I’m here today with Dan Wahlin to talk about his new course HTML5 Canvas Fundamentals. Dan founded the Wahlin Group, which you can find at thewahlingroup.com, which specializes in ASP.NET, jQuery, Silverlight, and SharePoint consulting. He’s a Microsoft Regional Director and has been awarded Microsoft’s MVP for ASP.NET, Connected Systems, and Silverlight. Dan is on the INETA Bureau’s — Speaker’s Bureau, speaks at conferences and user groups around the world, and has written several books on .NET. Thanks for talking to me today, Dan. [Dan] Always good to talk with you, Fritz. ...(Read whole news on source site)

When is a cast not a cast?

AddThis Social Bookmark Button
I'm asked a lot of questions about conversion logic in C#, which is not that surprising. Conversions are common, and the rules are pretty complicated. Here's some code I was asked about recently; I've stripped it down to its essence for clarity: class C {}
class D
{
  public static C M(C c)
  {
    return something;
  }
}
public static class X
{
  public static V Cast(object obj) { return (V)obj; }
} where there are three possible texts for "something": Version 1: (C)c
Version 2: X.Cast>(c);
Version 3: (C)(object)c Version 1 fails at compile time. Versions 2 and 3 succeed at compile time, and then fail
at runtime if U is not bool. Question: Why does the first version fail at compile time? Because the compiler knows that the only way this conversion could possibly succeed is if U is bool, but U can be anything! The compiler assumes that most of the time U is not going to be constructed with bool, and therefore this code is almost certainly an error, and the compiler is bringing that fact to your attention. Question: Then why does the second version succeed at compile time? Because the compiler has no idea that a method named X.Cast...(Read whole news on source site)

Q&A #18 – NaN for a Windows Phone Textbox Height

AddThis Social Bookmark Button
NaN for a Windows Phone Textbox Height Did you know that you can set the value of the height property to “NaN” for a Windows Phone textbox? The Textbox height property accepts double value but can also accept “NaN”. By specifying this, we can specify the auto size property for the textbox. Alternatively, you can also set this value to “Auto” too.

Pragmatic Tips for Building Better Windows Phone Apps

AddThis Social Bookmark Button
source: MSDN Magazine I love building apps for Windows Phone. I love creating code samples and writing about the Windows Phone platform as part of my day job, though I've had my ups and downs along the way. Throughout all of this work I've stumbled and picked myself up, and dug myself into holes, but climbed back out. What I want to do is smooth out this obstacle course for you with some pointers in this article. I'll talk about controls, User Datagram Protocol (UDP) Multicast, the Ad Control, isolated storage, tools and 256MB devices. So sit back,
relax and enjoy. Specify the TargetName when Using a HyperlinkButton The HyperlinkButton control is a button control that displays a hyperlink. I use this all the time to help the user navigate my app, or the Web. In one of my apps I was using a HyperlinkButton to show some help information, and I wanted a hyperlink to take the user to more information on the Web. So I did the following (details omitted): Help Simple, right? I ran my app, navigated to the page containing my little help button and clicked on the...(Read whole news on source site)

"Access Denied" Error when Creating Publishing Subsites

AddThis Social Bookmark Button
This is a very specific error I ran across, but I only saw two postings online where others encountered this same problem, so I thought I'd post my resolution in case someone else runs into the same problem. The Scenario In my server environment, I have two special SharePoint groups, based on requirements by the IT department. 1. The "Manage" Permission set includes all the Permission checkboxes except for two checkboxes related to seeing user permissions and creating groups. Instead of adding users to the "Site Owners" group, that has the "Full Control" permission set, our site owners are called "Managers" and have
been granted this permission set. The key thing to note is that these users do have the permission to create subsites. 2. Instead of using the "Resitricted Readers" group, a new group was created (which followed specific naming conventions) and given the "Restricted Read" permission set. The Problem After doing this, when a "manager" tried to create a new publishing site inside the site collection, they got the following error: "Provisioning did not succeed. Details: Failed to initialize some site properties for the Web at Url: '[my url here]' OriginalException: Access is denied (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

When I looked at the...(Read whole news on source site)

Windows 8 App Privacy Policy

AddThis Social Bookmark Button
Policy This Privacy policy covers your use of this application.This App does not collect, store or share any personal information, or anything related to your device.  We do not collect any statistics, trends or track user movements.  Sharing Data The app provides share functionality that allows you to share newsworthy information with any third party [...]

The Native Image Generator failed

AddThis Social Bookmark Button
When submitting an App to the Windows 8 store I am repeatedly getting an error that relates to the failure of the native image generator. There are a number of suggestions around this issue in this article which having worked through, and submitted an issue via  Connect (see here) I have finally implemented the suggested [...]

Home