Tuesday, August 23, 2011

Get the tools and submit your Mango apps!

Get the tools and submit your Mango apps!


Get the tools and submit your Mango apps!

Posted: 23 Aug 2011 09:51 AM PDT

Windows Phone SDK 7.1 RC is now available. You can use this version of the tools to create Windows Phone Mango apps and submit them to the marketplace. You need to uninstall previous versions of the tools before installing this version. These tools enable...( read more )...(read more)

WP7Contrib – Bing Service Wrapper Part IV Location Simplified

Posted: 23 Aug 2011 06:23 AM PDT

Based on feedback around my first post in this series of talking about how to use Location I thought that I would revisit how you can use this really cool bit of stuff in your app. When I first wrote the original post it was much more bare bones however...( read more )...(read more)

WP7Contrib – Tombstoning Part II The View Model

Posted: 23 Aug 2011 05:41 AM PDT

In the last post I introduced the idea of separating the tombstoning into two separate responsibilities, the View and the View Model. Each has a different responsibility; the View for specific information to enhance the User Experience and the View Model...( read more )...(read more)

SlowCheetah - Web.config Transformation Syntax now generalized for any XML configuration file

Posted: 23 Aug 2011 01:49 AM PDT

I did a post last year called If You're Using XCopy, You're Doing It Wrong that also included a video of my talk at Mix10 where I show how to deploy website with Web Deploy. One of the cooler not-very-well-known features is called Web.config Transformation. Once folks see it, then immediately want a general solution. First, from the previous post: You can right-click on your web.config and click "Add Config Transforms." When you do this, you'll get a web.debug.config and a web.release.config. You can make a web.whatever.config if you like, as long as the name lines up with a configuration profile. These files are just the changes you want made, not a complete copy of your web.config. You might think you'd want to use...(read more)

WP7Contrib – Tombstoning Part I The View

Posted: 23 Aug 2011 12:09 AM PDT

Yes I know, that old chestnut what more could there be to say? Well quite a lot actually and my intentions are to do this as a two part blog post. Where we'll cover off how to use the new tombstoning mechanism found in the WP7Contrib (WP7C). But, hang...( read more )...(read more)

Windows Phone 7.1 (Mango) Developer Tools–RC Release!

Posted: 22 Aug 2011 02:49 PM PDT

Microsoft just released a new refresh of Windows Phone Mango developer tools (WPDT) – the RC. This release includes "Go Live" license that permits registered developers to publish Mango applications to the Marketplace! What changed/added: The profiler...( read more )...(read more)

SQL Parallel Boost

Posted: 22 Aug 2011 01:23 PM PDT

For best performance, SQL Server implicitly uses a parallel execution logic for SQL queries (SELECT), but SQL Server has no integrated support for performing parallel data modification operations.

SQL Parallel Boost facilitates the parallel execution of any data modification operations (UPDATE, INSERT, DELETE), making best use of all available CPU resources. The preliminary job dispatching supports various job splitting rules: even, or no split if count of rows affected is below a predefined threshold.

The parallel execution supports statement related priority settings. Potential deadlocking situations are handled automatically (retry). The execution of queued (waiting) activities can be indirectly cancelled thru optional timeout values.

Monday, August 22, 2011

Security Best Practices for C++ (Visual C++ 2010)

Security Best Practices for C++ (Visual C++ 2010)


Security Best Practices for C++ (Visual C++ 2010)

Posted: 22 Aug 2011 10:40 AM PDT

This topic contains information about recommended security tools and practices. Using these resources and tools does not make applications immune from attack, but it makes successful attacks less likely.

SQL Server Database Maintenance API

Posted: 17 Aug 2011 06:04 AM PDT

SQL Server Database Maintenance API in versions 2000, 2005, 2008 and 2008R2.

SQL Server Companion WPF

Posted: 21 Aug 2011 04:52 PM PDT

This is a little WPF application designed to help developers script database objects easily and quickly during the early development stages.

For example, it allows you to quickly generate a script that drops and recreates all foreign keys on a db so that you can populate tables with data without getting referential integrity errors.

This application is also a sample C# WPF MVVM application for new developers to use as part of the learning process.

This project uses the Cinch v2 framework created by Sacha Barber. Thanks for a rich and easy to implement framework.

Developing real-world applications with LightSwitch - Part 3: Going visual with screens

Posted: 22 Aug 2011 03:49 AM PDT

Don't miss... Upcoming free webinar by Gill Cleeren: Deep-DIVE into Silverlight FIVE Recording of LightSwitch webinar by Gill Cleeren The Ebook: Beginners Guide to Visual Studio LightSwitch (MOBI and EPUB formats added) All SilverlightShow Ebooks After...( read more )...(read more)

