Archive | Windows Presentation Foundation (WPF) RSS for this section

E-Book Gallery for Microsoft Technologies

Download content for ASP.NET, Office, SQL Server, Windows Azure, SharePoint Server and other Microsoft technologies in e-book formats. Reference, guide, and step-by-step information are all available. All the e-books are free. New books will be posted as they become available at here

E-Books in English

Lync Microsoft Lync Server 2013 Step by Step for Anyone 
Office Deployment guide for Office 2013
First Look: Microsoft Office 2010
Microsoft Office 365: Connect and Collaborate Virtually Anywhere, Anytime
Microsoft Office 365 for professionals and small businesses: Help and How To
Security and Privacy for Microsoft Office 2010 Users
SharePoint Explore SharePoint 2013
Deployment guide for SharePoint 2013
Create a Balanced Scorecard
Configure Kerberos Authentication for SharePoint 2010 Products
SharePoint Server for Business Intelligence
Get started with SharePoint Server 2010
Deployment guide for SharePoint Server 2010
Upgrading to SharePoint Server 2010
Profile synchronization guide for SharePoint Server 2010
Remote BLOB storage for Microsoft SharePoint Server 2010
Governance guide for Microsoft SharePoint Server 2010
Business continuity management for SharePoint Server 2010
Technical reference for Microsoft SharePoint Server 2010
SQL Server 5 Tips for a Smooth SSIS Upgrade to SQL Server 2012
A Hitchiker’s Guide to Microsoft StreamInsight Queries
Books Online: Backup and Restore of SQL Server Databases
Books Online: Data Analysis Expressions (DAX) Reference
Books Online: Data Mining Extensions (DMX) Reference
Books Online: Data Quality Services
Books Online: High Availability Solutions
Books Online: Master Data Services
Books Online: Monitor and Tune for Performance
Books Online: Multidimensional Expressions (MDX) Reference
Books Online: SQL Server Distributed Replay
Books Online: Transact-SQL Data Definition Language (DDL) Reference
Books Online: Transact-SQL Data Manipulation Language (DML) Reference
Books Online: XQuery Language Reference
Extracting and Loading SharePoint Data in SQL Server Integration Services
Introducing Microsoft SQL Server 2008 R2
Introducing Microsoft SQL Server 2012
Master Data Services Capacity Guidelines
Microsoft SQL Server AlwaysOn Solutions Guide for High Availability and Disaster Recovery
Microsoft SQL Server Analysis Services Multidimensional Performance and Operations Guide
Optimized Bulk Loading of Data into Oracle
Planning Disaster Recovery for Microsoft SQL Server Reporting Services in SharePoint Integrated Mode
QuickStart: Learn DAX Basics in 30 Minutes
SQL Server 2012 Tutorials: Analysis Services – Data Mining
SQL Server 2012 Tutorials: Analysis Services – Multidimensional Modeling
SQL Server 2012 Tutorials: Analysis Services – Tabular Modeling
SQL Server 2012 Tutorials: Reporting Services
SQL Server 2012 Tutorials: Writing Transact-SQL Statements
SQL Server 2012 Upgrade Technical Guide
SQL Server Community FAQs Manual
Visual Studio Moving to Microsoft Visual Studio 2010
Upgrade Team Foundation Server 2012: the ultimate upgrade guide
Web Development Deploying an ASP.NET Web Application to a Hosting Provider using Visual Studio
Developing Modern Mobile Web Apps
The Entity Framework 4.0 and ASP.NET Web Forms – Getting Started
Getting Started with ASP.NET 4.5 Web Forms (Beta)
Getting Started with the Entity Framework 4.1 using ASP.NET MVC
Intro to ASP.NET MVC 4 with Visual Studio (Beta)
Introducing ASP.NET Web Pages 2
Project Silk: Client-Side Web Development for Modern Browsers
Windows Deploying Windows 7: Essential Guidance
Programming Windows 8 Apps with HTML, CSS, and JavaScript
Windows Azure Autoscaling Application Block and Transient Fault Handling Application Block Reference
Building Elastic and Resilient Cloud Applications – Developer’s Guide to the Enterprise Library 5.0 Integration Pack for Windows Azure
Building Hybrid Applications in the Cloud on Windows Azure
Create Your First Application – Node.js and Windows Azure
Drupal on Windows Azure
Migrating Data-Centric Applications to Windows Azure
Moving Applications to the Cloud, 2nd Edition
Using Windows Azure Mobile Services to Cloud-Enable your iOS Apps
Using Windows Azure Mobile Services to Cloud-Enable Your Windows Phone 8 Apps
Using Windows Azure Mobile Services to Cloud-Enable your Windows Store Apps in C#
Using Windows Azure Mobile Services to Cloud-Enable Your Windows Store Apps in JavaScript
Windows Azure and SQL Database Tutorials
Windows Azure Prescriptive Guidance
Windows Azure Service Bus Reference
Windows Phone Developing an Advanced Windows Phone 7.5 App that Connects to the Cloud
Programming Windows Phone 7
Windows Server A Guide to Claims-Based Identity and Access Control, Second Edition
Introducing Windows Server 2008 R2
Introducing Windows Server 2012
Understanding Microsoft Virtualization Solutions: From the Desktop to the Datacenter, Second Edition
Career Own Your Future: Update Your Skills with Resources and Career Ideas from Microsoft
Advertisements

