There is no upgrade guide available. It is try and error: deploy the app to 5.1 and see what happens ;-)
I bet there will be XML parsing errors, because 5.x became more strict on validating xml config files. But hopefully you used an IDE with xml validation when creating your app, because this will avoid those problems ;-.).
Best regards
Wolfgang