Windows Client Developer Roundup 079 for 8/22/2011

Posted: 21 Aug 2011 09:10 PM PDT

The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers, including WPF , Silverlight , Visual C++ , XNA , Expression Blend , Surface , Windows 7 , Windows Phone , Visual Studio, WCF RIA Services , Netduino...( read more )...(read more)

Windows Client Developer Roundup 079 for 8/22/2011

Posted: 21 Aug 2011 09:10 PM PDT

The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers, including WPF , Silverlight , Visual C++ , XNA , Expression Blend , Surface , Windows 7 , Windows Phone , Visual Studio, WCF RIA Services , Netduino...( read more )...(read more)

Silverlight Cream for August 21, 2011 - 2 -- #1134

Posted: 21 Aug 2011 08:03 PM PDT

In this Issue: Shawn Wildermuth , Beth Massi , Ryan Alford , WindowsPhoneGeek ( -2- ), Jeremy Likness , John Papa ( -2- ), Jeff Wilcox , Mike Ormond , Ollie Riches ( -2- ), and Mijail Cisneros . Above the Fold: Silverlight: "Silverlight 5 Incompatibility...( read more )...(read more)

Prize Winner in Competition "Best C# Article of July 2011"

Posted: 21 Aug 2011 10:30 AM PDT

Proud to announce that, I have been selected as the Winner of Article writing competition at "The Code Project" for the month of July 2011. This is the first competition that I have won from Code project.   Last month I wrote an article...( read more )...(read more)

Sunday, August 21, 2011

Silverlight Cream for August 21, 2011 -- #1133

Silverlight Cream for August 21, 2011 -- #1133


Silverlight Cream for August 21, 2011 -- #1133

Posted: 21 Aug 2011 12:44 PM PDT

In this Issue: AfricanGeek , Dhananjay Kumar , Erno de Weerd , Jesse Liberty ( -2- ), Den Delimarsky , Austin Andrews , John Papa , Morten Nielsen ( -2- ), Andrej Tozon ( -2- ), and Michael Washington . Above the Fold: Silverlight: "Papa's Perspective...( read more )...(read more)

Silverlight Cream for August 20, 2011 -- #1132

Posted: 20 Aug 2011 07:49 PM PDT

In this All Submittal Issue: Michael Washington , SilverlightShow ( -2- ), Mark Monster ( -2- ), Oren Gal , Andrea Boschin , Sigurd Snørteland , Peter Kuhn , Mijail Cisneros , Kunal Chowdhury ( -2- ), Gill Cleeren Above the Fold: Silverlight: "Why Visual...( read more )...(read more)

Weekly News Digest @SilverlightZone - 14-August-2011 to 20-August-2011

Posted: 20 Aug 2011 10:30 AM PDT

During last week (i.e. from 14th August 2011 to 20th August 2011) we submitted 85 posts at Silverlight-Zone.com . Topics were on Silverlight, Windows Phone 7, LightSwitch and Xbox. Some posts on WPF also showcased there.   In this post find the most...( read more )...(read more)

Saturday, August 20, 2011

Silverlight for Windows Phone Toolkit for ‘Mango’ : Getting Started

Silverlight for Windows Phone Toolkit for ‘Mango’ : Getting Started


Silverlight for Windows Phone Toolkit for ‘Mango’ : Getting Started

Posted: 20 Aug 2011 08:32 AM PDT

  After a long time rather after a month got some free time to look at this place.Horrible work at office as usual.Well,before I start posting some cool stuff on Windows Phone 7.1 and Silverlight 5 again.Lets get ready with tools again. Microsoft...( read more )...(read more)

Friday, August 19, 2011

Silverlight Tour Vancouver in November

Silverlight Tour Vancouver in November


Silverlight Tour Vancouver in November

Posted: 19 Aug 2011 12:37 PM PDT

Due to popularity, the Silverlight Tour is already coming back to Vancouver this fall, come and learn top Silverlight 5 content from true experts!!! What: Silverlight training When: November 01-04 (4 days) Where: Vancouver, BC Registration/info: http...( read more )...(read more)

Book review: Professional Windows 7 Game Development

Posted: 19 Aug 2011 01:23 AM PDT

Don't miss... Webinar recording 'XNA for Windows Phone 7' WP7 series by Andrea Boschin XNA for Silverlight Developers Ebook: ($2.99) All SilverlightShow Ebooks This review is on the book 'Professional Windows Phone 7 Game Development: Creating Games using...( read more )...(read more)

Calling ASP.NET MVC Action Methods from JavaScript

Posted: 18 Aug 2011 10:35 PM PDT