Large collection of Free Microsoft eBooks for you, including: SharePoint, Visual Studio, Windows Phone, Windows 8, Office 365, Office 2010, SQL Server 2012, Azure, and more by Eric Ligman

Throughout the year Eric has tried to share resources and information with us that he think will be helpful for us. Often times these resources will include links to free eBooks that they make available on a variety of topics. Today, Eric thought he would post a large collection of eBooks for us on his blog so that we can find them in one place and consume them as we see fit. Also, if you find this list helpful, please share it with your peers and colleagues so that they too can benefit from these resources.

 

image
Moving to Microsoft Visual Studio 2010
image
Programming Windows 8 Apps
image
Programming Windows Phone 7
image
Programming Windows Phone 7 (Special Excerpt 2)
image
Office 365 – Connect and Collaborate virtually anywhere, anytime
image
Microsoft Office 2010 First Look
image
Security and Privacy for Microsoft Office 2010 Users
image
Getting started with
Microsoft Office 2010 – For IT Professionals
image
Planning guide for Microsoft Office 2010 – For IT professionals
image
Deployment guide for Microsoft Office 2010 – For IT professionals
image
Operations guide for Microsoft Office 2010 – For IT professionals
image
Technical reference for Microsoft Office 2010 – For IT professionals
clip_image001
Understanding Microsoft Virtualization R2 Solutions
image
Introducing Windows Server 2012
image
Introducing Microsoft SQL Server 2012
image
Introducing Microsoft SQL Server 2008 R2

Configure Kerberos Authentication for SharePoint 2010 Products

Business continuity management for SharePoint Server 2010

Deployment guide for SharePoint Server 2010

Get started with SharePoint Server 2010

Governance guide for Microsoft SharePoint Server 2010

Profile synchronization guide for SharePoint Server 2010

Remote BLOB storage for Microsoft SharePoint Server 2010

Technical reference for Microsoft SharePoint Server 2010

Upgrading to SharePoint Server 2010
image
Getting Started with SharePoint Server 2010
image
Planning guide for sites and solutions for Microsoft SharePoint Server 2010, Part 1
image
Planning guide for sites and solutions for Microsoft SharePoint Server 2010, Part 2
image
Planning guide for server farms and environments for Microsoft SharePoint Server 2010
image
Capacity planning for Microsoft SharePoint Server 2010
   

SQL Server 2012 Tutorials: Analysis Services – Tabular Modeling

Microsoft SQL Server AlwaysOn Solutions Guide for High Availability and Disaster Recovery

Transact-SQL Data Manipulation Language (DML) Reference

QuickStart: Learn DAX Basics in 30 Minutes

SQL Server 2012 Tutorials: Analysis Services – Data Mining

Microsoft SQL Server Analysis Services Multidimensional Performance and Operations Guide

Data Analysis Expressions (DAX) Reference

SQL Server 2012 Upgrade Technical Guide

Backup and Restore of SQL Server Databases

