Windows Application, Windows NT Service
Archive of web files' versions
-
Functionality:
-
A user specifies addresses of web files which changes should be tracked and versions stored in the archive
-
Elements:
- Main window with a list of all stored versions of selected file and a tab control to select the file
- for each version: time of adding and a path to the version
- each tracked file has a tab in a tab control
- button 'Remove' - removes all selected versions (allow multiple selection)
- Configuration window with a list of tracked files which allows a user to add and remove files from the list
- Windows NT service (also called Windows XP service):
- It checks all traced files every 10 seconds. If current version differs from the last stored in the archive, it is added to the archive with current time
- Assembly in Global Assembly Cache:
- It manages the archive, all changes done in the archive, both from the service and from the application, are done using this assembly
- Public methods:
- to get list of traced files
- to add file to the list
- to remove file from the list - should also delete all versions of this file
- to get list of file's versions
- to add version of file - save the version to new file in archive's folder, filename can be changed, but extension must be original
- to remove version of file
- Installer
- It installs complete solution on user's system (all three elements)
Hints:
- HttpWebRequest.BeginGetResponse
- sn.exe
- [assembly:AssemblyKeyFileAttribute]
- System.Threading.Timer, System.Threading.Thread.Sleep()
- Approximate points:
- windows application: 2.5
- windows NT service: 2.5
- assembly in GAC and using it: 4.0
- installer: 1.0