There are many flavours of version control out there. Github, Bitbucket, Perforce etc. Ranging from publicly free to enterprise level. This project called for an interface with Perforce, which makes this post somewhat niche but similar principals could be applied to other software. Perforce provide a great number of APIs to integrate with their products, the .NET API being the one I’m going to use. Their documentation & examples provided are also extensive though I was unable to find anything that would allow integration with a .NET web page.
My goal was to create an ASP.NET web app to query & pull content from Perforce(P4). This would be a core piece in a larger Self Service style app aimed at making agile delivery easier for our developers.
The starter for my endeavor is an example solution provided by Perforce to present the branch tree in a C# Windows form. This contained almost exactly what I needed for presenting the branch tree & contents in a web form but had some major blockers in the functionality differences between a windows form project & a web application. Read More →