Index
A
- <asp-BoundField> control / Common data binding methods
- <asp-Button> control / Built-in controls
- <asp-FormView> control
- about / One last control—the <asp:FormView>
- DataKeyNames property / One last control—the <asp:FormView>
- creating / Have a go hero – creating an <asp:FormView>
- <asp-Image> control / Common data binding methods
- <asp-ListView> control
- about / The <asp:ListView> control
- features, <LayoutTemplate> block / The <asp:ListView> control
- features, <EmptyDataTemplate> / The <asp:ListView> control
- code / The <asp:ListView> control
- <asp-Login> control / Built-in controls
- <asp-LoginStatus> control / Built-in controls
- <asp-ObjectDataSource> control
- about / The <asp:ObjectDataSource> control
- requisites / The <asp:ObjectDataSource> control
- ID / The <asp:ObjectDataSource> control
- DataObjectTypeName (POCO) / The <asp:ObjectDataSource> control
- Type Name (Data Access Object) / The <asp:ObjectDataSource> control
- CRUD method (Select, Insert, Update, and Delete) / The <asp:ObjectDataSource> control
- data bound control, adding / Time for action – adding our first data bound control
- <asp-Repeater> control, templated control / A simple templated control, Pop quiz templated control<asp-Repeater> control<asp-Repeater> control, templated control– basic data binding
- <asp-RoleGroup> blocks / User roles
- <asp-XParameter> control / The <asp:ObjectDataSource> control
- Address.cs class / Time for action – getting ready
- Address class / Classes
- AjGenesis
- AjGenesis Code Generation project
- about / AjGenesis
- Anti-Cross Site Scripting Library methods / Common data binding methods
- appenders
- Application_EndRequest method / Sessions in ASP.NET
- ASP.NET
- sessions / Sessions in ASP.NET
- ASP.NET 3.5
- <asp-ListView> control / The <asp:ListView> control
- ASP.NET Authorization
- URL / Location security
- ASP.NET project
- adding, in data binding / Time for action – adding an ASP.NET project
B
- bag element / One-to-many relationships
- Blog.Net blogging components
- about / Blog.Net blogging components
- accessing on CodePlex, URL / Blog.Net blogging components
- built-in controls
- <asp-LoginStatus> control / Built-in controls
- <asp-Login> control / Built-in controls
- DestinationPageURL property / Built-in controls
- <asp-Button> control / Built-in controls
- login, adding to page / Time for action – adding a login to our page
- Burrow
- about / Unit of Work and Burrow
- long conversation, URL / Unit of Work and Burrow
C
- .Commit()
- cascade attribute / One-to-many relationships
- Cascading Style Sheets (CSS) / Converting CSS templates
- cfg.BuildSessionFactory() / Abstracting the configuration
- cfg.Properties.Add(..) construction / Looking back
- class element / Time for action – mapping basic types
- class tag, XML mapping
- code generation tools, NHibernate
- CodeSmith / CodeSmith
- nhib-gen / nhib-gen
- AjGenesis / AjGenesis
- Visual NHibernate / Visual NHibernate
- MyGeneration / MyGeneration
- NGen NHibernate Code Generator / NGen NHibernate Code Generator
- NHModeller / NHModeller
- Microsoft t4 templates / Microsoft T4 templates
- T4 hbm2net / T4 hbm2net
- CodeSmith
- column child element / Many-to-many relationships
- column tag, XML mapping
- name attribute / ID columns
- length attribute / ID columns
- sql-type attribute / ID columns
- not-null attribute / ID columns
- Command object / What is an NHibernate session?
- Commit() / Data Access Object methods
- ComputeHash() / Membership providers
- configuration, NHibernate
- about / The basics of configuration
- connection.driver_class property / The basics of configuration
- connection.provider property / The basics of configuration
- dialect property / The basics of configuration
- connection_string property / The basics of configuration
- converting / Time for action – moving our configuration
- Configuration object / Abstracting the configuration
- Configure() method / Abstracting the configuration
- connection.driver_class property / The basics of configuration
- connection.provider property / The basics of configuration
- constructors
- about / Creating objects
- Contact class / Creating your first session
- ContactDataControl.Instance.GetAll() method / Have a go hero – creating some paging and sorting methods
- ContactDataControl class / Time for action – creating our basic Data Access Object
- contactId variable / Time for action – adding some CRUD methods
- Contact object / One-to-many relationships
- control instance
- creating / Creating a control instance
- CRUD method / NHibernatePlain Old CLR Object ( POCO )POCOaboutData access, The <asp:ObjectDataSource> control
- CRUD methods
- CSS
- about / Creating a control instance
- CSS classes / What just happened?
- CSS templates
- converting / Converting CSS templates, Time for action – converting a CSS template
- URL / Converting CSS templates
- Clean Type downloading, URL / Time for action – converting a CSS template
D
- DAO / NHibernateusingSummary
- data access, NHibernate / NHibernatePlain Old CLR Object ( POCO )POCOaboutData access, NHibernatedata accessdata access, NHibernateLook how easy it is to use!
- Data Access Object
- using / Using Data Access Objects
- about / The basic Data Access Object
- local ISession variable, adding / The basic Data Access Object
- Instance property, creating / The basic Data Access Object
- Instance property, adding / The basic Data Access Object
- creating / Time for action – creating our basic Data Access Object
- ContactDataControl class / Time for action – creating our basic Data Access Object
- methods / Data Access Object methods
- Save() method, adding / Data Access Object methods
- Delete() method / Data Access Object methods
- Refresh() method / Data Access Object methods
- Session.Refresh() method / Data Access Object methods
- GetAll() method, creating / Creating a GetAll() method
- GetCountOfAll() method, creating / Creating a GetAll() method
- Data Access Object, methods
- Save() method / Data Access Object methods
- Delete() method / Data Access Object methods
- GetX() method / Data Access Object methods
- Refresh() method / Data Access Object methods
- Session.Refresh() method / Data Access Object methods
- CRUD methods, adding / Time for action – adding some CRUD methods
- database session
- versus NHibernate session / NHibernate session versus database session?
- database table, NHibernate / Database table
- creating, rules / Laying the foundation—table layouts
- ordering system database, creating / Time for action – creating an ordering system database
- data binding
- need for / Why should we use data binding?
- ASP.NET project, adding / Time for action – adding an ASP.NET project
- techniques / Basic data binding techniques
- items, requisites / Basic data binding techniques
- Data Source / Basic data binding techniques
- Data Items / Basic data binding techniques
- controls / Basic data binding techniques
- Data Item property / Basic data binding techniques
- methods / Common data binding methods
- directly bound control / Common data binding methods
- templated control / Common data binding methods
- Eval( / Common data binding methods
- Eval() method / Common data binding methods
- string.Format() method / Common data binding methods
- guidelines / Common data binding methods
- Anti-Cross Site Scripting Library / Common data binding methods
- Data Item property / Basic data binding techniques
- DataSourceID property / The <asp:ObjectDataSource> control
- DataSource property / Basic data binding techniques
- Delete() method / Data Access Object methods
- DestinationPageURL property / Built-in controls
- direct data binding
- about / Direct data binding
- issues / Direct data binding
- directly bound control
- examples / Common data binding methods
- example, <asp-DropDownList> / Common data binding methods
- example, <asp-CheckBoxList> / Common data binding methods
E
- <EmptyDataTemplate>, <asp-ListView> control / The <asp:ListView> control
- Eval( / Common data binding methods
- Eval() method / Common data binding methods
F
- FieldNames structure
- about / The FieldNames structure
- issues / The FieldNames structure
- capabilities, expanding / Time for action – expanding our capabilities
- fluent mapping
- advantages over XML mapping / Fluent mapping
- pop quiz / Pop quiz – fluent mapping
- Foreign Key fields
- properties / Properties for Foreign Keys
- properties, adding / Have a go hero – adding more properties (and classes!)
- Format() method / Creating a logger
G
- GA / Where do I get it?
- generator class / Time for action – mapping basic types
- GetAll() method / NHibernatePlain Old CLR Object ( POCO )POCOaboutData access
- creating / Creating a GetAll() method
- Projections.RowCount() / Creating a GetAll() method
- paging / Paging and Sorting GetAll() methods
- sorting / Paging and Sorting GetAll() methods
- GetById() method / Coding some GetX() methods
- example / Coding some GetX() methods
- GetById(int id) function / NHibernatePlain Old CLR Object ( POCO )POCOaboutData access
- GetCountOfAll() method
- creating / Creating a GetAll() method
- GetRolesForUser() / Role providers
- GetX() method / Data Access Object methods
- GetX() methods
- coding / Coding some GetX() methods
- GhostDoc
- and XML documentation / XML documentation
I
- ICriteria object / Time for action – creating a session and doing some CRUD
- about / The ICriteria object
- creating, sessions used / The ICriteria object
- criteria.List<T>() / The ICriteria object
- criteria.List(Of T)() / The ICriteria object
- filtering / Filtering ICriteria
- (Restrictions.Gt) / Filtering ICriteria
- (Restrictions.Ge) / Filtering ICriteria
- (Restrictions.In) / Filtering ICriteria
- inline code, replacing / Time for action – replacing our inline code
- id tag, XML mapping / Properties
- ImageUrl property / Common data binding methods
- Info() method / Creating a logger
- InfoFormat() method / Creating a logger
- inverse attribute / One-to-many relationships
- ISession variable
- adding / The basic Data Access Object
L
- <LayoutTemplate> block, <asp-ListView> control / The <asp:ListView> control
- <location> element / Location security
- lazy attribute / One-to-many relationships
- length attribute / ID columns
- location security
- Web.config file / Location security
- <location> element / Location security
- log
- need for / Why do we need to log?
- log4net
- need for / Why log4net?
- uses / Why log4net?
- URL / Why log4net?
- sample / Why log4net?
- objects / Getting started
- LogManager / Getting started
- loggers / Getting started
- appenders / Getting started
- logging, adding / Have a go hero – adding some logging, Time for action – adding some logging
- configuring / Configuration
- messages, about / NHibernate log messages
- logger
- creating / Creating a logger
- custom logging, adding / Time for action – adding some custom logging
- logging
- adding / Have a go hero – adding some logging
- Login.cs class / Plain Old CLR Object ( POCO )
- Login class / Plain Old CLR Object ( POCO )
- loginUrl property / Configuring our provider
M
- <membership> block / Configuring our provider
- Main() method / Getting started
- mapping
- about / What is mapping?
- types / Types of mapping, Mapping our types, Time for action – mapping basic types
- XML mapping / XML mapping
- fields, mapping to class / Time for action – mapping basic types
- maxRequestLength
- about / maxRequestLength
- membership providers
- ValidateUser() method / Membership providers
- System.Web.Security.MembershipProvider abstract class / Membership providers
- ComputeHash() / Membership providers
- password protection providers / Membership providers
- configuring / Configuring our provider
- <providers> block / Configuring our provider
- <membership> block / Configuring our provider
- creating / Time for action – create a membership provider
- Microsoft t4 templates
- about / Microsoft T4 templates
- Module1.vb class / Time for action – creating our basic Data Access Object
- MTM
- about / Relationships, Many-to-many relationships
- MTO
- about / Relationships
- MyGeneration
- about / MyGeneration
- templates / MyGeneration
- modifications / MyGeneration
- using / Time for action – using MyGeneration
- URL, for downloading / Time for action – using MyGeneration
- L99-NHibernate template, downloading / Time for action – using MyGeneration
- L99-NHibernate template, loading / Time for action – using MyGeneration
- generate button / Time for action – using MyGeneration
N
- .NET types
- SQL database types, conversion / Converting SQL database types to .NET types
- 1NF
- about / Normal Form
- 3NF
- about / Normal Form
- name attribute / Classes, ID columns
- name element / One-to-many relationships
- NGen NHibernate Code Generator
- about / NGen NHibernate Code Generator
- nhib-gen
- about / nhib-gen
- NHibernate
- about / What is NHibernate?
- uses / Why would I use it?, Can I get help using NHibernate?
- benefits / Why would I use it?
- location / Where do I get it?
- project, URL / Where do I get it?
- code, URL / Where do I get it?
- SourceForge, URL / Where do I get it?
- 2.1.2.GA-bin version, URL / Where do I get it?
- Forge / Can I get help using NHibernate?
- sample files / Have a go hero – looking at some sample files
- database table / Database table
- XML mapping file (hbm.xml) / The XML mapping file (hbm.xml)
- Plain Old CLR Object ( POCO ) / Plain Old CLR Object ( POCO ), NHibernatePlain Old CLR Object ( POCO )POCOaboutData access
- data access / NHibernatePlain Old CLR Object ( POCO )POCOaboutData access, NHibernatedata accessdata access, NHibernateLook how easy it is to use!
- using / NHibernatedata accessdata access, NHibernateLook how easy it is to use!, NHibernateusingSummary
- assigned ID's / NHibernate assigned IDs
- objects, creating / Creating objects
- class, creating / Time for action – creating our first class
- public properties / Public properties and private variables
- properties, adding / Time for action – adding a few properties
- private variables, creating / Time for action – adding a few properties
- mapping / What is mapping?
- .Commit(), need for / Why do wNHibernate sessioncreatinge call .Commit()?
- log4net / Why log4net?
- sessions / Looking back
- configuration, to SQL Server / Looking back
- configuration / The basics of configuration
- proxy factories / The basics of configuration
- Spring proxy factory / The basics of configuration
- configuration, abstracting / Abstracting the configuration
- configuration, converting / Time for action – moving our configuration
- XML configuration / XML configuration
- XML configuration file, using / Have a go hero – using an XML configuration file
- queries writing, ICriteria object used / The ICriteria object
- judging criteria / Judging requirements
- NHibernate, judging criteria
- editable / Judging requirements
- partial classes / Judging requirements
- N-tier / Judging requirements
- data access / Judging requirements
- MTM / Judging requirements
- Visual Studio plugin / Judging requirements
- build process add-in / Judging requirements
- open source / Judging requirements
- nhibernate-mapping element / Time for action – mapping basic types
- NHibernate Forge
- NHibernate session
- about / What is an NHibernate session?
- new project, creating / Time for action – getting ready
- references, adding / Time for action – getting ready
- project, testing / Time for action – getting ready
- troubleshooting / Time for action – getting ready
- creating / Creating your first session, Why do wNHibernate sessioncreatinge call .Commit()?
- versus database session / NHibernate session versus database session?
- NHModeller
- about / NHModeller
- Intellipad plugin, feature / NHModeller
- normal form
- about / Normal Form
- Third Normal Form (3NF) / Normal Form
- First Normal Form (1NF) / Normal Form
- not-null attribute / ID columns, One-to-many relationships
O
- ObjectDataSource control / Basic data binding techniques
- objects
- creating / Creating objects
- OrderHeader class / Time for action – creating our first class, Time for action – mapping basic types
- OrderHeader object / Time for action – creating a session and doing some CRUD
- OrderHeader property / Properties for Foreign Keys
- Ordering.OrderHeader class / The basics of configuration
- ordering system database
- OTM
- about / Relationships, One-to-many relationships
- OTO
- about / Relationships
P
- <providers> block / Configuring our provider
- paging functions / NHibernatedata accessdata access, NHibernateLook how easy it is to use!
- POCO
- POID / The XML mapping file (hbm.xml)
- private variables
- creating / Time for action – adding a few properties
- projections
- Projections.RowCount() / Creating a GetAll() method
- Projections.Distinct() / Creating a GetAll() method
- RowCount() projection / Creating a GetAll() method
- Projections class / Creating a GetAll() method
- property / Public properties and private variables
- property tag, XML mapping / Properties
- attributes / Pop quiz – class mapping
- proxyfactory.factory_class / The basics of configuration
- public properties
- about / Public properties and private variables
- and private variables / Public properties and private variables
R
- <roleManager> block / Provider configuration
- ReadOnly property / Public properties and private variables
- Refresh() method / Data Access Object methods
- relationships
- about / Relationships, Relationships
- One to Many (OTM) / Relationships, One-to-many relationships
- Many to One (MTO) / Relationships
- One to One (OTO) / Relationships
- Many to Many (MTM) / Relationships, Many-to-many relationships
- pop quiz / Pop quiz – relationships
- mapping / Time for action – mapping relationships
- retContact variable / Time for action – expanding our capabilities
- role providers
- about / Role providers
- GetRolesForUser() method / Role providers
- GetRolesForUser() / Role providers
- provider configuration / Provider configuration
- roles, using / Have a go hero – using some roles
- Role table / Have a go hero – using some roles
- Login_Role MTM table / Have a go hero – using some roles
- Rolling File appender
S
- Save() method / Data Access Object methods
- schema attribute / Classes
- session
- creating / Time for action – creating a session and doing some CRUD, sessioncreatingsessioncreatingPop quiz – creating and updating records
- project, testing / Time for action – creating a session and doing some CRUD
- records, creating / sessionrecords, creatingsessionrecords, updatingHave a go hero – creating a full order
- records, updating / sessionrecords, creatingsessionrecords, updatingHave a go hero – creating a full order
- in ASP.NET / Sessions in ASP.NET
- Session.CreateCriteria(Of T)() / The ICriteria object
- Session.CreateCriteria<T>() / The ICriteria object
- Session.Delete() / Data Access Object methods
- Session.Refresh() method / Data Access Object methods
- Session.SaveOrUpdate() / Data Access Object methods
- session factory
- about / What is a session factory?
- SessionFactory property / Sessions in ASP.NET
- Session object / What is an NHibernate session?
- SessionProvider class / Sessions in ASP.NET
- Software Development Lifecycle (SDLC) / Looking back
- SQL
- about / Taking a look at the SQL
- connection string name, using / Have a go hero – using the connection string name
- sql-type attribute / ID columns
- SQL database types
- converting, to .NET types / Converting SQL database types to .NET types
- stateContacts variable / Time for action – replacing our inline code
- string.Format() method / Creating a logger, Common data binding methods
- string variable / Time for action – replacing our inline code
- System.Web.Security.MembershipProvider abstract class / Membership providers
- System.Web.Security.RoleProvider abstract class / Role providers
- System.Web.Security.RoleProvider abstract classes / User roles
T
- T4 hbm2net
- about / T4 hbm2net
- table attribute / Classes, Many-to-many relationships
- table layouts
- about / Laying the foundation—table layouts
- creating / Table layouts
- primary key, attributes / Table layouts
- templated control
- type attribute / Properties
U
- UniqueResult<type>() / The ICriteria object
- Unit of Work
- about / Unit of Work and Burrow
- URL / Unit of Work and Burrow
- user roles
- about / User roles
- System.Web.Security.RoleProvider abstract classes / User roles
V
- ValidateUser() method / Time for action – create a membership provider
- Visual NHibernate
- about / Visual NHibernate
X
- XML configuration
- about / XML configuration
- XML documentation
- and GhostDoc / XML documentation
- XML mapping
- about / XML mapping
- advantages / XML mapping
- disadvantages / XML mapping
- document / Getting started
- class tag / Classes
- name attribute, class tag / Classes
- table attribute, class tag / Classes
- schema attribute / Classes
- property tag / Properties
- id tag / Properties
- ID columns / ID columns
- column tag, attributes / ID columns
- XML mapping file (hbm.xml), NHibernate / The XML mapping file (hbm.xml)
- XSS / Common data binding methods