Employee Info Starter Kit is a starter kit, which includes very simple user requirements, where we can create, read, update ad delete (crud) the employee info of a company.
The primary purpose of this starter kit is, to provide a solid guideline with respect to building enterprise level projects, by utilizing new asp.net 2.0 and sql server 2005 features, as well as latest best coding practices.
The starter kit includes several cases where we can perform multi-table joining and/or write operations. Combining high performance and security features this starter kit shows how we can solve in real world problems and challenges, from a wide range of view point.
The upcoming releases for this starter kit will contain latest best practices using ASP.NET 3.5 MVC, ASP.NET 3.5 Dynamic Data, LINQ, ADO.NET Entity Framework. Stay Tuned!
Url: http://code.msdn.microsoft.com/eisk
===============================================
Technology Features :-
===============================================
- .net 2.0 genetic type
- .net 2.0 nullable type
- asp.net 2.0 object data source
- asp.net 2.0 grid view
- asp.net 2.0 form view
- asp.net 2.0 skin
- asp.net 2.0 theme
- asp.net 2.0 master (nested)
- sql server 2005 xml type
- sql server 2005 paging support
===============================================
Validation :-
===============================================
Validation -- XHTML 1.1, CSS level 2.1, WCAG 1, ABS 508
Validation -- Microsoft Coding Guideline (Using VSTS 2008 Code Analyzer)
===============================================
Object Model :-
===============================================
User Interface ****** --------
- Design template (MS SIMPLE)
- Client side calendar control
- Grid view client side select all feature
- Grid view delete confirmation feature
- Form view data pre-fill feature
- Databound dropdown with 'All'/'None' selector field
- Print page
- Context parameter based listing/details page
- Client end validations
- Content upload in SQL Server
Utility Class ****** --------
- Error reporting
- Friendly error page
- Email functionality
- Html formatter
- Login utility
- File upload utility
- Role based (cache based) security
- Session expire base page
- Session manager
- Keys
- Enumeration
Cache Layer ****** --------
CRUD Methods :-
- Get All Entity
- Get By Primary Key
- Create New Entity
- Update Entity
Utility Methods :-
- Get cache key
- Get cache item
- Add cache item
- Invalidate cache
Command Wrapper ****** --------
Methods :-
- Scalar Value
- Custom Entity Single Record
- Custom Entity Tabular
- Custom Entity Tabular Collection
- Generic DataTable
- Generic DataSet
- Write Return Success
- Write Return PrimaryKey
Data Access Layer (Entity Level) ******* --------
- System.Data.SqlTypes for data property fields
- Create and Update Method with primitive type paramaters for Object Data Source Support
- Design time support for Object Data Source
- Works for only auto-generated primary key
- .Net 2.0 Generic Collection Support
- Isolation for Stored Procedure Name Constants
- XML Comments (useful for nDoc utility)
- Validation for method parameters
Database Utility Methods :-
* Generate collection for reader delegate
* Add parameter to sql command method
* Execute scalar command method
* Execute reader method
* Format xml for id array method
CRUD Methods :-
CREATE METHODS
* Static method with data filed's as method parameter
* Static method with business entity as method parameter
* Instance method, without any parameter
UPDATE METHODS
* Static method with data filed's as method parameter
* Static method with business entity as method parameter
* Instance method, without any parameter
GET BY PRIMARY KEY METHOD
* Method that gets a single record
GET BY FOREIGN KEY METHOD
* Method that returns a collection of records based on the foreign key
GET BY FOREIGN KEY - PAGED
* Method that returns paged result for the provided foreign key
* Count method being used when using paging method
GET ALL
* Gets all of the records for the corresponding entity
GET ALL PAGED (USING SQL SERVER 2005 PAGING SUPPORT)
* Method that returns paged result for the provided foreign key
* Count method being used when using paging method
DELETE BY ID
* Deletes a record using the primary key
BATCH DELETE (USING SQL SERVER 2005 XML TYPE)
* Deletes a set of records, based on the passed parameter of list of Id's as xml data