Wednesday, February 29, 2012

Physamajig is a First Apps Contest Winner!

Physamajig is a First Apps Contest Winner!


Physamajig is a First Apps Contest Winner!

Posted: 29 Feb 2012 01:02 PM PST

Physamajig was selected as one of the Winning entries of the Windows 8 First Apps Contest ! Microsoft unveiled the 8 Winners today in Barcelona while unveiling the Consumer Preview of Windows 8. [ read the Windows Store blog post ] [ see the video about...( read more )...(read more)

Windows 8 Consumer Preview and Visual Studio 11 Beta – Process Lifetime Management (Part 11/11)

Posted: 29 Feb 2012 04:46 AM PST

Windows 8 Metro applications introduces new (for desktop version of Windows) philosophy behind application execution - when application runs and when it is terminated. In this post I will overview this process also known as Process Lifetime Management...( read more )...(read more)

Windows 8 Consumer Preview and Visual Studio 11 Beta – Live tiles, toasts, badges and Push Notifications (Part 10/11)

Posted: 29 Feb 2012 04:39 AM PST

Windows 8 provides interesting way to "interact" with user even when application is not active anymore.   Push Notifications Windows Push Notifications (WNS) in Windows 8 is quite similar to the Windows Phone 7 Push Notification (MPNS) model. It...( read more )...(read more)

Windows 8 Consumer Preview and Visual Studio 11 Beta – Show Message Dialogs and Popup Menus (Part 9/11)

Posted: 29 Feb 2012 04:31 AM PST

This post is about popups. Why popups? Who need them? Popups needed to present some important info to the user in modal way or to present some overlays above other screen elements. Lets start from Message Box . WinRT lacks MessageBox support in classic...( read more )...(read more)

Windows 8 Consumer Preview and Visual Studio 11 Beta – Quick tip: using location services (Part 8/11)

Posted: 29 Feb 2012 04:12 AM PST

In this short post I will show how to use location services in you app. Working with location services requires declaring Location capability in application manifest: The location services provides access to location functionality, such as cell triangulations...( read more )...(read more)

Windows 8 Consumer Preview and Visual Studio 11 Beta – Licensing and In-app purchases (Part 7/11)

Posted: 29 Feb 2012 04:11 AM PST

Windows 8 Metro applications are distributed by Windows Store. The store handles all installation tasks, updating to the new versions when published by developer. Also it handles purchasing the application, supporting trial mode (if application developer...( read more )...(read more)

Visual Studio 11 Beta in Context

Posted: 29 Feb 2012 01:25 PM PST

Today Visual Studio 11 Beta is released and available for download. Don't want to read a big blog post? Phooey on you then! ;) Visual Studio 11 Beta & .NET 4.5 Beta Announcement by Jason Zander + Downloads Windows 8 Consumer Preview Announcement by Steven Sinofsky + Download Made it this far? OK, cool. I wanted to do a post that would not only point you to a bunch of other resources, but more generally answer the obvious questions. The questions that I asked before I went to work for Microsoft four years ago. I always ask: What's changed, and why should I care? "One ASP.NET" One of the things that the fellows and I are working on that will be more obvious  after the beta and even a little after the final release is...(read more)

Windows 8 Consumer Preview and Visual Studio 11 Beta – Quick tip: using sensors (Part 6/11)

Posted: 29 Feb 2012 03:24 AM PST

Windows 8 supports multiple sensors. Some of them could be installed on your device, some of them not. When I planned this series, I had pretty hard choice to make about the sensor – which one to use. Accelerometer/Gyrometer/Compass/Inclinometer/Orientation...( read more )...(read more)

Windows 8 Consumer Preview and Visual Studio 11 Beta – Local and Roaming application data storage (Part 5/11)

Posted: 29 Feb 2012 03:18 AM PST

In previous post (Settings – LINK) I explained how to create application's settings screed and customize it with application specific UI and data. In this post I will explain how to preserve application settings and other application data. Wind8 CP enables...( read more )...(read more)

Windows 8 Consumer Preview and Visual Studio 11 Beta – Customizing Settings Charm (Part 4/11)

Posted: 29 Feb 2012 03:04 AM PST

Before Windows 8 every application invented its own way to present application settings. Here are very few of them: Some apps even provided standalone applications to manage settings. Also from settings storage perspective every developer had to decide...( read more )...(read more)

Windows 8 Consumer Preview and Visual Studio 11 Beta – Data Sharing (Part 3/11)

Posted: 29 Feb 2012 02:56 AM PST

Windows 8 enables data exchange between applications. This was possible in the past, but to make it happen two applications must have knowledge about each other which was always not possible especially for applications developed by different companies...( read more )...(read more)

Windows 8 Consumer Preview and Visual Studio 11 Beta – Working with Proximity Device (Part 2/11)

Posted: 29 Feb 2012 02:50 AM PST

This post is about proximity devices and scenarios enabled by using this functionality. WinRT supports Near Field Communication (NFC) scenarios by providing native support using Windows.Networking.Proximity namespace. This namespace enable working with...( read more )...(read more)

Windows Phone SDK 7.1.1 Update CTP

Posted: 29 Feb 2012 09:25 AM PST

We recently released an update to the Windows Phone SDK that provides extra tools and features for developing for 256-MB devices. Most importantly, this tools update contains a new 256-MB emulator to test your applications. Keep in mind however, that...( read more )...(read more)

Windows 8 Consumer Preview

Posted: 29 Feb 2012 08:27 AM PST

Today the Windows team announced the release of the Windows 8 Consumer Preview , coming on the heels of the Developer Preview we'd released last year. While the next best thing is still a work in progress we hope you will try it out and tell us what you...( read more )...(read more)

Windows 8 Consumer Preview and Visual Studio 11 Beta – What’s New (Part 1/11)

Posted: 29 Feb 2012 12:30 AM PST

Long awaited Windows 8 Consumer Preview (Win8 CP) just released! It is not come alone, but accompanied with Visual Studio 11 Beta (VS11)! Both products available for download. The links are: Win8 CP download is available here . Visual Studio 11 Express...( read more )...(read more)

New Features for Web Development in Visual Studio 11 Beta

Posted: 29 Feb 2012 08:29 AM PST

Visual Studio 11 Beta is now available to download. Please visit Jason Zander's Blog for the download links and overview of the new features. We have many enhanced many features in the Beta. We'll discuss some of them in future blog posts. Here are a few web development tools features included in the Visual Studio 11 Beta compared to VS2010. Many of them have already been mentioned in our Visual Studio 11 Developer Preview blogs. Visual Studio 11 Express Beta for Web is now available. It includes support for TFS and unit testing tools. It's downloadable via Web PI. ASP.NET MVC4 Beta are included in the Visual Studio 11 Beta New MVC4 templates and Web Forms templates are provided with features such as HTML5 support and ASP.NET 4...(read more)

What's New in Visual Studio 11 Beta for C++ Developers

Posted: 29 Feb 2012 07:00 AM PST

 

XAML <TextBox x:Name="textbox"/>
C++
textbox->Text =
"Hello World!";
Output A Metro style HelloWorld.cpp

Snippets of the Metro style version for the most popular 101 application.

 

 

 

Download this Beta today:

 

 

 

As Jason Zander –CVP of Visual Studio- just confirmed, a Visual Studio 11 Beta was released earlier today.

What can C++ developers expect from this new version compared to Visual Studio 2010? Here's a summary:

  • Windows 8:
    • Support for Metro style apps using native C++ code.
    • C++ Metro style applications can create new UI using DirectX and/or the completely-new all-native XAML UI framework for Windows 8.
    • C++ developers can also create components that extend Windows 8 apps written in HTML5/JavaScript.
  • C++11:
    • New core language features: range-based for-loop, override/final, and strongly-typed/forward-declared enums.
    • More core language features to follow shortly after Visual Studio 11.
    • New Standard Library headers: <atomic>, <chrono>, <condition_variable>, <future>, <mutex>, <ratio>, <scoped_allocator>, and <thread>.  Also <filesystem>.
    • Emplacement methods have been implemented in all containers for "arbitrary" numbers of arguments.
    • Simulated variadic templates now accept a maximum of 5 arguments by default, down from 10.  To increase this limit, at the cost of compiler speed, define _VARIADIC_MAX project-wide between 5 and 10 inclusive.
    • Per-container and per-element memory consumption has been optimized.
  • Code Performance and Parallelism:
  • IDE Enhancements:
    • Code understanding enhancements like semantic colorization and reference highlighting.
    • Editing enhancements like proactive IntelliSense, member list filtering and code snippets.
  • Application Lifecycle Management (ALM) -not in Herb's post:
    • Comprehensive tools like dependency diagrams and the Architecture Explorer.
    • Testing tools like a new Unit Testing Framework and Code Coverage.
    • Static Analysis for a better diagnosis of coding errors even if the compilation is okay.

 

 

 

Links of interest:

Tuesday, February 28, 2012

SilverlightShow Interview with Billy Hollis - Presenter in a Visual Studio Live! Las Vegas Workshop

SilverlightShow Interview with Billy Hollis - Presenter in a Visual Studio Live! Las Vegas Workshop


SilverlightShow Interview with Billy Hollis - Presenter in a Visual Studio Live! Las Vegas Workshop

Posted: 28 Feb 2012 05:44 AM PST

In this SilverlightShow interview, we talk with Billy Hollis – the presenter at the most-awaited workshop at Visual Studio Live! Las Vegas conference (March 26-30, 2012) - 'Creating Today's User Experiences - An Entry Point for Developers'...( read more )...(read more)

VS2010 SP1 + MVC4 Beta workaround for cshtml/vbhtml editor’s long pause

Posted: 27 Feb 2012 06:30 PM PST

We shipped MVC4 Beta recently, and found it may cause VS2010 sp1 cshtml/vbhtml editor to pause for a long time after typing snippet, JavaScript inside cshtml or vbhtml files, if the MVC4 application has just been created and has not been compiled. The workaround is to compile the project to get the assemblies in the bin folder.  Note, if you clean the project which removes the assemblies from the bin folder, the editor problem will come back. We are actively working on a resolution for this issue for next release.  Thanks. Best regards. Xinyang Qiu Web Platform and Tools Team Read More......(read more)

“Untiny URL” - Another WP7 Utility Application in Marketplace

Posted: 27 Feb 2012 08:30 AM PST

My 3rd Windows Phone 7 application called "Untiny URL" is now available in WP7 Marketplace. This application extracts the shortened URL and previews the complete URL in the screen.   Don't forget to try it out and provide your valuable ratings and...( read more )...(read more)

Monday, February 27, 2012

Windows Phone SDK 7.1.1 Update CTP – What’s New?

Windows Phone SDK 7.1.1 Update CTP – What’s New?


Windows Phone SDK 7.1.1 Update CTP – What’s New?

Posted: 26 Feb 2012 11:09 PM PST

Windows Phone SDK 7.1.1 update is a minor upgrade with two primary goals: to make it easier for developers to reach more consumers and bugfixes (>500 bugs fixed). To make Windows Phone devices easier to acquire and distribute, Microsoft has permitted...( read more )...(read more)

Windows Phone + SignalR = Awesome Possibilities!

Posted: 26 Feb 2012 08:29 PM PST

Real-time communication. Many software applications on variety of platforms & form factors have a genuine need for it. But persistent networks, real-time connectivity & asynchrony continue to challenge us developers in building such applications...( read more )...(read more)

Getting Started with XAML: Slides and demos

Posted: 26 Feb 2012 04:22 PM PST

At the South Florida Code Camp last week, I gave an early morning talk titled "Getting Started with XAML". In this talk, I covered the basics of XAML, the property system, layout, and other things you need to know as a XAML developer for WPF, Silverlight...( read more )...(read more)

Getting Started with XAML: Slides and demos

Posted: 26 Feb 2012 04:22 PM PST

At the South Florida Code Camp last week, I gave an early morning talk titled "Getting Started with XAML". In this talk, I covered the basics of XAML, the property system, layout, and other things you need to know as a XAML developer for WPF, Silverlight...( read more )...(read more)

REST with Silverlight 5, ASP.NET Web API, and MVC 4 Beta

Posted: 26 Feb 2012 03:50 PM PST

At the South Florida Code Camp I gave a newer version of the REST Silverlight talk using the just released MVC 4 Beta and ASP.NET Web API. This talk shows how to share code between different versions of the framework, how to use the ASP.NET Web API from...( read more )...(read more)

REST with Silverlight 5, ASP.NET Web API, and MVC 4 Beta

Posted: 26 Feb 2012 03:50 PM PST

At the South Florida Code Camp I gave a newer version of the REST Silverlight talk using the just released MVC 4 Beta and ASP.NET Web API. This talk shows how to share code between different versions of the framework, how to use the ASP.NET Web API from...( read more )...(read more)

A Lap Around Silverlight 5: Slides and Code

Posted: 26 Feb 2012 03:30 PM PST

At the South Florida Code Camp, I gave the "Lap Around Silverlight 5" talk. The slides and code are all available via the links below. Powerpoint Slides Attached to this post Demos and Examples The Big List of What's New or Improved in Silverlight 5 ...( read more )...(read more)

A Lap Around Silverlight 5: Slides and Code

Posted: 26 Feb 2012 03:30 PM PST

At the South Florida Code Camp, I gave the "Lap Around Silverlight 5" talk. The slides and code are all available via the links below. Powerpoint Slides Attached to this post Demos and Examples The Big List of What's New or Improved in Silverlight 5 ...( read more )...(read more)

REST with Silverlight 5, ASP.NET Web API, and MVC 4 Beta

Posted: 26 Feb 2012 03:50 PM PST

At the South Florida Code Camp I gave a newer version of the REST Silverlight talk using the just released MVC 4 Beta and ASP.NET Web API. This talk shows how to share code between different versions of the framework, how to use the ASP.NET Web API from Silverlight, and how to integrate a Silverlight application into an MVC 4 site. Powerpoint Slides Attached to this post Demos and Examples Download the full source and my demo snippit text file here . My Book I cover this in my Silverlight 5 book. At the time of this writing, the MEAP has the MVC3 version. I'll update it for the print and ebook shortly. Silverlight 5 in Action Related Links ASP.NET MVC 4 Beta Released! - Jon Galloway Web API: The Official Microsoft ASP.NET Site Creating a...(read more)

Saturday, February 25, 2012

Building a Northwind Single Page Application using ASP.NET MVC 4 Beta - Part 2

Building a Northwind Single Page Application using ASP.NET MVC 4 Beta - Part 2


Building a Northwind Single Page Application using ASP.NET MVC 4 Beta - Part 2

Posted: 25 Feb 2012 05:23 AM PST

This post is in continuation with my earlier post, so you may want to read that first before coming here. Read More......(read more)

Building a Northwind Single Page Application using ASP.NET MVC 4 Beta - Part 1

Posted: 25 Feb 2012 05:21 AM PST

Single Page Application Frameworks are gaining popularity in the ever evolving web community with lot of libraries such as JavaScriptMVC, Backbonejs and many other libraries. ASP.NET MVC 4 introduces experimental support for building single page application (SPA) through a template. Much of the plumbing work of wiring up the client side scripts, javascript modelviews and the controllers is automated, making it a quick start to develop SPAs relatively easier. Lets examine a scenario where we are building a Northwind Store using SPA. I installed the ASP.NET MVC 4 Beta for Visual Studio 2010 and the Northwind Sample Database for SQL Server Post that I did a "File – New Project – ASP.NET MVC 4 Web Application" In MVC 3 we are used to see a screen...(read more)

DB Compare

Posted: 25 Feb 2012 12:08 AM PST

DB Compare is a simple utility that compares the schema (Tables, Views, and Stored Procedures) of two SQL Server databases.

I do all my development on my local SQL Server instance and when I deploy new versions of web sites or web services I often wonder if the schema has changed or if I have only changed the code.

The source code consists of a Visual Studio 2010 solution that contains two projects.

DataClassBuilder.Net.Dll - This is the main code generation engine of RAD Studio Code Generation Toolkit, located at http://radstudio.codeplex.com .

In my completely biased opinion RAD Studio is the best C# code generator / data tier creator / stored procedure generator for C# and other .Net developers.

In addition to the time savings that DB Compare saves me, I built this project to demonstrate RAD Studio Code Generation Toolkit. I think more developers would use it if they knew about it and how to use it property.

Hopefully this project will become popular and also increase the popularity of RAD Studio, as there is alot of very useful code in the program.

One last thing, if you do wish to work on the code, I have another project called Regionizer, which is a Visual Studio Package that docks in the toolbar where the Solution Explorer or Properties Window is located, and will format a C# document into regions for Private Variables, Methods, Constructors, Events and Properties.

http://regionizer.codeplex.com

About DB Compare:

DB Compare is a simple tool that compares two instances of SQL Server and compares the of the tables, views and stored procedures to make sure they are up to date.

To use the tool enter (or create) a connection string for the source database and target database and a Comparison Report is generated on screen that will report if the databases are equal or if they are not equal any differences are shown.


Windows Dev News for February 24, 2012 - #0044

Posted: 24 Feb 2012 08:49 PM PST

Windows Dev News for February 24, 2012 - #0044 Shoutouts: Michael Palermo 's latest Desert Mountain Developers is up Michael Washington 's latest Visual Studio #LightSwitch Daily is up Stay in the 'Light! @WindowsDevNews | @WynApse | WynApse.com | Tagged...( read more )...(read more)

One ASP.NET - Making JSON Web APIs with ASP.NET MVC 4 Beta and ASP.NET Web API

Posted: 24 Feb 2012 04:07 PM PST

ASP.NET MVC 4 Beta came out last week. It's got lots of new features as well as some surprises that move us closer to the "One ASP.NET" idea. I talked about this a little in this week's MSDN Flash email newsletter (you can subscribe to MSDN Flash here ; it's reasonably high signal, low noise). Here's part of what I said : Don't think of ASP.NET as an island. It's a citizen of the larger community. More and more of ASP.NET is open source, and we push hard every day to stay open and be open. We want to make ASP.NET more pluggable, more open, more fun. We've got big things planned - some that will surprise you. I hope you'll join the conversation and the community. Here's some of the stuff that's...(read more)

Friday, February 24, 2012

Part 3: Developing for a multitude of clients: strategies for code reuse and keeping costs in check.

Part 3: Developing for a multitude of clients: strategies for code reuse and keeping costs in check.


Part 3: Developing for a multitude of clients: strategies for code reuse and keeping costs in check.

Posted: 24 Feb 2012 12:23 PM PST

Introduction Welcome to the third part of this article series on strategies for designing your application for a multitude of different clients. In the first part of this series , we've had a look at the business case & some general concerns we'll...( read more )...(read more)

Async Streaming in ASP.NET Web API

Posted: 24 Feb 2012 03:03 AM PST

ASP.NET Web API supports asynchronous actions using the new Task-based programming model introduced in .NET 4. In .NET 4.5 the model has improved further and in addition is supported directly from C# using the new async and await keywords (see " Visual Studio Asynchronous Programming " for background). What this means is that you can have actions that look like this: 1: public Task< string []> GetContent( string topic) 2: { 3: ... 4: } as well as 1: public Task<HttpResponseMessage> GetContent( string topic) 2: { 3: ... 4: } and even this 1: public Task GetContent( string topic) 2: { 3: ... 4: } The benefit of writing Task-based actions is that you don't block a thread on the server even if things take a long time to complete and...(read more)

Got my Silverlight 5 LOB Dev book published

Posted: 24 Feb 2012 07:59 AM PST

Finally the book is available, Title: Mastering LOB Development for Silverlight 5: A Case Study in Action. We have tried to write a book that covers all the topics needed to build a LOB app, including the build process of a real app step by step. Hope...( read more )...(read more)

DBComparer

Posted: 19 Jan 2012 12:15 PM PST

Find Differences Between two Database and Update Target Database.

More than one driver for a single Orchard part

Posted: 23 Feb 2012 11:01 PM PST

Drivers in Orchard are responsible for taking content parts and using them to generate shapes for the rendering engine to transform into HTML. A little known fact is that there can be more than one driver for any given part. You might be wondering what this can be used for: one shape per part seems like a reasonable assumption. I'll show one case where this ability to add a driver to the one that already exists came in really handy. One of the sites I'm working on is making heavy use of taxonomies. The customer wanted to add management screens for the order of terms in any given taxonomy, that had some interesting specific features. We wanted a couple of links to that additional screen right inside the existing UI for a taxonomy field. I could...(read more)

ASP.NET Web API (Part 1)

Posted: 23 Feb 2012 10:06 PM PST

Earlier this week I blogged about the release of the ASP.NET MVC 4 Beta .  ASP.NET MVC 4 is a significant update that brings with it a bunch of great new features and capabilities.  One of the improvements I'm most excited about is the support it brings for creating "Web APIs".  Today's blog post is the first of several I'm going to do that talk about this new functionality. Web APIs The last few years have seen the rise of Web APIs - services exposed over plain HTTP rather than through a more formal service contract (like SOAP or WS*).  Exposing services this way can make it easier to integrate functionality with a broad variety of device and client platforms, as well as create richer HTML experiences using JavaScript from...(read more)

“Easy Connect” - a Small WP7 Utility Application in Marketplace

Posted: 23 Feb 2012 08:30 AM PST

Here comes my 2nd Windows Phone 7 application in the Marketplace named "Easy Connect" to provide you easy access to the connectivity settings page in your device. Finding each page in the settings is little bit difficult and hence here is my application...( read more )...(read more)

Thursday, February 23, 2012

Using ASP.NET Web API with ASP.NET Web Forms

Using ASP.NET Web API with ASP.NET Web Forms


Using ASP.NET Web API with ASP.NET Web Forms

Posted: 23 Feb 2012 01:30 PM PST

Several of the ASP.NET Web API tutorials (see for example "Your First ASP.NET Web API" ) show how you can use ASP.NET Web API with MVC applications. However, you can equally well add a Web API to a Web Forms enabling the same Web API support as in MVC applications. To show how you do this, let's build a Web Site from scratch and then add a Web API to it. We use the Visual Web Developer 2010 Express version of Visual Studio with ASP.NET Web API Beta installed. First we create a new ASP.NET Empty Web Site and give it a reasonable name: Then we add an ASP.NET Folder to hold our Web API implementation. We do this by adding a an App_Code folder as follows: Next we add a Web API Controller Class within the App_Code folder using Add New Item . Note...(read more)

Eating out in Seattle ... bSeattle

Posted: 20 Feb 2012 02:57 PM PST

Over the past few months, the Bing Mobile team (that I am part of ... more on that later) has been working on a new application that tackles the local/mobile space with a fresh new approach when compared to generic mobile search. It combines elements of exploration, rich content, and new UX design applied to the eating out scenario in Seattle neighborhoods, in the form of a Windows Phone application called bSeattle that we just released onto the marketplace. This application is a bit of an experiment in a few ways ... the learnings from real-world use will directly influence how the product evolves, as well as how the scenario itself grows in depth and breadth to cover additional content and user tasks, additional metropolitan areas, as well...(read more)

Activities.MSSQL

Posted: 23 Feb 2012 03:09 AM PST

WF4 で利用できる Microsoft SQL Server 関係のアクティビティライブラリ

Activities library for Microsoft SQL Server available in WF4

Wednesday, February 22, 2012

Scripted PowerShell Automated Deployment Engine (SPADE) for SQL Server

Scripted PowerShell Automated Deployment Engine (SPADE) for SQL Server


Scripted PowerShell Automated Deployment Engine (SPADE) for SQL Server

Posted: 10 Apr 2011 03:32 PM PDT

SPADE simplifies the process of standing up a new SQL Server instance by applying standard Operating System pre-configurations, Installing SQL Server and then applying post-configurations and creating standard objects.

Windows Dev News for February 21, 2012 - #0043

Posted: 21 Feb 2012 08:51 PM PST

Windows Dev News for February 21, 2012 - #0043 [SC1219] In This Issue: Senthil Kumar B , Dave Davis , Tony Champion , Michael Washington , Colin Eberhardt , Brian Noyes , Gill Cleeren , Laurent Bugnion , William Wegerson , Senthil Kumar , Sumit Dutta...( read more )...(read more)

“Wallpaper Downloader” - My First WP7 Application in the Marketplace

Posted: 21 Feb 2012 08:30 AM PST

My first Windows Phone 7 is now in the Marketplace. It is a small application to fetch images and provide option to the user to save that image to the WP7 device so that you can set it as Phone background.   Find the link mentioned below in the post...( read more )...(read more)