How to create a bug tracking application

This How-to explains how to create the application that represents the Bug Tracker sample in the Sitefinity SDK.

The Bug Tracker sample

The Bug Tracker is a sample representing a Sitefinity application used for visualizing projects and bugs that are related to them. It also allows the user to log a new bug from the frontend. The sample uses a custom module that is created via the Module Builder. For the visualization of the projects and the bugs the application uses MVC and Razor web pages.

Prerequisites

The Bug Tracker sample has the following requirements:

  • ASP.NET MVC 3
  • .NET Framework 4
  • Visual Studio 2010

Goals

The goals of the sample are:

  • Create a Bug Tracking dynamic module using the Module Builder.
  • Create hierarchical content items to represent projects and their bugs.
  • Visualize the projects and the bugs via MVC and Razor web pages.
  • Create a form for logging of new bugs using MVC and Razor web pages.

Steps to perform

The How-to is divided in the following steps:

  1. Set up the BugTracker Sitefinity application.
    In this step you add the required assembly references, create the required folder structure for the MVC classes and views, make the required modification to the web.config file, and add the scripts and CSS files that are used with the Telerik MVC Extensions, to the project.
  2. Create a Bug Tracking custom module.
    In this step, you create a Bug Tracking custom module via the Module Builder. You also create and configure its Project and Bug content types.
  3. Visualize the projects and the bugs in the frontend.
    In this step you create the MVC controllers and views required to display the projects and their bugs in the frontend.
  4. Create a layout for the BugTracker views.
    In this step you create another MVC view, which is used as a layout for the project and bug views.
  5. Implement functionality for logging a new bug.
    In this step you create an additional view that represents a form. The form is used to provide data for the creation of a new bug. You also extend the MVC controller that is used for the bug, by adding code that creates a new bug item. You also create a model class to transfer the data between the view and the controller.

Next steps

+1-888-365-2779
sales@sitefinity.com

Related topics:

Feedback

How useful is this article?

Tell us more

Submit
Your message was successfully sent.

We appreciate your feedback.

Your message could not be sent.

OK