ASP.NET Time Tracker Starter Kit Documentation
| Introduction The ASP.NET Time Tracker Starter Kit application is a line-of-business application allowing users to track the time worked on projects. Additionally, the application enables project managers to better track the status of projects they manage by viewing user’s time entries and detailed reports for those time entries. It also demonstrates a host of developer "best practices" to follow when building ASP.NET applications. Please review the code below to see how the application was architected and built. All code contained in the ASP.NET Time Tracker Starter Kit download package is free for use in your own applications. Some images are copyrighted, however; please see below .
Presentation Tier The presentation layer is responsible for the user interface and communicates directly with the business logic layer. Separating the presentation layer from the rest of the application enables the development of different user interfaces (i.e. Web Forms, Windows Forms, Mobile Devices) that all use the same business logic and database access code. Click on the links below to view the files.
Global.asax Global.asax | Log Time Entry Time Entry Bar Chart | Reports Reports Project Report Resource Report | Administration Project List Project Details User List User Details
User Controls AdminTabs.ascx Banner.ascx SignIn.ascx | Form Authentication DesktopDefault.aspx Register.aspx |  |
Business Logic Layer The business logic layer separates the code specific to the application, or the way a company does business, from the user interface and the database-specific code. Other line of business applications a company builds can use the business logic layer if needed, maximizing code re-use. The Time Tracker application uses lightweight classes to wrap information that is returned from the database access layer. The TimeEntry class is a good example of one of the classes used in the Time Tracker application.
Graph BarGraph.vb Chart.vb ChartItem.vb | Time Entry TimeEntry.vb TimeEntriesCollection.vb | Projects Project.vb ProjectsCollection.vb Category.vb CategoriesCollection.vb
Misc TabItem.vb | Reports ProjectReportCategory.vb ProjectReportEntryLog.vb ProjectReportProject.vb ResourceReportUser.vb | User CustomPrincipal.vb DirectoryHelper.vb Roles.vb RolesCollection.vb TTSecurity.vb TTUser.vb UsersCollection.vb
Data Access Layer ASP.NET Time Tracker Starter Kit application uses a Microsoft SQL Server 2000 database (MSDE 2000 is also supported).
Log AddTimeEntry DeleteTimeEntry GetTimeEntry ListTimeEntries UpdateTimeEntry | Reports ListProjectsByIDs ListCategoriesByProject ListTimeEntriesByCategory ListUserTimeSummary | Administration ListAllProjects ListProjects ListProjectsWithMembership ListCategories DeleteProject AddProject GetProject UpdateProject ListAllRoles ListUsers ListManagers DeleteUser GetUserByUserName AddUser UpdateUser
About the ASP.NET Time Tracker Starter Kit All code contained in the ASP.NET Time Tracker Starter Kit download package is free for use in your own applications. Images in the "images" subdirectory are an integral part of the portal or built-in portal modules, and are also free for your use. The ASP.NET Time Tracker Starter Kit Solution Starter Kit is intended only as a supplement to Microsoft Development Tools, the Microsoft .NET Framework SDK and/or on-line documentation. See these other materials for detailed information regarding Microsoft code samples. THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. The ASP.NET Time Tracker Starter Kit was developed by Microsoft Corporation in partnership with Vertigo Software, Inc. Copyright (c) 2001 Microsoft Corporation. Portions Copyright by PhotoDisc, Inc. IBuySpy is a service mark of Vertigo Software, Inc.