SQL Server 2012 Tutorials: Analysis Services – Multidimensional Modeling

Master Data Services Capacity Guidelines
 
In The Classroom - Digital Storytelling
Digital Storytelling
In The Classroom - Free Tools
Free Tools in the Classroom
In The Classroom - Movie Maker
Windows Live Movie Maker in the Classroom
In The Classroom - Windows 7
Windows 7 in the Classroom
In The Classroom - Web Apps
Microsoft Office Web Apps Teaching Guide
In The Classroom - Office
Microsoft Office in the Classroom
Critical Thinking - In The Classroom
Developing Critical Thinking through Web Research Skills
In The Classroom - Bing
Bing in the Classroom

Moving Applications to the Cloud, 2nd Edition

Windows Azure Prescriptive Guidance

Windows Azure Service Bus Reference

Intro to ASP.NET MVC 4 with Visual Studio (Beta)

Deploying an ASP.NET Web Application to a Hosting Provider using Visual Studio

Getting Started with ASP.NET 4.5 Web Forms (Beta)

Introducing ASP.NET Web Pages 2
image
Own Your Future
W7PUG Cover-free
Windows 7 Power Users Guide
eBook
Deploying Windows 7 Essential Guidance
image
Welcome to Windows 7
image
What You Can Do Before You Call Tech Support (Windows 7)

Source : http://blogs.msdn.com/b/mssmallbiz/archive/2012/07/27/large-collection-of-free-microsoft-ebooks-for-you-including-sharepoint-visual-studio-windows-phone-windows-8-office-365-office-2010-sql-server-2012-azure-and-more.aspx

Get the Microsoft Partner Info Mobile App and get access to the latest from all of those plus: product teams, MPN teams, Microsoft News and hundreds more resources here at Microsoft right on your phone:

image

Free Books from Microsoft Press

1 – Programming Windows Phone 7

Programming Windows Phone 7 by Charles Petzold

This book is divided into three parts. The first part discusses basic concepts of Windows Phone 7 programming using example programs that target both Silverlight and the XNA framework. It is likely that many Windows Phone 7 developers will choose either one platform or the other, but I think it’s important for all developers who have at least a little knowledge of the alternative to their chosen path.

The second part of this book focuses entirely on Silverlight, and the third part on XNA 2D. For your convenience, the chapters in each part build upon previous knowledge in a progressive tutorial narrative, and hence are intended to be read sequentially.

2 – Moving to Microsoft Visual Studio 2010

Moving to Microsoft Visual Studio 2010

Moving to Microsoft Visual Studio 2010 was written with three audiences in mind: Part I is for developers moving from Visual Studio 2003 to Visual Studio 2010, Part II is for developers moving from Visual Studio 2005 and Part III is for developers moving from Visual Studio 2008.

Here’s a little bit about the authors: Ken Haines is a software development engineer at Microsoft, working in the Consumer and Online Division. He has a passion for distributed applications in the cloud and strives to help customers and partners find the right solution for their needs.

3 – Introducing Microsoft SQL Server 2008 R2

Introducing Microsoft SQL Server 2008 R2

This book is for anyone who has an interest in SQL Server 2008 R2 and wants to understand its capabilities. In a book of this size, we cannot cover every feature that distinguishes SQL Server from other databases, and consequently we assume that you have some familiarity with SQL Server already.

You might be a database administrator (DBA), an application developer, a power user, or a technical decision maker. Regardless of your role, we hope that you can use this book to discover the features in SQL Server 2008 R2 that are most beneficial to you.

4 – Understanding Microsoft Virtualization Solutions

Understanding Microsoft Virtualization Solutions

If you want to learn more about latest Microsoft virtualisation technologies, so that you can differentiate your Hyper-V from your Remote Desktop Services, then this’s the job.

It covers Microsoft Virtual Desktop Infrastructure, Application Virtualization 4.5, Enterprise Desktop Virtualization, Windows Virtual PC and Windows XP Mode, System Center Virtual Machine Manager 2008, and Microsoft’s private and public cloud computing platforms including Windows Azure.

5 – Own Your Future: Update Your Skills with Resources and Career Ideas from Microsoft

