Smart Client Deployment with ClickOnce and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Start reading Smart Client Deployment with ClickOnce on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Smart Client Deployment with ClickOnce: Deploying Windows Forms Applications with ClickOnce [Paperback]

Brian Noyes
4.4 out of 5 stars  See all reviews (9 customer reviews)

List Price: $49.99
Price: $39.54 & FREE Shipping. Details
You Save: $10.45 (21%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 3 left in stock (more on the way).
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Tuesday, May 21? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $22.79  
Paperback $39.54  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

January 6, 2007 0321197690 978-0321197696 1
“ClickOnce demos may look simple, but those techniques only work for simple applications. Brian Noyes gives us the information we need to use ClickOnce in the real world, and he does it with a comprehensive and organized presentation. If you expect your smart client application to move very far beyond ‘Hello,World,’ you’ll want this book to help you deploy it.”
Billy Hollis, president/owner, Elysian Consulting, Microsoft Regional Director
“Once again Brian has outdone himself. As a writer, I tend to be very critical of all technical publications, including my own . . . and it is such a pleasure to read anything Brian writes because he studies his topics well, resulting in an accurate, thorough, yet concise piece of work. ClickOnce being a new technology that deals with the pains we all have with application deployment, versioning, and security, it is important to have a text that will guide you through the learning process, give you sound advice for adopting the technology, and explain why you should even care. Brian gives his readers all of that.”
Michele Leroux Bustamante, chief architect, IDesign, Microsoft Regional Director
“ClickOnce is the key to Windows and smart client deployment. Brian’s book is the key to successfully using ClickOnce. This book walks you through using ClickOnce, from the basics to advanced scenarios. It is an excellent resource.”
Rockford Lhotka, principal technology evangelist, Magenic Technologies, Microsoft Regional Director
“Brian covers ClickOnce with a view to real-world deployment issues, which isobviously based on real-world experience. In and of itself, that is enough forme to buy the book. However, it is an even better investment by virtue of thefact that ClickOnce is a core part of the .NET Framework for Windows Forms2.0 now, and Windows Presentation Foundation in the future.”
Michael Weinhardt, SDK programmer/writer, Application Model,Windows Presentation Foundation, Microsoft
“This book covers the most important ingredient needed for the success of asmart client application—deployment. The author’s unassuming writing style,combined with his in-depth coverage of the topic, makes this book an invaluableresource for all serious smart client developers.”
Vishwas Lele, principal architect, Applied Information Sciences,Microsoft Regional Director

Microsoft’s new ClickOnce auto-updating technology can radically simplify application deployment. Using it, .NET developers and architects can deliver a powerful, smart client experience along with the easy maintenance of today’s best Web applications.

Microsoft Regional Director and MVP Brian Noyes has unsurpassed experience previewing and teaching ClickOnce to professional developers. In Smart Client Deployment with ClickOnce, Noyes demonstrates exactly how to make the most of ClickOnce in your real-world enterprise applications. Noyes covers ClickOnce design, architecture, security, installation, updates, and Bootstrapping—each with a full case study and detailed sample code.

This focused, concise book explains how to

  • Design client applications for efficient deployment and auto-updating
  • Perform application deployments and automatic updates quickly and easily
  • Deliver “on-demand” client application updates
  • Deploy prerequisites with the Visual Studio 2005 Bootstrapper
  • Take full control of ClickOnce’s powerful publishing, update, and security options
  • Leverage the Visual Studio 2005 and .NET 2.0 platform features that make ClickOnce possible
  • Understand how your application will behave in the ClickOnce runtime environment

The book’s sample code is available for download at www.softinsight.com/clickoncebook.


Frequently Bought Together

Smart Client Deployment with ClickOnce: Deploying Windows Forms Applications with ClickOnce + Deploying .NET Applications: Learning MSBuild and ClickOnce (Expert's Voice in .NET) + The Definitive Guide to Windows Installer (Expert's Voice in Net)
Price for all three: $115.26

Buy the selected items together


Editorial Reviews

About the Author

Brian Noyes is a software architect, trainer, writer, and speaker with IDesign, Inc. (www.idesign.net), a premier .NET architecture and design consulting and training company. He is a Microsoft Regional Director (www.microsoft.com/rd) and Microsoft Most Valuable Professional (MVP), and has been developing software systems for more than sixteen years. He speaks at many major software conferences around the world, and writes for a variety of software journals and magazines. He lives in Alexandria, Virginia, but is a Southern California surf bum at heart, having grown up there. Prior to becoming a full-time software developer, Brian flew F-14 Tomcats in the U.S. Navy and graduated from the Navy Fighter Weapons School (TopGun) and the U.S. Naval Test Pilot School. Brian has a master’s degree in computer science from the University of Colorado, Boulder, a master’s degree in aerospace engineering from the Naval Postgraduate School, and a bachelor’s degree in aerospace engineering from the U.S. Naval Academy.

Excerpt. © Reprinted by permission. All rights reserved.

Deployment has been a thorn in most developers’ sides for a long time. Developing complex distributed applications is challenging enough just from a design and implementation perspective. Failing to plan for deployment or having the deployed environment change on you can kill an application quickly, no matter how well you plan for it. ClickOnce does not solve this problem, but it definitely takes a big step in the right direction for streamlining deployment of smart client applications.

I was first exposed to ClickOnce more than three years ago at an early adopter lab on the Microsoft campus in Redmond. At the time, I was just starting to get immersed in smart client technology and beginning to think about how to address all aspects of the application lifecycle as an architect. Having experienced a fair amount of deployment pain myself in the past, I instantly fell in love with ClickOnce as a technology. I quickly saw the potential for ClickOnce to be a key enabler for the broad adoption of smart client architectures because without a way to get those smart client applications in your users’ hands, you might as well not build them.

The most common question that I got as I was working on this book was, “How can you write a whole book on ClickOnce?” This usually came from someone who had seen demos of ClickOnce but had not yet tried to use it for something real. ClickOnce is incredibly powerful, yet it seems simple on the surface. It takes only five to ten minutes to run an end-to-end demo of what ClickOnce can do for you. When people have seen this kind of presentation of ClickOnce, they do not realize that ClickOnce addresses a lot more than a single common deployment scenario. However, whenever you try to provide flexibility and power, a fair amount of complexity also comes along with it.

I think the ClickOnce team did a really good job of making the simple, straightforward use of ClickOnce as easy as possible. If you are building a new smart client application from scratch with ClickOnce in mind, using ClickOnce to deploy it requires minimal effort for both your administrators and your users. However, real applications are rarely simple and straightforward (even though, because of poor architecture, the complexity is often unnecessary or disproportionate to what the applications are designed to do). ClickOnce has many variations and options that let you address a broad range of scenarios to deal with those complexities. And once you start getting into those capabilities, you dive into the deep end of the ClickOnce pool and really need to understand a lot more about what is going on under the covers; what the effects are of setting publishing, update, and security options different from the defaults; how your application is going to behave in the ClickOnce runtime environment; and so on.

Who Should Read This Book?

This book is written for those developers and architects who need to understand the full range of capabilities of ClickOnce so that they can make educated decisions early in the development lifecycle and put those decisions into practice when the product is getting close to complete. You will need this understanding to make sure you can get your smart client applications deployed through ClickOnce and to address the complexities of real-world applications in that environment. It is primarily written for intermediate to advanced developers or architects, but IT professionals who are responsible for deploying and maintaining ClickOnce applications can also get a lot out of most of the chapters as well.

This is not a book about programming, although there are aspects of ClickOnce covered in several of the chapters that require coding to use. ClickOnce is mainly driven through Visual Studio project configuration, tools, and processes, not through code. So a fair percentage of the book will describe these aspects, and only a small portion will discuss code directly.

There is a programmatic API that is discussed in several chapters, and there are other coding practices that are important from within your application that can affect the deployment and execution of a ClickOnce application. For the sections that cover coding, I expect that readers already know how to code .NET applications. I will point out appropriate references when necessary for complex topics, but to understand the code samples, you need to have some experience developing Windows Forms applications in .NET. 1

Conventions

Deploying ClickOnce applications is mostly about tools and less about code. However, there are a number of code samples in this book, and to help make things easier, I have adopted some common conventions.

First, any time I refer to classes, variables, namespaces, and other artifacts that manifest themselves in code, I will use a monospace font to make it clear if I am talking about an instance of the ApplicationDeployment class as opposed to talking about a coding construct in a conceptual way. Short code listings will be presented inline within the text using a monospaced font as well.

Longer listings will use a similar font, but will be broken out into labeled listings that can be referred to throughout the text (based on listing numbers). Within code listings, I will sometimes set in bold particularly relevant portions of the code, especially to highlight “evolving code.” I may remove details that are not relevant to a discussion, and if so will insert a comment that indicates that there are more details, identifiable by a comment with an ellipses (//...). What this means is that more code is needed to complete the example or that there exists more code generated by the designer, but you don’t need it to understand the concept. On occasion, I will add explanatory comments to code in order to show context.

System Requirements

This book was written using the released version of Visual Studio 2005 and the .NET Framework 2.0. ClickOnce capabilities are available in all versions of Visual Studio, including Visual C# 2005 Express and Visual Basic 2005 Express. You do not need Visual Studio to use ClickOnce because it is a core capability of the .NET Framework, but to use ClickOnce for any serious project, you will need Visual Studio to do the initial publishing. Throughout the book, I will refer to Visual Studio instead of Visual Studio 2005 for brevity, but you can always infer that I mean Visual Studio 2005 or one of the Express versions (even though they do not have “Studio” in their official names).

If you plan to run the samples available from the download site or the walkthroughs and code listings in this book, you will need a version of Visual Studio 2005, Visual C# 2005 Express, or Visual Basic 2005 Express installed on your machine. One of the samples uses a SQL Server 2005 Compact Edition database to provide sample data to the application, but it includes the libraries needed to run that. One sample uses the Northwind database to provide sample data. Because the particular functionality of the application is not important to the topic being covered (how to deploy and update these applications with ClickOnce), don’t get wrapped up in trying to get these samples running if you don’t already have the databases available; just create an empty Windows Forms application and use it.

Choice of Language

I chose to present the code samples in this book in C#. The downloadable code is available in both C# and Visual Basic. It is a fact of life that there will continue to be a mix of C# and Visual Basic available in articles, books, and code samples for a long time to come. Even though I prefer C# myself, that is just a preference, and I feel that Visual Basic is a solid choice for developers who have a strong background in earlier versions of Visual Basic.

I firmly believe that to be an effective .NET developer, you need to be able to read code from either language, even if you spend most of your time with one. If you are not already comfortable reading C# code, I encourage you to use this opportunity to get comfortable with reading C#. It will expand your horizons in terms of the amount of reference material that is available to you, it may help you in your job, and it will give you bragging rights over the many silly and close-minded C# developers who can’t or won’t read Visual Basic.

Chapter Overview

This book steps you progressively through all of the concepts you will need to master to use ClickOnce to deploy real-world smart client applications. It starts with the basics in the first chapter, giving you a high-level view of ClickOnce and the surrounding context of smart client applications. Then it steps through deploying and updating applications, with all the associated options. It then focuses on more of the infrastructure for ClickOnce deployment, including how to manage application files, security, prerequisites, and advanced capabilities. It ends with an appendix that tells you what is different with respect to Windows Presentation Foundation application deployment (not much).

Here is a quick breakdown of the contents of each chapter.

Chapter 1: Introduction to ClickOnce. This chapter sets the context for the rest of the book. It starts by describing what a smart client application is and what deployment challenges ClickOnce was designed to address. It describes the high-level features of ClickOnce, and then walks you through a sample deployment and update of a client application using ClickOnce. This chapter wraps up describing the system requirements for ClickOnce, how it relates to other deployment technologies, when to use it and when not to, and a quick discussion of smart client architecture.

Chapter 2: Initial Deployment with ClickOnce. This chapter covers the process of publishing an initial version of an application and deploying it...


Product Details

  • Paperback: 336 pages
  • Publisher: Addison-Wesley Professional; 1 edition (January 6, 2007)
  • Language: English
  • ISBN-10: 0321197690
  • ISBN-13: 978-0321197696
  • Product Dimensions: 7.2 x 0.8 x 9.1 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon Best Sellers Rank: #1,124,970 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.4 out of 5 stars
(9)
4.4 out of 5 stars
You will enjoy reading it and finish it in few days. Panit Tuangsuwan  |  2 reviewers made a similar statement
This is a great starting place. A. Struthers  |  1 reviewer made a similar statement
Both books offered the same information, and depth on the topics. T. Anderson  |  1 reviewer made a similar statement
Most Helpful Customer Reviews
9 of 9 people found the following review helpful
5.0 out of 5 stars Very Thorough January 13, 2007
Format:Paperback|Amazon Verified Purchase
I gave this book 5 stars because it is very thorough. It covers everything there is to know about ClickOnce deployment. The author didn't miss any topic and covers the topics very thoroughly.

It wasn't what I had hoped for because I already own 'Deploying NET Applications Learning MSBuild and ClickOnce'. I was hoping for more detail on securing the files downloaded to the Client, and some better advice one securing running ClickOnce with parameters. The was no new info.

Both books offered the same information, and depth on the topics. So if you own 'Deploying NET Applications Learning MSBuild and ClickOnce' I would not buy this book.

If you don't own a book on ClickOnce, and you want to learn all the details about it, this is an excellent book.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars Practical.Compact.Easy-to-Read.Up-to-Date January 15, 2007
Format:Paperback
This book is a 5-stars book carrying completed information about ClickOnce from the beginning to the finish deployment of your project.

It is practical, compact, easy-to-read, and up-to-date. You will enjoy reading it and finish it in few days.

For .NET developer, it is a must-have book, and worth for your money. Interestingly, it shows how-to-use "ClickOnce" for both Windows and Web applications. This completed information is hardly found in other books.

I am a .NET developer who has experienced for several projects. I recommend this book with Deploying .NET Applications from APress. If you can afford two books, get them both. If you can get only one of them, get this one because in my opinion, it carried deeper, wider, updated information.

Enjoy ClickOnce!!!
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Worth the investment August 9, 2011
Format:Paperback|Amazon Verified Purchase
Getting ready to deploy an application for a niche industry, I found information on how to do this rather scant.

This is a great starting place. Starting with an overview then going as deep down the rabbit hole as you need, Brian has layed it out rather well.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Outstanding Reference: Well Organized, Thorough
This is an excellent reference: it answered very clearly and quickly the questions I had about deployment in general, deployment using ClickOnce, and a clear description of the... Read more
Published on July 8, 2009 by Travis Clark
5.0 out of 5 stars If you plan to do ClickOnce deployment you need this book
This book is very well written. Actually that can be said about any book written by Brain Noyes.
It helped me a lot when I was put in charge of the ClickOnce deployment for... Read more
Published on November 22, 2008 by PC
4.0 out of 5 stars A great primer.
The book is well layed out and documents the ClickOnce menus and options thoroughly. This is great for people who are not software junkies. Read more
Published on October 20, 2008 by Ryan S. Gandy
3.0 out of 5 stars Best book out there on ClickOnce
Of course, at the end of the day, its also really the only book out there on ClickOnce. Its a very good summary of the somewhat convoluted info available on MSDN and other... Read more
Published on November 9, 2007 by Eric Kepes
4.0 out of 5 stars Informative, Light Reading
I just finished Noyes' book on Microsoft's .NET ClickOnce API and found it to be helpful in understanding most aspects of ClickOnce. Read more
Published on September 2, 2007 by Michael S. OLAUGHLEN
4.0 out of 5 stars Thorough coverage of an interesting technology...
One of the reasons I chose to review Smart Client Deployment with ClickOnce: Deploying Windows Forms Applications with ClickOnce by Brian Noyes is that I had never heard of the... Read more
Published on February 8, 2007 by Thomas Duff
Search Customer Reviews
Only search this product's reviews


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category