Working with NHibernate 3.0

Working with NHibernate 3.0 PDF Author: Benjamin Perkins
Publisher: John Wiley & Sons
ISBN: 1118104595
Category : Computers
Languages : en
Pages : 236

Get Book Here

Book Description
This book provides examples using the IQuery, ICriteria, QueryOver, and LINQ to NHibernate API’s within the context of an example Guitar Store inventory program. The reader is walked through the creation of a Microsoft SQL Server 2008 database, the creation of a Visual Studio 2010 solution consisting of 3 projects (a Window Presentation Foundation (WPF), a Console Application, and a Class Library). Each one utilizes the .NET 4.0 framework. Then the reader is walked through the steps required to configure and use the many features available contained within NHibernate 3.2. Further instructions and examples exist for the insertion of parent/child relationships, Session management, entity states (transient, persistent and detached), deletion, caching, and batching. The last chapter utilizes ASP.NET MVC 3 and jqGrid for the creation of an internet program for viewing the guitar inventory using NHibernate and the session per web request model. Table of Contents Chapter 1: Getting Started With Nhibernate 3 1 Chapter 2: Using Hql 53 Chapter 3: Using Icriteria 91 Chapter 4: Using Linq to Nhibernate 145 Chapter 5: Managing State and Saving Data 169 Chapter 6: Using Nhibernate with an Asp.Net Mvc 3 Application 203

NHibernate in Action

NHibernate in Action PDF Author: Gavin King
Publisher: Simon and Schuster
ISBN: 1638354766
Category : Computers
Languages : en
Pages : 676

Get Book Here

Book Description
In the classic style of Manning's "In Action" series, NHibernate in Action shows.NET developers how to use the NHibernate Object/Relational Mapping tool.This book is a translation from Java to .NET, as well as an expansion, ofManning's bestselling Hibernate in Action. All traces of Java have been carefullyreplaced by their .NET equivalents. The book shows how to implementcomplex business objects, and later teaches advanced techniques like cachingand session management. Readers will discover how to implement persistence ina .NET application, and how to configure NHibernate to specify the mappinginformation between business objects and database tables. Readers will also beintroduced to the internal architecture of NHibernate by progressively buildinga complete sample application using Agile methodologies. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

NHibernate 2

NHibernate 2 PDF Author: Aaron B. Cure
Publisher:
ISBN:
Category : Hibernate (Electronic resource)
Languages : en
Pages : 259

Get Book Here

Book Description


NHibernate in Action

NHibernate in Action PDF Author: Pierre Henri Kuate
Publisher: Manning Publications
ISBN:
Category : Computers
Languages : en
Pages : 404

Get Book Here

Book Description
This book is a translation from Java to .Net as well as an expansion of the bestselling "Hibernate in Action." All traces of Java have been carefully replaced by their .Net equivalents in order to guide readers through complex business operations.

NHibernate with ASP.NET Problem Design Solution

NHibernate with ASP.NET Problem Design Solution PDF Author: Scott Millett
Publisher: John Wiley & Sons
ISBN: 1118035364
Category : Computers
Languages : en
Pages : 167

Get Book Here

Book Description
This Wrox Blox demonstrates how to start using NHibernate in line business applications using ASP.NET and VB.NET. Using NHibernate will speed up your application development by removing the need to build your own Data Access Layer (DAL). In addition, you can focus solely on the business problem instead of the infrastructure concerns. Using a simple demo application as an example, this Wrox Blox shows how easy it is to get started with NHibernate and build your DAL in minutes instead of hours. Readers will also see how the POCO pattern enables you to keep your DAL as unobtrusive as possible as well as being interchangeable for future DAL implementations. You will also see how NHibernate has many enterprise patterns built into it, like the Unit of Work pattern and the Identity Map. Table of Contents What Is an Object Relational Mapper? 2 Why NHibernate? 2 Part 1: Getting Started with NHibernate 2 A Quick Demo 2 Part 2: The NHibernate Framework 13 Architecture and Core Concepts 13 Mapping Your Entities: Impedance Mismatch 16 Persisting Business Objects 18 Part 3: Using NHibernate 19 Introducing the Project and Laying out the Solution Framework 19 Designing the Domain Model 23 NHibernate Repository Project: Base Class 39 Managing Products 48 Managing Customers 58 NHibernate Repository Project: Refactoring and Session Management 69 Managing Orders 74 The Database — A Question of Storage 94 Presentation with the Model–View–Presenter Pattern 96 User Interface: ASP.NET 103 Part 4: Other NHibernate Bits and Pieces 113 Other Querying Methods 113 Mapping Inheritance 115 What Kind of SQL Is Being Produced? 118 Wrap Up 119 Scott Millett 120

NHibernate 4.x Cookbook

NHibernate 4.x Cookbook PDF Author: Gunnar Liljas
Publisher: Packt Publishing Ltd
ISBN: 1784394114
Category : Computers
Languages : en
Pages : 449

Get Book Here

