All Visual Studio blogs in one place

AddThis Social Bookmark Button
You can specify a number of different drawing attributes that affect how new strokes appear when drawing on an InkCanvas control.  You set the DefaultDrawingAttributes property of the InkCanvas to an instance of the DrawingAttributes class, which contains properties that you can set to change how new strokes appear. Properties of DrawingAttributes include: Color - the color of the new stroke Height [...]

AddThis Social Bookmark Button
There really is no battle between RGBA and HSLA.  Either can accomplish the task of discovering the color that is just right for you.  Which should you choose?  Which is an easier concept for you to understand? Red
Blue Hue
Lightness Alpha (opacity)   Again, which above is easier for you to understand? According to the W3C: 4.2.4. HSL color values CSS3 adds numerical hue-saturation-lightness (HSL) colors as a complement to numerical RGB colors. It has been observed that RGB colors have the following limitations: RGB is hardware-oriented: it reflects the use of CRTs.
RGB is non-intuitive. People can learn how to use RGB, but actually by internalizing how to translate hue, saturation and lightness, or something similar, to RGB. Is RGB truly non-intuitive?  By looking at the color wheel in this post would it be intuitive for you to know the hue value of 1 or 360 is red?  Which is easier to digest:  blue=blue or 240=blue. It doesn’t really matter.  What really mattered to me was to understand the algorithm to convert from one to another.  Since alpha is simply a scale of opacity, I was more curious about...(Read whole news on source site)

AddThis Social Bookmark Button
source: MSDN Magazine The Windows Phone SDK 7.1 includes some great tools for evaluating the adherence to certification guidelines and improving the performance of your applications that target Windows Phone 7.5, prior to submission to the marketplace. In this article, I'll walk you through using the Marketplace Test Kit and Performance Analysis tool on a sample application and show how you can use these tools to evaluate the marketplace-readiness of your application. I'll show you how to use data from the tools to make improvements that will help get it accepted into the marketplace on the first try.
For more information about marketplace certification requirements, see the MSDN Library article, "Application Certification Requirements for Windows Phone" ( All of the tools used in this article are included with the Windows Phone SDK 7.1, which you can get at Sample Application and Test Tools To exercise the Marketplace Test Kit and Performance Analysis tool, I created a sample application called Examine the Stamen, a simple flower identification application. I created it with my mother in mind; she can use it to improve her flower identification skills. The application displays several small images of...(Read whole news on source site)

AddThis Social Bookmark Button
source: We all know plenty of different frameworks of development for mobile devices, however while other development frameworks have taken as the basis language as Javascript (see e.g. PhoneGap and Titanium) people CellSDK uses C#.
This is a significant step forward from the point of view of productivity and power of the programming language, no need to reel off too the differences.   ...Read more

AddThis Social Bookmark Button
Software NCrunch 1.37b Released! - Remco Mulder announces the release of NCrunch 1.37b, containing a raft of fixes for reported issues, along with some interesting new features regarding debugging, performance metrics, code coverage, keyboard shortcuts and much more. Fluqi - Ease using jQuery UI with ASP.NET and ASP.NET MVC - Fluqi is an interesting library which straddles [...]

AddThis Social Bookmark Button
Quick blog. On every SharePoint page there's a javascript context variable: _spPageContextInfo
webServerRelativeUrl : "/ProjectWeb",
webLanguage : 1033,
currentLanguage : 1033,
webUIVersion : 4,
pageListId : "{c1d7b89f-f07b-4e2e-b89c-76c315831d59}",
pageItemId : 5,
userId : 68,
alertsEnabled : true,
siteServerRelativeUrl : "/",
allowSilverlightPrompt : "True"
} So if you are on /ProjectWeb/Pages/default.aspx _spPageContextInfo.pageListId; // list guid for Pages
/>_spPageContextInfo.pageItemId; // ID for listitem
  Special Note siteServerRelativeUrl will tell you if your site collection is sitting at the root level, or mapped further down.  Fairly useful information for all sorts of mischief. No idea why alertsEnabled is a useful information.   An Example Say if you want to show the versions page: var options = {
tite: "Version History",
url: _spPageContextInfo.webServerRelativeUrl + "/_layouts/Versions.aspx?list="+ _spPageContextInfo.pageListId +"&ID="+ _spPageContextInfo.pageItemId,
width: 800,
height: 500,
SP.UI.ModalDialog.showModalDialog(options);   This will get you the Version History page in a modal popup, without running any...(Read whole news on source site)



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