I am going through all the folders in the .Net application and if the file is .aspx I want to read the body contents and save it in the variable.
1.Getting all the folder names under .Net application.
2.Reading the files under the folder name
3.If the file name is .aspx ,reading the the contents inside the body tag and saving it in a variable
How to do this.