I want to develop a website in (ASP+C#) which deals with version control. In that application my scenario is as follow:

A user signing in to application and editing a post, the website may display to all users the previous and new version of the post?

I have searched and find that I must use the (TortoiseSVN). I found the solutions online for manually doing this. But when I searched how to do it with C#? only I found to use (SharpSVN). I have downloaded the (SharpSVN) and now I have Confused:

  1. From where I should start with (SharpSVN) ?
  2. The Post's Contents (which is editable, or using for versioning) are saved in a SQL-Server database. How to use those contents with (TortoiseSVN)?

Any directions and advise, links or experience?

Thanks...

没有正确的解决方案

其他提示

If you want your ASP.NET application to interact with a repository, SharpSVN is the preferred method.

CollabNet has a walkthrough for using SharpSVN

Content stored in SQL Server is not accessible with a version control client. You need to query the database directly, or use a framework which abstracts it & meshes with how your application is built.

Whatever you do, do not duplicate anything between SQL Server & the Subversion repository. It'll just become a massive headache.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top