Book Description
Over 90 incredible and powerful recipes to help you efficiently use NHibernate in your application About This Book Master the full range of NHibernate features through detailed example recipes that you can quickly apply to your own applications Reduce hours of application development time and get a better application architecture and improved performance Create, maintain, and update your database structure automatically with the help of NHibernate Who This Book Is For This book is written for .NET developers who want to use NHibernate and those who want to deepen their knowledge of the platform. Examples are written in C# and XML. Some basic knowledge of SQL is assumed. If you build .NET applications that use relational databases, this book is for you. What You Will Learn Create a persistent object model to move data in and out of your database Build the database from your model automatically Configure NHibernate for use with WebForms, MVC, WPF, and WinForms applications Create database queries using a variety of methods Improve the performance of your applications using a variety of techniques Build an infrastructure for fast, easy, test-driven development of your data access layer Implement entity validation, auditing, full-text search, horizontal partitioning (sharding), and spatial queries using NHibernate Contrib projects In Detail NHibernate is a mature, flexible, scalable, and feature-complete open source project for data access. Although it sounds like an easy task to build and maintain database applications, it can be challenging to get beyond the basics and develop applications that meet your needs perfectly. NHibernate allows you to use plain SQL and stored procedures less and keep focus on your application logic instead. Learning the best practices for a NHibernate-based application will help you avoid problems and ensure that your project is a success. The book will take you from the absolute basics of NHibernate through to its most advanced features, showing you how to take full advantage of each concept to quickly create amazing database applications. You will learn several techniques for each of the four core NHibernate tasks—configuration, mapping, session and transaction management, and querying—and which techniques fit best with various types of applications. In short, you will be able to build an application using NHibernate by the end of the book. You will also learn how to best implement enterprise application architecture patterns using NHibernate, leading to clean, easy-to-understand code and increased productivity. In addition to new features, you will learn creative ways to extend the NHibernate core, as well as gaining techniques to work with the NHibernate search, shards, spatial, envers, and validation projects. Style and approach This book contains recipes with examples organized in functional areas, each containing step-by-step instructions on everything necessary to execute a particular task. The book is designed so you can read it from start to end or just open up any chapter and start following the recipes.

Learning NHibernate 4

Learning NHibernate 4 PDF Author: Suhas Chatekar
Publisher: Packt Publishing Ltd
ISBN: 1784392065
Category : Computers
Languages : en
Pages : 403

Get Book Here

Book Description
Connecting the object-oriented world of .NET to the relational world of databases has always been fiddly but with the onset of ORMs such as NHibernate, developers have finally got some relief in this area. You will begin with a bird's eye view of NHibernate, touching upon its core concepts. You will define domain model and map it with database schema using different techniques. You will then look into multiple ways of storing domain entities in a database and learn important concepts such as transitive persistence, transactions and unit of work. This will be followed by retrieving data from database. Next, you will optimize your code, explore concepts such as the onion architecture, and learn where NHibernate fits best in an application's architecture. After introducing a well-known repository pattern into our application, you will learn to deal with legacy databases. We will conclude with infrequently used features such as stateless sessions, the second level cache, concurrency, and so on, which might come handy.

NHibernate 2. X

NHibernate 2. X PDF Author: Aaron Cure
Publisher: Packt Pub Limited
ISBN: 9781847198907
Category : Computers
Languages : en
Pages : 276

Get Book Here

Book Description
This is a beginner's guide to NHibernate that starts from ground zero. Successive chapters build upon earlier concepts, while the sample code presents various ways to accomplish typical data access tasks. Within a few chapters you have a running application using NHibernate to retrieve and store data. We examine all of the topics required to get a functional data access layer implemented by writing the least amount of code possible, presenting options along the way to handle particular edge cases or situations as they arise. When you have completed the various exercises you will have running data-bound desktop and web applications, as well as an understanding of how to implement NHibernate in your own applications. This book is for new and seasoned developers of .NET web or desktop applications who want a better way to access database data. It is a basic introduction to NHibernate, with enough information to get a solid foundation in using NHibernate. Some advanced concepts are presented where appropriate to enhance functionality or in situations where they are commonly used.

Windows Azure Developer's e-Book Bundle

Windows Azure Developer's e-Book Bundle PDF Author: Bruce Johnson
Publisher: John Wiley & Sons
ISBN: 1118750721
Category : Computers
Languages : en
Pages : 988

Get Book Here

Book Description
A collection of five must-have Azure titles, from some of the biggest names in the field Available individually, but at a discounted rate for the collection, this bundle of five e-books covers key developer and IT topics of Windows Azure, including ASP.NET, mobile services, web sites, data storage, and the hybrid cloud. A host of Microsoft employees and MPVs come together to cover the biggest challenges that professionals face when working with Windows Azure. The e-books included are as follows: Windows Azure and ASP.NET MVC Migration Windows Azure Mobile Services Windows Azure Web Sites Windows Azure Data Storage Windows Azure Hybrid Cloud This invaluable bundle of e-books will get you up and running confidently and quickly with Windows Azure.

Windows Azure and ASP.NET MVC Migration

Windows Azure and ASP.NET MVC Migration PDF Author: Benjamin Perkins
Publisher: John Wiley & Sons
ISBN: 1118749871
Category : Computers
Languages : en
Pages : 275

Get Book Here

Book Description
Practical, real-world tools for migrating ASP.NET MVC to Windows Azure When IIS6 and Windows Server 2003 are no longer supported, you?ll need to migrate websites currently hosted on these technologies to newer technologies. This book comes to the rescue. It's packed with all the steps you need - all intertwined with real-world examples - to perform the migration of IIS6 and Windows Server 2003 websites to Windows Azure. Discusses different aspects of performance and scalability such as pipeline optimization, process model configuration, caching, minification, and bundling Shares an overview of the Windows Azure Cloud Service and the benefits it has over legacy configurations Looks at Windows Azure deployment features, provides steps for getting access to Windows Azure, and explains how to create the components necessary to host and successfully run a test website Windows Azure and ASP.NET MVC Migration is a must-have resource for making the transition to Windows Azure as smooth and successful as possible.