Own Your Future Update Your Skills with Resources and Career Ideas from Microsoft

In this book, students will find a wealth of Microsoft resources they can use to identify the technology skills they need, and gather knowledge and experience to help them take charge of their careers.

Here at Microsoft, we care about students’ career success and hope these resources will open doors to learning that will lead them to better opportunities and a deeper understanding of the way technology continues to change and improve the ways people work—both here in the U.S. and around the world.

6 – Introducing Windows Server 2008 R2

Introducing Windows Server 2008 R2

This book is targeted primarily at Windows server administrators who are responsible for hands-on deployment and day-to-day management of Windows-based servers for large organizations. Windows server administrators manage file and print servers, network infrastructure servers, Web servers, and IT application servers.

They use graphical administration tools as their primary interface but also use Windows PowerShell commandlets and occasionally write Windows PowerShell scripts for routine tasks and bulk operations. They conduct most server management tasks remotely by using Terminal Server or administration tools installed on their local workstation.

7 – First Look Microsoft Office 2010

First Look Microsoft Office 2010

This book introduces you to the changes in Office 2010 and shows you how you can make the most of the new features to fit the way you work today. Chapter 1, “Welcome to Office 2010,” gives you a play-by-play introduction to new features.

Chapter 2, “Express Yourself Effectively and Efficiently,” details the great feature enhancements and visual effects throughout the applications; and Chapter 3, “Work Anywhere with Office 2010,” explores the flexibility factor by presenting a set of scenarios that enable users to complete their work no matter where their path takes them and so on.

8 – Deploying Windows 7, Essential Guidance

Deploying Windows 7

Deploying Windows 7 Essential Guidance from the Windows 7 Resource Kit and Microsoft TechNet Magazine. Looking for guidance specific to Windows 7 deployment?

Check out what the industry’s leading experts have to say in this free Microsoft Press eBook with selected chapters from the Windows 7 Resource Kit on Deployment Platforms, Planning, Testing Application Compatability, and 8 Common Issues in Windows 7 Migrations

Source : http://microsoftfeed.com/2011/free-books-from-microsoft-press/

Pass parameters to a WPF Click-Once Application

Introduction

Environment : Visual Studio 2010
Application   : WPF
Language     : VB.NET
Deployment  : Click-Once
Suppose you have a WPF application which has 5 XAML windows.
1. Main Window
2. Application 1
3. Application 2
4. Application 3
5. Application 4
When application get launched, the Main Window will open which will have a combo-box containing the Application’s Name to select.

So any user can go from Main Window to App1, App2, App3 or App4.

Once deployed, the URL will be something like, http://www.servername.com/MainWindow.application

Problem :

But the problem is if a user wants to directly open App1, App2, App3 or App4, he/she won’t be able to.

Solution :

The solution is simple.  Pass the parameters to the URL of Click-Once and force it to recognize the parameters and open up the application.

The ClickOnce application named MainWindow that you host on servername, and you want to pass in a value for the variable username when the application launches. Your URL might look like the following:

http://www.servername.com/MainWindow.application?AppID=App1

Steps To Be Followed :

A.  If you are using the application’s config file then follow the below procedure:

Steps :
1. Open your project (In Visual Studio 2010)
2. Right click on your project and select Properties:
3.  Select Publish Tab and Select Options.


4. Select the Allow URL parameters to be passed to application check box.


B.  If you are using any ClickOnce.target file:


Add Below Entry:

    <GenerateDeploymentManifest
EntryPoint=”$(ClickOnceInstallDirectory)$(AssemblyName).exe.manifest”
DeploymentUrl =”$(ClickOnceApplicationUrl)”
OutputManifest=”$(ClickOnceInstallDirectory)$(AssemblyName).application”
AssemblyName=”$(ClickOnceAppTitle)”
MapFileExtensions=”true”
Publisher=”$(Company)”
AssemblyVersion=”$(AssemblyVersion)”
MinimumRequiredVersion=”$(AssemblyVersion)”
Product=”$(ClickOnceAppTitle)”
Install=”true”
UpdateEnabled=”true”
UpdateMode=”Foreground”
TargetFrameworkVersion=”v4.0″
TargetFrameworkMoniker=”.NETFramework,Version=v4.0″
                TrustURLParameters=”true”
