hunostor

Read file from webroot folder

Dec 23rd, 2018
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.09 KB | None | 0 0
  1. var content = System.IO.File.ReadAllText(Path.Combine(_env.WebRootPath, "fileName.content"));
Advertisement
Add Comment
Please, Sign In to add comment