Author: Roger Jennings
Publisher: John Wiley & Sons
ISBN: 047178513X
Category : Computers
Languages : en
Pages : 620
Book Description
Are you hesitant to migrate to Visual Studio(r) 2005? Maybe you're ready to upgrade to Visual Basic 2005 but feel a bit overwhelmed by ADO.NET 2.0 and the Visual Data Tools of this new release. In this hands-on guide, I'll share with you the best practices, the latest features, and advanced data management techniques with Visual Basic 2005 and SQL Server or SQL Server Express 2005. Plus, I'll incorporate simple to moderately complex project examples that feature real-world, database front-end applications with Windows and Web forms. First, I'll begin with ADO.NET 2.0 basics, then I'll move on to designing and programming smart clients with typed DataSets as their data sources. Gradually, I'll walk you through using DataSource, GridView, and DetailsView Web controls. Finally, I'll demonstrate how to take advantage of the new T-SQL extensions, in-process Web services, and notifications. What you will learn from this book How to build usable Windows(r) and Web forms from a sample database in less than five minutes-without writing a line of code Effective writing of data validation code for bound text boxes and DataGridViews Ways to apply advanced ASP.NET 2.0 data techniques The process of creating and deploying VB 2005 SQL CLR projects Who this book is for This book is for experienced VB programmers who are upgrading from VB6 or VS 2002/2003 to VB 2005. Basic familiarity with the VS 2005 or VB Express 2005 environment is helpful but not assumed. No prior VB6, VBA, or VBScript experience is necessary. Wrox Expert One-On-One books present the wisdom accumulated by an experienced author who is recognized as an expert by the programming community. These experts challenge professional developers to examine their current practices in pursuit of better results.
Expert One-on-OneTM Visual Basic® 2005 Database Programming
Author: Roger Jennings
Publisher: John Wiley & Sons
ISBN: 047178513X
Category : Computers
Languages : en
Pages : 620
Book Description
Are you hesitant to migrate to Visual Studio(r) 2005? Maybe you're ready to upgrade to Visual Basic 2005 but feel a bit overwhelmed by ADO.NET 2.0 and the Visual Data Tools of this new release. In this hands-on guide, I'll share with you the best practices, the latest features, and advanced data management techniques with Visual Basic 2005 and SQL Server or SQL Server Express 2005. Plus, I'll incorporate simple to moderately complex project examples that feature real-world, database front-end applications with Windows and Web forms. First, I'll begin with ADO.NET 2.0 basics, then I'll move on to designing and programming smart clients with typed DataSets as their data sources. Gradually, I'll walk you through using DataSource, GridView, and DetailsView Web controls. Finally, I'll demonstrate how to take advantage of the new T-SQL extensions, in-process Web services, and notifications. What you will learn from this book How to build usable Windows(r) and Web forms from a sample database in less than five minutes-without writing a line of code Effective writing of data validation code for bound text boxes and DataGridViews Ways to apply advanced ASP.NET 2.0 data techniques The process of creating and deploying VB 2005 SQL CLR projects Who this book is for This book is for experienced VB programmers who are upgrading from VB6 or VS 2002/2003 to VB 2005. Basic familiarity with the VS 2005 or VB Express 2005 environment is helpful but not assumed. No prior VB6, VBA, or VBScript experience is necessary. Wrox Expert One-On-One books present the wisdom accumulated by an experienced author who is recognized as an expert by the programming community. These experts challenge professional developers to examine their current practices in pursuit of better results.
Publisher: John Wiley & Sons
ISBN: 047178513X
Category : Computers
Languages : en
Pages : 620
Book Description
Are you hesitant to migrate to Visual Studio(r) 2005? Maybe you're ready to upgrade to Visual Basic 2005 but feel a bit overwhelmed by ADO.NET 2.0 and the Visual Data Tools of this new release. In this hands-on guide, I'll share with you the best practices, the latest features, and advanced data management techniques with Visual Basic 2005 and SQL Server or SQL Server Express 2005. Plus, I'll incorporate simple to moderately complex project examples that feature real-world, database front-end applications with Windows and Web forms. First, I'll begin with ADO.NET 2.0 basics, then I'll move on to designing and programming smart clients with typed DataSets as their data sources. Gradually, I'll walk you through using DataSource, GridView, and DetailsView Web controls. Finally, I'll demonstrate how to take advantage of the new T-SQL extensions, in-process Web services, and notifications. What you will learn from this book How to build usable Windows(r) and Web forms from a sample database in less than five minutes-without writing a line of code Effective writing of data validation code for bound text boxes and DataGridViews Ways to apply advanced ASP.NET 2.0 data techniques The process of creating and deploying VB 2005 SQL CLR projects Who this book is for This book is for experienced VB programmers who are upgrading from VB6 or VS 2002/2003 to VB 2005. Basic familiarity with the VS 2005 or VB Express 2005 environment is helpful but not assumed. No prior VB6, VBA, or VBScript experience is necessary. Wrox Expert One-On-One books present the wisdom accumulated by an experienced author who is recognized as an expert by the programming community. These experts challenge professional developers to examine their current practices in pursuit of better results.
Expert One-on-One Visual Basic 2005 Design and Development
Author: Rod Stephens
Publisher: John Wiley & Sons
ISBN: 0470136758
Category : Computers
Languages : en
Pages : 650
Book Description
Get ready to take your applications to the next level by harnessing all of Visual Basic 2005’s tools for programming, debugging, and refactoring code. In this hands-on book, you’ll get proven techniques for developing even the most complex Visual Basic applications. Expert tips on modeling, user interface design, and testing will help you master the advanced features of this language. You’ll learn how to make writing code more effective so that you can quickly develop and maintain your own amazingly powerful applications.
Publisher: John Wiley & Sons
ISBN: 0470136758
Category : Computers
Languages : en
Pages : 650
Book Description
Get ready to take your applications to the next level by harnessing all of Visual Basic 2005’s tools for programming, debugging, and refactoring code. In this hands-on book, you’ll get proven techniques for developing even the most complex Visual Basic applications. Expert tips on modeling, user interface design, and testing will help you master the advanced features of this language. You’ll learn how to make writing code more effective so that you can quickly develop and maintain your own amazingly powerful applications.
Visual Basic 2008 Programmer's Reference
Author: Rod Stephens
Publisher: John Wiley & Sons
ISBN: 111805900X
Category : Computers
Languages : en
Pages : 1219
Book Description
Providing programmers and developers of all skill levels with a comprehensive tutorial and reference to Visual Basic (VB) 2008, Microsoft MVP Rod Stephens presents a broad, solid understanding of essential topics on the latest version of VB. He explains the forms, controls, and other objects that VB furnishes for building applications in a modern windows environment. Plus, he examines the powerful development environment that makes VB such a productive language, and he delves into the VB language itself to show you how to use it to perform an array of important development tasks. Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Publisher: John Wiley & Sons
ISBN: 111805900X
Category : Computers
Languages : en
Pages : 1219
Book Description
Providing programmers and developers of all skill levels with a comprehensive tutorial and reference to Visual Basic (VB) 2008, Microsoft MVP Rod Stephens presents a broad, solid understanding of essential topics on the latest version of VB. He explains the forms, controls, and other objects that VB furnishes for building applications in a modern windows environment. Plus, he examines the powerful development environment that makes VB such a productive language, and he delves into the VB language itself to show you how to use it to perform an array of important development tasks. Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Visual Basic 2010 Programmer's Reference
Author: Rod Stephens
Publisher: John Wiley & Sons
ISBN: 0470632054
Category : Computers
Languages : en
Pages : 1374
Book Description
Visual Basic expert Rod Stephens shows you how to leverage the latest features of VB 2010 Microsoft Visual Basic (VB) is the most popular programming language in the world, with millions of lines of code used in businesses and applications of all types and sizes. The new release of Visual Basic 2010 is tightly integrated with the Windows operating system and the .NET programming environment. Renowned VB authority Rod Stephens provides a comprehensive guide to Visual Basic programming, including the latest enhancements to the VB language and programming environment with Visual Studio 2010 The tutorial is packed with detailed and practical code examples that show readers how to master all of the features of VB. Visual Basic authority Rod Stephens presents a must-have resource on Visual Basic, the most popular programming language in the word Fully covers the newest features of Visual Basic 2010, such as array literals and initializers, collection initializers, implicit line continuation, Lambda expressions, and more Features extensively revised and tested code to ensure compliance with the latest release With this essential resource, you'll be able to quickly review the details of important programming, objects, properties, methods, and events. Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Publisher: John Wiley & Sons
ISBN: 0470632054
Category : Computers
Languages : en
Pages : 1374
Book Description
Visual Basic expert Rod Stephens shows you how to leverage the latest features of VB 2010 Microsoft Visual Basic (VB) is the most popular programming language in the world, with millions of lines of code used in businesses and applications of all types and sizes. The new release of Visual Basic 2010 is tightly integrated with the Windows operating system and the .NET programming environment. Renowned VB authority Rod Stephens provides a comprehensive guide to Visual Basic programming, including the latest enhancements to the VB language and programming environment with Visual Studio 2010 The tutorial is packed with detailed and practical code examples that show readers how to master all of the features of VB. Visual Basic authority Rod Stephens presents a must-have resource on Visual Basic, the most popular programming language in the word Fully covers the newest features of Visual Basic 2010, such as array literals and initializers, collection initializers, implicit line continuation, Lambda expressions, and more Features extensively revised and tested code to ensure compliance with the latest release With this essential resource, you'll be able to quickly review the details of important programming, objects, properties, methods, and events. Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
.NET 4 Wrox eBook Bundle
Author: Bill Evjen
Publisher: John Wiley & Sons
ISBN: 0470621656
Category : Computers
Languages : en
Pages : 9760
Book Description
The books included in this set are: 9780470502204 Professional ASP.NET 4: in C# and VB: Written by three highly recognized and regarded ASP.NET experts, this book provides comprehensive coverage on ASP.NET 4 with a unique approach featuring examples in both C# and VB, as is the incomparable coverage of core ASP.NET. 9780470502259 Professional C# 4 and .NET 4: After a quick refresher on C# basics, the author dream team moves on to provide you with details of language and framework features including LINQ, LINQ to SQL, LINQ to XML, WCF, WPF, Workflow, and Generics. 9780470548653 Professional Visual Studio 2010: This book gets you quickly up to speed on what you can expect from Visual Studio 2010. Packed with helpful examples, this comprehensive guide explains examines the features of Visual Studio 2010, which allows you to create and manage programming projects for the Windows platform. 9780470499832 Visual Basic 2010 Programmer's Reference: This reference guide provides you with a broad, solid understanding of essential Visual Basic 2010 topics and clearly explains how to use this powerful programming language to perform a variety of tasks 9780470477229 WPF Programmer's Reference: Windows Presentation Foundation with C# 2010 and .NET 4: Written by a leading expert on Microsoft graphics programming, this richly illustrated book provides an introduction to WPF development and explains fundamental WPF concepts. 9780470257029 Professional SQL Server 2008 Programming: This expanded best-seller includes new coverage of SQL Server 2008's new datatypes, new indexing structures, manageability features, and advanced time-zone handling.
Publisher: John Wiley & Sons
ISBN: 0470621656
Category : Computers
Languages : en
Pages : 9760
Book Description
The books included in this set are: 9780470502204 Professional ASP.NET 4: in C# and VB: Written by three highly recognized and regarded ASP.NET experts, this book provides comprehensive coverage on ASP.NET 4 with a unique approach featuring examples in both C# and VB, as is the incomparable coverage of core ASP.NET. 9780470502259 Professional C# 4 and .NET 4: After a quick refresher on C# basics, the author dream team moves on to provide you with details of language and framework features including LINQ, LINQ to SQL, LINQ to XML, WCF, WPF, Workflow, and Generics. 9780470548653 Professional Visual Studio 2010: This book gets you quickly up to speed on what you can expect from Visual Studio 2010. Packed with helpful examples, this comprehensive guide explains examines the features of Visual Studio 2010, which allows you to create and manage programming projects for the Windows platform. 9780470499832 Visual Basic 2010 Programmer's Reference: This reference guide provides you with a broad, solid understanding of essential Visual Basic 2010 topics and clearly explains how to use this powerful programming language to perform a variety of tasks 9780470477229 WPF Programmer's Reference: Windows Presentation Foundation with C# 2010 and .NET 4: Written by a leading expert on Microsoft graphics programming, this richly illustrated book provides an introduction to WPF development and explains fundamental WPF concepts. 9780470257029 Professional SQL Server 2008 Programming: This expanded best-seller includes new coverage of SQL Server 2008's new datatypes, new indexing structures, manageability features, and advanced time-zone handling.
Cloud Computing with the Windows Azure Platform
Author: Roger Jennings
Publisher: John Wiley & Sons
ISBN: 1118058755
Category : Computers
Languages : en
Pages : 363
Book Description
Leverage the power of the Azure Services Platform for cloud computing With the Azure Services Platform, processing and storing data moves from individual corporate servers and Web sites to larger, more reliable, and more secure data centers. Roger Jennings, author of more than 30 books on Microsoft technologies, shows you how to leverage the power of Azure and its related services for cloud computing. The book begins with a look at the differences between cloud computing and application hosting and examines the various issues that .NET developers and IT managers face in moving from on-premise to cloud-based applications, including security, privacy, regulatory compliance, backup and recovery, asset cataloging, and other common technical issues. The author then drills down, showing basic programming for individual Azure components, including storage, SQL Data Services, and .NET Services. He then moves on to cover more advanced programming challenges. Explains the benefits of using the Azure Services Platform for cloud computing Shows how to program with Windows Azure components, including Azure Table and Blob storage, .NET Services and SQL Azure Addresses advanced programming challenges of creating useful projects that combine cloud storage with Web applications or services Companion Web site features complete, finished applications that can be uploaded to jump start a Windows Azure project Roger Jennings clears away the clouds and gets you started using the Azure Services Platform.
Publisher: John Wiley & Sons
ISBN: 1118058755
Category : Computers
Languages : en
Pages : 363
Book Description
Leverage the power of the Azure Services Platform for cloud computing With the Azure Services Platform, processing and storing data moves from individual corporate servers and Web sites to larger, more reliable, and more secure data centers. Roger Jennings, author of more than 30 books on Microsoft technologies, shows you how to leverage the power of Azure and its related services for cloud computing. The book begins with a look at the differences between cloud computing and application hosting and examines the various issues that .NET developers and IT managers face in moving from on-premise to cloud-based applications, including security, privacy, regulatory compliance, backup and recovery, asset cataloging, and other common technical issues. The author then drills down, showing basic programming for individual Azure components, including storage, SQL Data Services, and .NET Services. He then moves on to cover more advanced programming challenges. Explains the benefits of using the Azure Services Platform for cloud computing Shows how to program with Windows Azure components, including Azure Table and Blob storage, .NET Services and SQL Azure Addresses advanced programming challenges of creating useful projects that combine cloud storage with Web applications or services Companion Web site features complete, finished applications that can be uploaded to jump start a Windows Azure project Roger Jennings clears away the clouds and gets you started using the Azure Services Platform.
Professional ADO.NET 3.5 with LINQ and the Entity Framework
Author: Roger Jennings
Publisher: John Wiley & Sons
ISBN: 0470473886
Category : Computers
Languages : en
Pages : 676
Book Description
Language Integrated Query (LINQ), as well as the C# 3.0 and VB 9.0 language extensions to support it, is the most import single new feature of Visual Studio 2008 and the .NET Framework 3.x. LINQ is Microsoft's first attempt to define a universal query language for a diverse set of in-memory collections of generic objects, entities persisted in relational database tables, and element and attributes of XML documents or fragments, as well as a wide variety of other data types, such as RSS and Atom syndication feeds. Microsoft invested millions of dollars in Anders Hejlsberg and his C# design and development groups to add new features to C# 3.0—such as lambda expressions, anonymous types, and extension methods—specifically to support LINQ Standard Query Operators (SQOs) and query expressions as a part of the language itself. Corresponding additions to VB 9.0 followed the C# team's lead, but VB's implementation of LINQ to XML offers a remarkable new addition to the language: XML literals. VB's LINQ to XML implementation includes XML literals, which treat well-formed XML documents or fragments as part of the VB language, rather than requiring translation of element and attribute names and values from strings to XML DOM nodes and values. This book concentrates on hands-on development of practical Windows and Web applications that demonstrate C# and VB programming techniques to bring you up to speed on LINQ technologies. The first half of the book covers LINQ Standard Query Operators (SQOs) and the concrete implementations of LINQ for querying collections that implement generic IEnumerable, IQueryable, or both interfaces. The second half is devoted to the ADO.NET Entity Framework, Entity Data Model, Entity SQL (eSQL) and LINQ to Entities. Most code examples emulate real-world data sources, such as the Northwind sample database running on SQL Server 2005 or 2008 Express Edition, and collections derived from its tables. Code examples are C# and VB Windows form or Web site/application projects not, except in the first chapter, simple command-line projects. You can't gain a feel for the behavior or performance of LINQ queries with "Hello World" projects that process arrays of a few integers or a few first and last names. This book is intended for experienced .NET developers using C# or VB who want to gain the maximum advantage from the query-processing capabilities of LINQ implementations in Visual Studio 2008—LINQ to Objects, LINQ to SQL, LINQ to DataSets, and LINQ to XML—as well as the object/relational mapping (O/RM) features of VS 2008 SP1's Entity Framework/Entity Data Model and LINQ to Entities and the increasing number of open-source LINQ implementations by third-party developers. Basic familiarity with generics and other language features introduced by .NET 2.0, the Visual Studio integrated development environment (IDE), and relational database management systems (RDBMSs), especially Microsoft SQL Server 200x, is assumed. Experience with SQL Server's Transact-SQL (T-SQL) query language and stored procedures will be helpful but is not required. Proficiency with VS 2005, .NET 2.0, C# 2.0, or VB 8.0 will aid your initial understanding of the book's C# 3.0 or VB 9.0 code samples but isn't a prerequisite. Microsoft's .NET code samples are primarily written in C#. All code samples in this book's chapters and sample projects have C# and VB versions unless they're written in T-SQL or JavaScript. Professional ADO.NET 3.5: LINQ and the Entity Framework concentrates on programming the System.Linq and System.Linq.Expressions namespaces for LINQ to Objects, System.Data.Linq for LINQ to SQL, System.Data.Linq for LINQ to DataSet, System.Xml.Linq for LINQ to XML, and System.Data.Entity and System.Web.Entity for EF's Entity SQL. "Taking a New Approach to Data Access in ADO.NET 3.5," uses simple C# and VB code examples to demonstrate LINQ to Objects queries against in-memory objects and databinding with LINQ-populated generic List collections, object/relational mapping (O/RM) with LINQ to SQL, joining DataTables with LINQ to DataSets, creating EntitySets with LINQ to Entities, querying and manipulating XML InfoSets with LINQ to XML, and performing queries against strongly typed XML documents with LINQ to XSD. "Understanding LINQ Architecture and Implementation," begins with the namespaces and C# and VB language extensions to support LINQ, LINQ Standard Query Operators (SQOs), expression trees and compiled queries, and a preview of domain-specific implementations. C# and VB sample projects demonstrate object, array, and collection initializers, extension methods, anonymous types, predicates, lambda expressions, and simple query expressions. "Executing LINQ Query Expressions with LINQ to Objects," classifies the 50 SQOs into operator groups: Restriction, Projection, Partitioning, Join, Concatenation, Ordering, Grouping, Set, Conversion, and Equality, and then lists their keywords in C# and VB. VS 2008 SP1 includes C# and VB versions of the LINQ Project Sample Query Explorer, but the two Explorers don't use real-world collections as data sources. This describes a LINQ in-memory object generator (LIMOG) utility program that writes C# 3.0 or VB 9.0 class declarations for representative business objects that are more complex than those used by the LINQ Project Sample Query Explorers. Sample C# and VB queries with these business objects as data sources are more expressive than those using a arrays of a few integers or last names. "Working with Advanced Query Operators and Expressions," introduces LINQ queries against object graphs with entities that have related (associated) entities. This begins with examples of aggregate operators, explains use of the Let temporary local variable operator, shows you how to use Group By with aggregate queries, conduct the equivalent of left outer joins, and take advantage of the Contains() SQO to emulate SQL's IN() function. You learn how to compile queries for improved performance, and create mock object classes for testing without the overhead of queries against relational persistence stores. "Using LINQ to SQL and the LinqDataSource," introduces LINQ to SQL as Microsoft's first O/RM tool to reach released products status and shows you how to autogenerate class files for entity types with the graphical O/R Designer or command-line SqlMetal.exe. This also explains how to edit *.dbml mapping files in the Designer or XML Editor, instantiate DataContext objects, and use LINQ to SQL as a Data Access Layer (DAL) with T-SQL queries or stored procedures. Closes with a tutorial for using the ASP.NET LinqDataSource control with Web sites or applications. "Querying DataTables with LINQ to DataSets," begins with a comparison of DataSet and DataContext objects and features, followed by a description of the DataSetExtensions. Next comes querying untyped and typed DataSets, creating lookup lists, and generating LinqDataViews for databinding with the AsDataView() method. This ends with a tutorial that shows you how to copy LINQ query results to DataTables. "Manipulating Documents with LINQ to XML," describes one of LINQ most powerful capabilities: managing XML Infosets. This demonstrates that LINQ to XML has query and navigation capabilities that equal or surpasses XQuery 1.0 and XPath 2.0. It also shows LINQ to XML document transformation can replace XQuery and XSLT 1.0+ in the majority of common use cases. You learn how to use VB 9.0's XML literals to constructs XML documents, use GroupJoin() to produce hierarchical documents, and work with XML namespaces in C# and VB. "Exploring Third-Party and Emerging LINQ Implementations," describes Microsoft's Parallel LINQ (also called PLINQ) for taking advantage of multiple CPU cores in LINQ to Objects queries, LINQ to REST for translating LINQ queries into Representational State Transfer URLs that define requests to a Web service with the HTML GET, POST, PUT, and DELETE methods, and Bart De Smet's LINQ to Active Directory and LINQ to SharePoint third-party implementations. "Raising the Level of Data Abstraction with the Entity Data Model," starts with a guided tour of the development of EDM and EF as an O/RM tool and heir apparent to ADO.NET DataSets, provides a brief description of the entity-relationship (E-R) data model and diagrams, and then delivers a detailed analysis of EF architecture. Next comes an introduction to the Entity SQL (eSQL) language, eSQL queries, client views, and Object Services, including the ObjectContext, MetadataWorkspace, and ObjectStateManager. Later chapters describe eSQL and these objects in greater detail. Two C# and VB sample projects expand on the eSQL query and Object Services sample code. "Defining Conceptual, Mapping, and Storage Schema Layers," provides detailed insight into the structure of the *.edmx file that generates the *.ssdl (storage schema data language), *.msl (mapping schema language), and *.csdl files at runtime. You learn how to edit the *.edmx file manually to accommodate modifications that the graphic EDM Designer can’t handle. You learn how to implement the Table-per-Hierarchy (TPH) inheritance model and traverse the MetadataWorkspace to obtain property values. Four C# and VB sample projects demonstrate mapping, substituting stored procedures for queries, and TPH inheritance. "Introducing Entity SQL," examines EF's new eSQL dialect that adds keywords to address the differences between querying entities and relational tables. You learn to use Zlatko Michaelov's eBlast utility to write and analyze eSQL queries, then dig into differences between eSQL and T-SQL SELECT queries. (eSQL v1 doesn't support INSERT, UPDATE, DELETE and other SQL Data Manipulation Language constructs). You execute eSQL queries against the EntityClient, measure the performance hit of eSQL compared to T-SQL, execute parameterize eSQL queries, and use SQL Server Compact 3.5 as a data store. C# and VB Sample projects demonstrate the programming techniques. "Taking Advantage of Object Services and LINQ to Entities," concentrates manipulating the Object Services API's ObjectContext. It continues with demonstrating use of partial classes for the ModelNameEntities and EntityName objects, executing eSQL ObjectQuerys, and deferred or eager loading of associated entities, including ordering and filtering the associated entities. Also covers instructions for composing QueryBuilder methods for ObjectQuerys, LINQ to Entities queries, and parameterizing ObjectQuerys. "Updating Entities and Complex Types," shows you how to perform create, update, and delete (CUD) operations on EntitySets and manage optimistic concurrency conflicts. It starts with a detailed description of the ObjectContext.ObjectStateManager and its child objects, which perform object identification and change tracking operations with EntityKeys. This also covers validation of create and update operations, optimizing the DataContext lifetime, performing updates with stored procedures, and working with complex types. "Binding Data Controls to the ObjectContext", describes creating design-time data sources from ObjectContext.EntitySet instances, drag-and-drop addition of BindingNavigator, BindingSource, bound TextBox, and DataGridView controls to Windows forms. You also learn how to update EntityReference and EntitySet values with ComboBox columns in DataGridView controls. (You can’t update EntitySet values directly; you must delete and add a new member having the required value). This concludes with a demonstration of the use of the ASP.NET EntityDataSource control bound to GridView and DropDownList controls. "Using the Entity Framework As a Data Source," concentrates on using EF as a data source for the ADO.NET Data Services Framework (the former codename "Project Astoria" remains in common use), which is the preferred method for deploying EF v1 as a Web service provider. (EF v2 is expected to be able to support n-tier data access with Windows Communication Foundation [WCF] directly). A Windows form example uses Astoria's .NET 3.5 Client Library to display and update entity instances with the Atom Publication (AtomPub or APP) wire format. The Web form project uses the AJAX Client Library and JavaScript Object Notation (JSON) as the wire format.
Publisher: John Wiley & Sons
ISBN: 0470473886
Category : Computers
Languages : en
Pages : 676
Book Description
Language Integrated Query (LINQ), as well as the C# 3.0 and VB 9.0 language extensions to support it, is the most import single new feature of Visual Studio 2008 and the .NET Framework 3.x. LINQ is Microsoft's first attempt to define a universal query language for a diverse set of in-memory collections of generic objects, entities persisted in relational database tables, and element and attributes of XML documents or fragments, as well as a wide variety of other data types, such as RSS and Atom syndication feeds. Microsoft invested millions of dollars in Anders Hejlsberg and his C# design and development groups to add new features to C# 3.0—such as lambda expressions, anonymous types, and extension methods—specifically to support LINQ Standard Query Operators (SQOs) and query expressions as a part of the language itself. Corresponding additions to VB 9.0 followed the C# team's lead, but VB's implementation of LINQ to XML offers a remarkable new addition to the language: XML literals. VB's LINQ to XML implementation includes XML literals, which treat well-formed XML documents or fragments as part of the VB language, rather than requiring translation of element and attribute names and values from strings to XML DOM nodes and values. This book concentrates on hands-on development of practical Windows and Web applications that demonstrate C# and VB programming techniques to bring you up to speed on LINQ technologies. The first half of the book covers LINQ Standard Query Operators (SQOs) and the concrete implementations of LINQ for querying collections that implement generic IEnumerable, IQueryable, or both interfaces. The second half is devoted to the ADO.NET Entity Framework, Entity Data Model, Entity SQL (eSQL) and LINQ to Entities. Most code examples emulate real-world data sources, such as the Northwind sample database running on SQL Server 2005 or 2008 Express Edition, and collections derived from its tables. Code examples are C# and VB Windows form or Web site/application projects not, except in the first chapter, simple command-line projects. You can't gain a feel for the behavior or performance of LINQ queries with "Hello World" projects that process arrays of a few integers or a few first and last names. This book is intended for experienced .NET developers using C# or VB who want to gain the maximum advantage from the query-processing capabilities of LINQ implementations in Visual Studio 2008—LINQ to Objects, LINQ to SQL, LINQ to DataSets, and LINQ to XML—as well as the object/relational mapping (O/RM) features of VS 2008 SP1's Entity Framework/Entity Data Model and LINQ to Entities and the increasing number of open-source LINQ implementations by third-party developers. Basic familiarity with generics and other language features introduced by .NET 2.0, the Visual Studio integrated development environment (IDE), and relational database management systems (RDBMSs), especially Microsoft SQL Server 200x, is assumed. Experience with SQL Server's Transact-SQL (T-SQL) query language and stored procedures will be helpful but is not required. Proficiency with VS 2005, .NET 2.0, C# 2.0, or VB 8.0 will aid your initial understanding of the book's C# 3.0 or VB 9.0 code samples but isn't a prerequisite. Microsoft's .NET code samples are primarily written in C#. All code samples in this book's chapters and sample projects have C# and VB versions unless they're written in T-SQL or JavaScript. Professional ADO.NET 3.5: LINQ and the Entity Framework concentrates on programming the System.Linq and System.Linq.Expressions namespaces for LINQ to Objects, System.Data.Linq for LINQ to SQL, System.Data.Linq for LINQ to DataSet, System.Xml.Linq for LINQ to XML, and System.Data.Entity and System.Web.Entity for EF's Entity SQL. "Taking a New Approach to Data Access in ADO.NET 3.5," uses simple C# and VB code examples to demonstrate LINQ to Objects queries against in-memory objects and databinding with LINQ-populated generic List collections, object/relational mapping (O/RM) with LINQ to SQL, joining DataTables with LINQ to DataSets, creating EntitySets with LINQ to Entities, querying and manipulating XML InfoSets with LINQ to XML, and performing queries against strongly typed XML documents with LINQ to XSD. "Understanding LINQ Architecture and Implementation," begins with the namespaces and C# and VB language extensions to support LINQ, LINQ Standard Query Operators (SQOs), expression trees and compiled queries, and a preview of domain-specific implementations. C# and VB sample projects demonstrate object, array, and collection initializers, extension methods, anonymous types, predicates, lambda expressions, and simple query expressions. "Executing LINQ Query Expressions with LINQ to Objects," classifies the 50 SQOs into operator groups: Restriction, Projection, Partitioning, Join, Concatenation, Ordering, Grouping, Set, Conversion, and Equality, and then lists their keywords in C# and VB. VS 2008 SP1 includes C# and VB versions of the LINQ Project Sample Query Explorer, but the two Explorers don't use real-world collections as data sources. This describes a LINQ in-memory object generator (LIMOG) utility program that writes C# 3.0 or VB 9.0 class declarations for representative business objects that are more complex than those used by the LINQ Project Sample Query Explorers. Sample C# and VB queries with these business objects as data sources are more expressive than those using a arrays of a few integers or last names. "Working with Advanced Query Operators and Expressions," introduces LINQ queries against object graphs with entities that have related (associated) entities. This begins with examples of aggregate operators, explains use of the Let temporary local variable operator, shows you how to use Group By with aggregate queries, conduct the equivalent of left outer joins, and take advantage of the Contains() SQO to emulate SQL's IN() function. You learn how to compile queries for improved performance, and create mock object classes for testing without the overhead of queries against relational persistence stores. "Using LINQ to SQL and the LinqDataSource," introduces LINQ to SQL as Microsoft's first O/RM tool to reach released products status and shows you how to autogenerate class files for entity types with the graphical O/R Designer or command-line SqlMetal.exe. This also explains how to edit *.dbml mapping files in the Designer or XML Editor, instantiate DataContext objects, and use LINQ to SQL as a Data Access Layer (DAL) with T-SQL queries or stored procedures. Closes with a tutorial for using the ASP.NET LinqDataSource control with Web sites or applications. "Querying DataTables with LINQ to DataSets," begins with a comparison of DataSet and DataContext objects and features, followed by a description of the DataSetExtensions. Next comes querying untyped and typed DataSets, creating lookup lists, and generating LinqDataViews for databinding with the AsDataView() method. This ends with a tutorial that shows you how to copy LINQ query results to DataTables. "Manipulating Documents with LINQ to XML," describes one of LINQ most powerful capabilities: managing XML Infosets. This demonstrates that LINQ to XML has query and navigation capabilities that equal or surpasses XQuery 1.0 and XPath 2.0. It also shows LINQ to XML document transformation can replace XQuery and XSLT 1.0+ in the majority of common use cases. You learn how to use VB 9.0's XML literals to constructs XML documents, use GroupJoin() to produce hierarchical documents, and work with XML namespaces in C# and VB. "Exploring Third-Party and Emerging LINQ Implementations," describes Microsoft's Parallel LINQ (also called PLINQ) for taking advantage of multiple CPU cores in LINQ to Objects queries, LINQ to REST for translating LINQ queries into Representational State Transfer URLs that define requests to a Web service with the HTML GET, POST, PUT, and DELETE methods, and Bart De Smet's LINQ to Active Directory and LINQ to SharePoint third-party implementations. "Raising the Level of Data Abstraction with the Entity Data Model," starts with a guided tour of the development of EDM and EF as an O/RM tool and heir apparent to ADO.NET DataSets, provides a brief description of the entity-relationship (E-R) data model and diagrams, and then delivers a detailed analysis of EF architecture. Next comes an introduction to the Entity SQL (eSQL) language, eSQL queries, client views, and Object Services, including the ObjectContext, MetadataWorkspace, and ObjectStateManager. Later chapters describe eSQL and these objects in greater detail. Two C# and VB sample projects expand on the eSQL query and Object Services sample code. "Defining Conceptual, Mapping, and Storage Schema Layers," provides detailed insight into the structure of the *.edmx file that generates the *.ssdl (storage schema data language), *.msl (mapping schema language), and *.csdl files at runtime. You learn how to edit the *.edmx file manually to accommodate modifications that the graphic EDM Designer can’t handle. You learn how to implement the Table-per-Hierarchy (TPH) inheritance model and traverse the MetadataWorkspace to obtain property values. Four C# and VB sample projects demonstrate mapping, substituting stored procedures for queries, and TPH inheritance. "Introducing Entity SQL," examines EF's new eSQL dialect that adds keywords to address the differences between querying entities and relational tables. You learn to use Zlatko Michaelov's eBlast utility to write and analyze eSQL queries, then dig into differences between eSQL and T-SQL SELECT queries. (eSQL v1 doesn't support INSERT, UPDATE, DELETE and other SQL Data Manipulation Language constructs). You execute eSQL queries against the EntityClient, measure the performance hit of eSQL compared to T-SQL, execute parameterize eSQL queries, and use SQL Server Compact 3.5 as a data store. C# and VB Sample projects demonstrate the programming techniques. "Taking Advantage of Object Services and LINQ to Entities," concentrates manipulating the Object Services API's ObjectContext. It continues with demonstrating use of partial classes for the ModelNameEntities and EntityName objects, executing eSQL ObjectQuerys, and deferred or eager loading of associated entities, including ordering and filtering the associated entities. Also covers instructions for composing QueryBuilder methods for ObjectQuerys, LINQ to Entities queries, and parameterizing ObjectQuerys. "Updating Entities and Complex Types," shows you how to perform create, update, and delete (CUD) operations on EntitySets and manage optimistic concurrency conflicts. It starts with a detailed description of the ObjectContext.ObjectStateManager and its child objects, which perform object identification and change tracking operations with EntityKeys. This also covers validation of create and update operations, optimizing the DataContext lifetime, performing updates with stored procedures, and working with complex types. "Binding Data Controls to the ObjectContext", describes creating design-time data sources from ObjectContext.EntitySet instances, drag-and-drop addition of BindingNavigator, BindingSource, bound TextBox, and DataGridView controls to Windows forms. You also learn how to update EntityReference and EntitySet values with ComboBox columns in DataGridView controls. (You can’t update EntitySet values directly; you must delete and add a new member having the required value). This concludes with a demonstration of the use of the ASP.NET EntityDataSource control bound to GridView and DropDownList controls. "Using the Entity Framework As a Data Source," concentrates on using EF as a data source for the ADO.NET Data Services Framework (the former codename "Project Astoria" remains in common use), which is the preferred method for deploying EF v1 as a Web service provider. (EF v2 is expected to be able to support n-tier data access with Windows Communication Foundation [WCF] directly). A Windows form example uses Astoria's .NET 3.5 Client Library to display and update entity instances with the Atom Publication (AtomPub or APP) wire format. The Web form project uses the AJAX Client Library and JavaScript Object Notation (JSON) as the wire format.
.NET 4 Wrox PDF Bundle
Author: Bill Evjen
Publisher: John Wiley & Sons
ISBN: 0470937831
Category : Computers
Languages : en
Pages : 8390
Book Description
The books included in this set are: 9780470502204 Professional ASP.NET 4: in C# and VB: Written by three highly recognized and regarded ASP.NET experts, this book provides comprehensive coverage on ASP.NET 4 with a unique approach featuring examples in both C# and VB, as is the incomparable coverage of core ASP.NET. After a fast-paced refresher on essentials such as server controls, the book delves into expert coverage of all the latest capabilities of ASP.NET 4. 9780470502259 Professional C# 4 and .NET 4: After a quick refresher on C# basics, the author dream team moves on to provide you with details of language and framework features including LINQ, LINQ to SQL, LINQ to XML, WCF, WPF, Workflow, and Generics. Coverage also spans ASP.NET programming with C#, working in Visual Studio 2010 with C#, and more. With this book, you'll quickly get up to date on all the newest capabilities of C# 4. 9780470548653 Professional Visual Studio 2010: This book gets you quickly up to speed on what you can expect from Visual Studio 2010. Packed with helpful examples, this comprehensive guide explains examines the features of Visual Studio 2010, which allows you to create and manage programming projects for the Windows platform. It walks you through every facet of the Integrated Development Environment (IDE), from common tasks and functions to its powerful tools 9780470499832 Visual Basic 2010 Programmer's Reference: This reference guide provides you with a broad, solid understanding of essential Visual Basic 2010 topics and clearly explains how to use this powerful programming language to perform a variety of tasks. As a tutorial, the book describes the Visual Basic language and covers essential Visual Basic topics. The material presents categorized information regarding specific operations and reveals useful tips, tricks, and tidbits to help you make the most of the new Visual Basic 2010. 9780470477229 WPF Programmer's Reference: Windows Presentation Foundation with C# 2010 and .NET 4: Written by a leading expert on Microsoft graphics programming, this richly illustrated book provides an introduction to WPF development and explains fundamental WPF concepts. It is packed with helpful examples and progresses through a range of topics that gradually increase in their complexity. 9780470257029 Professional SQL Server 2008 Programming: This expanded best-seller includes new coverage of SQL Server 2008's new datatypes, new indexing structures, manageability features, and advanced time-zone handling. As an added bonus, also includes Professional SQL Server 2005 Programmers for .NET 4 developers still working in a SQL Server 2005 setting.
Publisher: John Wiley & Sons
ISBN: 0470937831
Category : Computers
Languages : en
Pages : 8390
Book Description
The books included in this set are: 9780470502204 Professional ASP.NET 4: in C# and VB: Written by three highly recognized and regarded ASP.NET experts, this book provides comprehensive coverage on ASP.NET 4 with a unique approach featuring examples in both C# and VB, as is the incomparable coverage of core ASP.NET. After a fast-paced refresher on essentials such as server controls, the book delves into expert coverage of all the latest capabilities of ASP.NET 4. 9780470502259 Professional C# 4 and .NET 4: After a quick refresher on C# basics, the author dream team moves on to provide you with details of language and framework features including LINQ, LINQ to SQL, LINQ to XML, WCF, WPF, Workflow, and Generics. Coverage also spans ASP.NET programming with C#, working in Visual Studio 2010 with C#, and more. With this book, you'll quickly get up to date on all the newest capabilities of C# 4. 9780470548653 Professional Visual Studio 2010: This book gets you quickly up to speed on what you can expect from Visual Studio 2010. Packed with helpful examples, this comprehensive guide explains examines the features of Visual Studio 2010, which allows you to create and manage programming projects for the Windows platform. It walks you through every facet of the Integrated Development Environment (IDE), from common tasks and functions to its powerful tools 9780470499832 Visual Basic 2010 Programmer's Reference: This reference guide provides you with a broad, solid understanding of essential Visual Basic 2010 topics and clearly explains how to use this powerful programming language to perform a variety of tasks. As a tutorial, the book describes the Visual Basic language and covers essential Visual Basic topics. The material presents categorized information regarding specific operations and reveals useful tips, tricks, and tidbits to help you make the most of the new Visual Basic 2010. 9780470477229 WPF Programmer's Reference: Windows Presentation Foundation with C# 2010 and .NET 4: Written by a leading expert on Microsoft graphics programming, this richly illustrated book provides an introduction to WPF development and explains fundamental WPF concepts. It is packed with helpful examples and progresses through a range of topics that gradually increase in their complexity. 9780470257029 Professional SQL Server 2008 Programming: This expanded best-seller includes new coverage of SQL Server 2008's new datatypes, new indexing structures, manageability features, and advanced time-zone handling. As an added bonus, also includes Professional SQL Server 2005 Programmers for .NET 4 developers still working in a SQL Server 2005 setting.
expert one-on-one Visual Basic .NET Business Objects
Author: Rockford Lhotka
Publisher: Apress
ISBN: 9781430251422
Category : Computers
Languages : en
Pages : 720
Book Description
Popular conference speaker "Rocky" Lhotka shows how to use the framework to create a sample application and demonstrates how easy it is to write Windows, Web, and Web services interfaces for applications based on it.
Publisher: Apress
ISBN: 9781430251422
Category : Computers
Languages : en
Pages : 720
Book Description
Popular conference speaker "Rocky" Lhotka shows how to use the framework to create a sample application and demonstrates how easy it is to write Windows, Web, and Web services interfaces for applications based on it.
Mastering Visual Basic .NET Database Programming
Author: Evangelos Petroutsos
Publisher: John Wiley & Sons
ISBN: 0782152538
Category : Computers
Languages : en
Pages : 702
Book Description
Enter a New World of Database Programming Visual Basic .NET and ADO.NET facilitate the development of a new generation of database applications, including disconnected applications that run on the Web. Mastering Visual Basic .NET Database Programming is the resource you need to thrive in this new world. Assuming no prior experience with database programming, this book teaches you every aspect of the craft, from GUI design to server development to middle-tier implementation. If you're familiar with earlier versions of ADO, you'll master the many new features of ADO.NET all the more quickly. You'll also learn the importance of XML within the new .NET paradigm. Coverage includes: Getting familiar with the ADO.NET object model Using the data access wizards Taking advantage of new SQL Server 2000 features Carrying out XSL Transformations and XPath queries Generating XML using the T-SQL FOR XML statement Binding controls to ADO.NET result sets Arriving at a sound database design Tuning your SQL Server 2000 database Using the XML Designer in Visual Studio .NET Leveraging the data access tools available in the Visual Studio .NET IDE Working with .NET data providers Choosing between streaming data and caching data Working with the Data Form Wizard in Visual Studio .NET Using advanced ADO.NET techniques Building a threaded application Using .NET's advanced exception handling capabilities Using the .NET Deployment Project Template Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Publisher: John Wiley & Sons
ISBN: 0782152538
Category : Computers
Languages : en
Pages : 702
Book Description
Enter a New World of Database Programming Visual Basic .NET and ADO.NET facilitate the development of a new generation of database applications, including disconnected applications that run on the Web. Mastering Visual Basic .NET Database Programming is the resource you need to thrive in this new world. Assuming no prior experience with database programming, this book teaches you every aspect of the craft, from GUI design to server development to middle-tier implementation. If you're familiar with earlier versions of ADO, you'll master the many new features of ADO.NET all the more quickly. You'll also learn the importance of XML within the new .NET paradigm. Coverage includes: Getting familiar with the ADO.NET object model Using the data access wizards Taking advantage of new SQL Server 2000 features Carrying out XSL Transformations and XPath queries Generating XML using the T-SQL FOR XML statement Binding controls to ADO.NET result sets Arriving at a sound database design Tuning your SQL Server 2000 database Using the XML Designer in Visual Studio .NET Leveraging the data access tools available in the Visual Studio .NET IDE Working with .NET data providers Choosing between streaming data and caching data Working with the Data Form Wizard in Visual Studio .NET Using advanced ADO.NET techniques Building a threaded application Using .NET's advanced exception handling capabilities Using the .NET Deployment Project Template Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.