File listing and downloading service hosted in the web
- List contents
- Download files
- Upload files
- Make new directory
asp.net core webapi
click to check the platform supported by .net core
-
Configure the content root path
Edit
ContentRoot
option in file appsettings.json -
Configure the listening url and port
Program.cs
var host = new WebHostBuilder() // ... .UseUrls("http://*:5000") //...
-
Start dotnet core
dotnet run
- There is only one
Controller
. - FE communicates with BE by ajax
jquery.fileDownload
is included to download files throughPOST
method
- Security
- More file icons
- Display the requests in console window