15.02.2015 Views

C# 4 and .NET 4

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Working with Visual studio 2010 ❘ 381<br />

if you Choose . . .<br />

Syndication Service Library<br />

Console Application<br />

WCF Service Application<br />

Windows Service<br />

Enable Windows Azure Tools<br />

Reports Application<br />

Crystal Reports Application<br />

Activity Designer Library<br />

Activity Library<br />

Workflow Console Application<br />

WCF Service Library<br />

WCF Workflow Service Application<br />

Office<br />

you geT The <strong>C#</strong> Code <strong>and</strong> ComPilaTion oPTions<br />

To generaTe . . .<br />

A WCF project that allows you to build <strong>and</strong> expose a<br />

syndication service.<br />

An application that runs at the comm<strong>and</strong>-line prompt, or in a<br />

console window.<br />

A project type for Windows Communication Foundation<br />

services.<br />

A service that runs in the background on a Windows operating<br />

system.<br />

Allows you to load Azure-based tools for cloud computing<br />

solutions.<br />

A project for creating an application with a Windows user<br />

interface <strong>and</strong> a report.<br />

A project for creating a <strong>C#</strong> application with a Windows user<br />

interface <strong>and</strong> a sample Crystal Report.<br />

A project that provides an Activity Designer template for<br />

working with Windows Workflow.<br />

A project that provides a blank Workflow Activity Library. This<br />

project provides for creating a library of activities that can later<br />

be reused as building blocks in workflows.<br />

A project that provides a basic console application to use with<br />

Windows Workflow.<br />

A project that provides for creating a WCF service class library<br />

(.dll) that has endpoints controlled via XML configuration files.<br />

A project type that allows you to create a WCF-based<br />

distributed communication applications that make use of<br />

Windows Workflow.<br />

A series of projects that are aimed at building applications or<br />

add-ins targeted at the Microsoft Office applications (Word,<br />

Excel, PowerPoint, InfoPath, Outlook, Visio, <strong>and</strong> SharePoint).<br />

As mentioned, this is not a full list of the .<strong>NET</strong> Framework 4 projects, but it is a good start. The big<br />

additions to this project table are the latest projects that are aimed at the WPF, the WCF, <strong>and</strong> the WF.<br />

You will find chapters covering these new capabilities later in this book. Be sure to look at Chapter 35,<br />

“Core WPF,” Chapter 43, “Windows Communication Foundation,” <strong>and</strong> Chapter 44, “Windows Workflow<br />

Foundation 4.”<br />

You will also notice that new project templates are available because of the ability to search online for<br />

templates through the New Project dialog.<br />

reviewing the newly Created Console Project<br />

When you click OK after selecting the Console Application option, Visual Studio gives you a couple of files,<br />

including a source code file, Program.cs, which contains the initial framework code. Figure 16-8 shows<br />

what code Visual Studio has written for you.<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!