The final step is to create a web page that retrieves the text from these files and also provides frontend (or a web-based tool) for easy comparison. For our purpose, we use a JScript library called diffview . To call this dependency, we need to download diffview.js, difflib.js, and diffview.css which available here: https://github.com/cemerick/jsdifflib, and copy the files into our web server folder. Once done, in the similar way as accessing the files, we would again create a .aspx page to get the content of the selected files and display it for comparison.
The following is the code of the main page comparefiles.aspx:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="comparefiles.aspx.vb" ...