




























































































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Prepare-se para as provas
Estude fácil! Tem muito documento disponível na Docsity
Prepare-se para as provas com trabalhos de outros alunos como você, aqui na Docsity
Os melhores documentos à venda: Trabalhos de alunos formados
Prepare-se com as videoaulas e exercícios resolvidos criados a partir da grade da sua Universidade
Responda perguntas de provas passadas e avalie sua preparação.
Ganhe pontos para baixar
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Comunidade
Peça ajuda à comunidade e tire suas dúvidas relacionadas ao estudo
Descubra as melhores universidades em seu país de acordo com os usuários da Docsity
Guias grátis
Baixe gratuitamente nossos guias de estudo, métodos para diminuir a ansiedade, dicas de TCC preparadas pelos professores da Docsity
Aprenda C# com Visual Studio da Microsoft.
Tipologia: Notas de estudo
1 / 781
Esta página não é visível na pré-visualização
Não perca as partes importantes!
®
®
iv Contents at a Glance
Table of Contents xv
- Visual Studio Part I Introducing Microsoft Visual C# and Microsoft - 1 Welcome to C# - 2 Working with Variables, Operators, and Expressions - 3 Writing Methods and Applying Scope - 4 Using Decision Statements - 5 Using Compound Assignment and Iteration Statements - 6 Managing Errors and Exceptions - 7 Creating and Managing Classes and Objects Part II Understanding the C# Language - 8 Understanding Values and References - 9 Creating Value Types with Enumerations and Structures
xvi Table of Contents
What Is a Web Service? 684 The Role of Windows Communication Foundation 684 Web Service Architectures 684 SOAP Web Services 685 REST Web Services 687 Building Web Services 688 Creating the ProductInformation SOAP Web Service 689 SOAP Web Services, Clients, and Proxies 697 Consuming the ProductInformation SOAP Web Service 698 Creating the ProductDetails REST Web Service 704 Consuming the ProductDetails REST Web Service 711 Chapter 29 Quick Reference 715
Microsoft is interested in hearing your feedback so we can continually improve our books and learning resources for you. To participate in a brief online survey, please visit: www.microsoft.com/learning/booksurvey/ What do you think of this book? We want to hear from you!
and had to ask her how she would explain Barrier methods She looked at me quizzically, and gave a reply that although anatomically correct if I was in a doctor’s surgery, indicated that either I had not phrased the question very carefully or that she had completely mis- understood what I was asking! James has now grown up and will soon have to learn what real work entails if he is to keep Diana and myself in the manner to which we would like to become accustomed in our dotage Francesca has also grown up, and seems to have refined a strategy for getting all she wants without doing anything other than looking at me with wide, bright eyes, and smiling Finally, “Up the Gills!” — John Sharp
xix
Microsoft Visual C# is a powerful but simple language aimed primarily at developers creating applications by using the Microsoft NET Framework It inherits many of the best features of C++ and Microsoft Visual Basic, but few of the inconsistencies and anachronisms, resulting in a cleaner and more logical language C# 1 0 made its public debut in 2001 The advent of C# 2 0 with Visual Studio 2005 saw several important new features added to the language, including Generics, Iterators, and anonymous methods C# 3 0 which was released with Visual Studio 2008, added extension methods, lambda expressions, and most famously of all, the Language Integrated Query facility, or LINQ The latest incarnation of the language, C# 4 0, provides further enhancements that improve its interoperability with other languages and technologies These features include support for named and optional arguments, the dynamic type which indicates that the language runtime should implement late binding for an object, and variance which resolves some issues in the way in which generic interfaces are defined C# 4 0 takes advantage of the latest version of the NET Framework, also version 4 0 There are many additions to the NET Framework in this release, but arguably the most significant are the classes and types that constitute the Task Parallel Library (TPL) Using the TPL, you can now build highly scalable applications that can take full advantage of multi-core processors quickly and easily The support for Web services and Windows Communication Foundation (WCF) has also been extended; you can now build services that follow the REST model as well as the more traditional SOAP scheme The development environment provided by Microsoft Visual Studio 2010 makes all these powerful features easy to use, and the many new wizards and enhancements included in Visual Studio 2010 can greatly improve your productivity as a developer Who This Book Is For This book assumes that you are a developer who wants to learn the fundamentals of programming with C# by using Visual Studio 2010 and the NET Framework version 4 0 In this book, you will learn the features of the C# language, and then use them to build applica- tions running on the Microsoft Windows operating system By the time you complete this book, you will have a thorough understanding of C# and will have used it to build Windows Presentation Foundation applications, access Microsoft SQL Server databases by using ADO NET and LINQ, build responsive and scalable applications by using the TPL, and create REST and SOAP Web services by using WCF