Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Redmine Cookbook

You're reading from   Redmine Cookbook Over 80 hands-on recipes to improve your skills in project management, team management, process improvement, and Redmine administration

Arrow left icon
Product type Paperback
Published in Feb 2016
Publisher Packt
ISBN-13 9781785286131
Length 322 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Aleksandar Pavic Aleksandar Pavic
Author Profile Icon Aleksandar Pavic
Aleksandar Pavic
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Installing and Running Redmine 2. Customizing Redmine FREE CHAPTER 3. Project Management with Redmine 4. Improving Team Performance 5. Regular and Planned Maintenance 6. Performance and System Tuning 7. Integrating Redmine with Other Software 8. Getting the Most Out of Scripts and Plugins 9. Troubleshooting 10. Making the Most of Redmine 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image