2
Answers

Call Web Api Method automatically

I am working on a task in which i want to call the web API method via mvc application automatically in fixed time interval.
Kindly share how to do this???? 
Answers (2)
0
habib ullah

habib ullah

NA 116 2k 7y
sir please define the details of the above code
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 7y
You can use Path.GetExtension()
 
string myFilePath = @"C:\Manas.txt";
string ext = Path.GetExtension(myFilePath); //.txt