Book Image

Redmine Cookbook

By : Shamasis Bhattacharya
Book Image

Redmine Cookbook

By: Shamasis Bhattacharya

Overview of this book

In a variety of online project management tools, Redmine markets itself as offering flexibility. Choosing the right management tool can mean the difference between the success and failure of a project. Flexible project management tools bend themselves to fit your needs, whether that’s communication regarding a simple project, or collaboration, or more complex project methodology such as SCRUM, or an issue-code relationship, or the need of different methodology for your project. Whether you are project manager or system administrator, this book provides valuable recipes to get the best possible performance out of your team, organization, infrastructure, and Redmine itself. Through a series of carefully crafted recipes covering the nitty-gritty of Redmine, you’ll be guided through the installation of Redmine, as well as how to fine-tune and customize your Redmine installation. Finally, we walk you through integrating Redmine with other softwares and databases like Tortoise SVN and Visual Studio and troubleshooting Redmine.
Table of Contents (17 chapters)
Redmine Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Using the Redmine REST API with C#


This recipe creates a basic C# desktop application that enables a user to select a project from a drop-down list, and then create a new issue in Redmine, taking the data from the form's fields.

Getting ready

You need Microsoft Visual Studio 2013 Community Edition or newer.

How to do it…

To create C# client for Redmine, we either need a ready-made C# library, or access to the Redmine API directly and parse responses, which is much more complicated. To create a sample C# app, follow these steps:

  1. Start Visual Studio and create a new project, choose Windows Forms Application:

  2. Name it RedmineTest and click OK.

  3. Download from the Internet the https://github.com/zapadi/redmine-net-api library or use NuGet to install the Redmine package. To install via NuGet, follow these steps:

    • Right-click References in Solution Explorer and click Manage NuGet Packages.

    • In the Search box type Redmine and press Enter.

    • Choose the latest version and click Install:

  4. Drag the elements from Toolbox...