In a recent blog post, I wrote a a controller inspector to demonstrate Controller and Action Descriptors. In this blog post, I apply that knowledge to build something more useful. One pain point when you write Ajax heavy applications using ASP.NET MVC is managing the URLs that Routing generates on the server. These URLs aren't accessible from code in a static JavaScript file. There are techniques to mitigate this: Generate the URLs in the view and pass them into the JavaScript API. This approach has the drawback that it isn't unobtrusive and requires some script in the view. If you prefer the unobtrusive approach, embed the URLs in the HTML in a logical and semantic manner and the script can read them from the DOM. Both approaches get the job...(read more)

Invisible pixels are just as clickable as real pixels! [Tip: Use a Transparent brush to make "empty" parts of a XAML element respond to mouse and touch input]

Posted: 18 Aug 2011 10:16 PM PDT

Tip Use a Transparent brush to make "empty" parts of a XAML element respond to mouse and touch input Explanation I got a question yesterday and thought the answer would make a good addition to my Development Tips series. As you probably know, WPF, Silverlight...( read more )...(read more)

Silverlight Training Montreal in September 2011

Posted: 18 Aug 2011 06:17 PM PDT

Still a few seats available for the next Silverlight Tour stop in Montreal , come and learn top Silverlight content from local experts!!! >> This course will be taught in French * << What: Silverlight training When: September 06-09 (4 days...( read more )...(read more)

Silverlight for Windows Phone Toolkit - August 2011 (7.1 SDK) Released

Posted: 18 Aug 2011 10:30 AM PDT

Microsoft released the new stable version of "Silverlight for Windows Phone Toolkit (SDK 7.1)" at Codeplex. This is the first stable build after the February 2011 release. This release features several new controls and fixes to the existing...( read more )...(read more)

Thursday, August 18, 2011

Bug and Fix: ASP.NET fails to detect IE10 causing _doPostBack is undefined JavaScript error or maintain FF5 scrollbar position

Bug and Fix: ASP.NET fails to detect IE10 causing _doPostBack is undefined JavaScript error or maintain FF5 scrollbar position


Bug and Fix: ASP.NET fails to detect IE10 causing _doPostBack is undefined JavaScript error or maintain FF5 scrollbar position

Posted: 18 Aug 2011 12:59 PM PDT

Browser version numbers continue to march on. IE9 is here, IE10 is coming , Firefox 5 and 6 are here with 7 and 8 in the wings , Opera's on 11, and Chrome is on, I dunno, somewhere between 14 and 50. Regardless, we'll all be on version 99 before The Singularity. There is a bug in the browser definition files that shipped with .NET 2.0 and .NET 4, namely that they contain definitions for a certain range of browser versions. But the versions for some browsers (like IE 10) aren't within those ranges any more. Therefore, ASP.NET sees them as unknown browsers and defaults to a down-level definition, which has certain inconveniences, like that it does not support features like JavaScript. If you want to see this for yourself, create a...(read more)

Book Review: Windows Phone 7 Game Development

Posted: 18 Aug 2011 08:34 AM PDT

Don't miss... Webinar recording 'XNA for Windows Phone 7' WP7 series by Andrea Boschin XNA for Silverlight Developers Ebook: ($2.99) All SilverlightShow Ebooks This review is for the book 'Windows Phone 7 Game Development' , and has been submitted by...( read more )...(read more)

Weekly Links– 2010_30 (50 for Web Devs & Other Geeks)

Posted: 18 Aug 2011 06:51 AM PDT

Software Developer Links of the Week. IBM executive says PC era is in its twilight Better web font loading with JavaScript In JavaScript, curly brace placement matters: An example The pros and cons of developing a complete Javascript UI Toshiba Thrive Tablet Should Microsoft make a break with the past and drop legacy support? Apple's [...] Read More......(read more)

Unit Testing a WCF RIA DomainService: Part 3, The DomainServiceTestHost

Posted: 18 Aug 2011 08:10 AM PDT

In this thrilling conclusion to my series on unit testing, I'll show you how to use the DomainServiceTestHost to test your DomainServices. In parts one and two I showed you how to extract external dependencies using the IDomainServiceFactory and how to Read More......(read more)

Unit Testing a WCF RIA DomainService: Part 2, The Repository Pattern

Posted: 18 Aug 2011 08:10 AM PDT

This is part two in a series I'm writing about how to unit test your DomainServices. In part one, I discuss how you could use an IDomainServiceFactory to factor external dependencies out of your code.  Continuing along the same lines of thinking Read More......(read more)

Unit Testing a WCF RIA DomainService: Part 1, The IDomainServiceFactory

Posted: 18 Aug 2011 08:06 AM PDT

I've always been a proponent of driving product quality through unit testing. Regardless of the specific testing methodology, I enjoy the confidence a rich suite of tests can bring to product and application development. For WCF RIA developers, I wanted Read More......(read more)

New Ajax Grid Scaffolding NuGet Package for MVC 3

Posted: 17 Aug 2011 09:21 PM PDT

EDITOR'S NOTE: Microsoft has an amazing intern program . For a summer, these bright college students work with a feature crew getting real work done, all the while attending cool events nearly every week that, frankly, make the rest of us jealous! Just look at some of the perks listed in this news article! This summer, the ASP.NET MVC is hosting an intern, Stephen Halter, who while very smart, doesn't have a blog of his own (booo! hiss!). Being the nice guy that I am (and also being amenable to bribes), I'm letting him guest author a post on my blog (first guest post ever!) to talk about the cool project he's been doing. Hello everyone – my name is Stephen Halter, and I am a summer intern on the ASP.NET MVC team who is excited to show you the...(read more)

Working with Default FontSize in Windows Phone 7 Applications

Posted: 17 Aug 2011 10:30 AM PDT

Hope you already read my article series " Collection of Windows Phone 7 (Mango) Tutorials ". During the tutorial series, we used the common styles "PhoneTextNormalStyle" and "PhoneTextTitle1Style" in the TextBlocks added...( read more )...(read more)

Adding the New HTML Editor Extender to a Web Forms Application using NuGet

Posted: 17 Aug 2011 03:29 PM PDT

The July 2011 release of the Ajax Control Toolkit includes a new, lightweight, HTML5 compatible HTML Editor extender. In this blog entry, I explain how you can take advantage of NuGet to quickly add the new HTML Editor control extender to a new or existing ASP.NET Web Forms application. Installing the Latest Version of the Ajax Control Toolkit with NuGet NuGet is a package manager. It enables you to quickly install new software directly from within Visual Studio 2010. You can use NuGet to install additional software when building any type of .NET application including ASP.NET Web Forms and ASP.NET MVC applications. If you have not already installed NuGet then you can install NuGet by navigating to the following address and clicking the giant...(read more)

Wednesday, August 17, 2011

ASP.NET Data Access Overview

ASP.NET Data Access Overview


ASP.NET Data Access Overview

Posted: 17 Aug 2011 02:45 PM PDT

ASP.NET includes several types of server controls that participate in the declarative data binding model, including data source controls, data-bound controls, and the query extender control. These controls manage the underlying tasks that are required by the stateless Web model in order to display and update data in ASP.NET Web pages. The controls let you add data-binding behavior to a page without having to understand details of the page request life cycle.

Beginning an HTML5 Application – The Requirements

Posted: 17 Aug 2011 12:36 PM PDT

More and more developers are starting to think about building applications that have both on-line and off-line features using HTML5. I've been giving this some thought and have decided to build one myself. I thought for a while about what sort of application would make for a good showcase. It's one of the though things [...] Read More......(read more)

SilverlightShow for August 8 - 14, 2011

Posted: 17 Aug 2011 07:26 AM PDT

Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for August 8 - 14, 2011. Here are the top 5 news on SilverlightShow for last week: Understanding the Microsoft Shift on Silverlight and HTML5 Building a CRM Demo...( read more )...(read more)

Windows Phone 7 Data Access Strategies: WebClient

Posted: 16 Aug 2011 05:56 PM PDT

Don't miss... Article series: Getting ready for Microsoft WP7 Exam 70-599 WP7 article series by Andrea Boschin Windows Phone 7 for Silverlight Devs Ebook (also in MOBI and EPUB format): ($4.99) All SilverlightShow Ebooks Download sample code When you...( read more )...(read more)

Dealing with singular plural phrasing

Posted: 16 Aug 2011 11:35 PM PDT

This is an age old problem and one that's probably been solved countless times before, but I'm going to write about it anyways. Say you're writing code like this: < p > You have the following themes: </ p > < ul > @ foreach(var theme in Model) { < li > @ theme.Id </ li > } </ ul > The natural inclination for the lazy developer is to leave enough alone and stop there. It's good enough, right? Right? Sure, when the value of Model.Count is zero or larger than one. But when it is exactly one, the phrase is incorrect English as it should be singular "You have the following theme". I must fight my natural inclination here! On the NuGet team, we have a rallying cry intended to inspire us to strive for better, "Apple...(read more)

RelativeSource Binding in Silverlight

Posted: 16 Aug 2011 10:30 AM PDT

Sometime we need to bind the same data in different properties of the same control. For example, in some cases we need to show text in a TextBlock and also want to show the same text as a Tooltip to that TextBlock control.   How to do it? It's very...( read more )...(read more)