>
Code :

Write below code in your MainWindow.xaml.cs/vb file:

    Public Sub New()

        InitializeComponent()

            Dim instance As ApplicationDeployment

            If (ApplicationDeployment.IsNetworkDeployed) Then

		instance = ApplicationDeployment.CurrentDeployment

                If Not IsNothing(instance) Then

                    Dim activateUri As Uri = instance.ActivationUri

                    If activateUri IsNot Nothing AndAlso activateUri.Query <> String.Empty Then

                        Dim nameValueTable = System.Web.HttpUtility.ParseQueryString(activateUri.Query)

                        If nameValueTable Is Nothing Then

                            'nameValueTable Is Nothing

                        Else

                            If nameValueTable.Keys.Count = 0 Then

                            	'No Parameters has been passed.

                            Else

	                            Select Case nameValueTable("ID")

        		                        Case "1"

							'Open App1

                		                Case "2"

							'Open App2	

        		                        Case "3"

							'Open App3

                        		        Case "4"

							'Open App4

		                                Case Else

							'Open Main Window

                	            End Select

                            End If

                        End If

                    End If

                End If

            End If

    End Sub

Conclusion

Please let me know if you need any help.

Visual Studio 2010 Keybinding Posters

Reference posters for the default keybindings in Visual Studio 2010 for Visual Basic, Visual C#, Visual C++ and Visual F#.

High quality, print-ready PDFs in letter & A4 format containing the default keybindings in Visual Studio 2010 for Visual Basic, Visual C#, Visual C++ and Visual F#. High-resolution versions are also available.

VS-KB-Brochure-CPP-A4.pdf
267KB
VS-KB-Brochure-CPP-A4-HiRez.pdf
793KB
VS-KB-Brochure-CPP-Letter.pdf
270KB
VS-KB-Brochure-CPP-Letter-HiRez.pdf
802KB
VS-KB-Brochure-CSharp-A4.pdf
259KB
VS-KB-Brochure-CSharp-A4-HiRez.pdf
777KB
VS-KB-Brochure-CSharp-Letter.pdf
844KB
VS-KB-Brochure-CSharp-Letter-HiRez.pdf
2.5MB
VS-KB-Brochure-FSharp-A4.pdf
819KB
VS-KB-Brochure-FSharp-A4-HiRez.pdf
2.7MB
VS-KB-Brochure-FSharp-Letter.pdf
817KB
VS-KB-Brochure-FSharp-Letter-HiRez.pdf
2.7MB
VS-KB-Brochure-VB-A4.pdf
302KB
VS-KB-Brochure-VB-A4-HiRez.pdf
819KB
VS-KB-Brochure-VB-Letter.pdf
942KB
VS-KB-Brochure-VB-Letter-HiRez.pdf
2.8MB

Introducing Debugger Canvas : Released Now!!

About Debugger Canvas

Debugger Canvas is a new user experience for the debugger in Visual Studio Ultimate. It pulls together the code you’re exploring onto a single pan-and-zoom display. As you hit breakpoints or step into code, Debugger Canvas shows just the methods that you’re debugging, with call lines and local variables, to help you see the bigger picture.

Get Debugger Canvas

Try out Debugger Canvas, a new user experience for the debugger in Visual Studio Ultimate.

Install Debugger Canvas

Get Started

Download and Install Debugger Canvas.
Read the Guide to get started with Debugger Canvas.

Requirements

  • Visual Studio 2010 Ultimate SP1 (works with C# and Visual Basic)

Source : http://research.microsoft.com/en-us/projects/debuggercanvas/

WPF application Single Instance in one line

WPF application Single Instance in one line

Usage: WpfSingleInstance.Make(); or WpfSingleInstance.Make(SingleInstanceModes.ForEveryUser);

1. Add only a line of code (above) in the App.xaml.cs or in the main window.
2. Add a small static class in project (and a dummy enum SingleInstanceModes).

No additional inheritance in App class.
No App.xalm deleting.
No so redundant WCF and Remoting.
It works by the EventWaitHandle. Look in code, it’s so simply.

 

 

%d bloggers like this: