For those who have interests in a Smart-HTTP Git server on IIS, the project provides an ASP.NET HttpHandler that let you run Smart HTTP Git on IIS. It is inspired by Grack, a Ruby Rack based application for Smart HTTP Git and git_http_backend.py, a python implementation of Smart HTTP Git.
The ASP.HET handler, GitHandler, is lightweight and can be used in any ASP.NET web applications and web sites.
- Create remote repositories
- Clone, pull and push through IIS
- Leverage ASP.NET Membership for Authentication and Authorization
- Expose Git repository through OData protocol
- Two Samples: Web Forms Application and ASP.NET WebPages (with Razor Syntax) Web Site
- Install Git for Windows 1.7.0 or up on server
- Create a folder on server as root folder of all remote repositories
- Under IIS, create a web application and assign a new application pool that runs as Local System
- Browse the web application and to configure
- Browse the web application, sign in using admin account (password:12) and to configure
Repo root folder/[username]/ -> user folder Repo root folder/[username]/[projectname].git/ -> user project repository
- Push authentication against ASP.NET membership.
- New ASP.NET web pages sample web site (using Razor Syntax).
- HTML 5 view of repository using the odata services.
- Enable trace (please turn it off in web.config for production use).
- Git Smart HTTP spike.
- WCF Data Services to expose Git repository information.
- Sample ASP.NET web forms application