Can Blazor access file on server

DjGrego

Member
Joined
Nov 21, 2021
Messages
23
Programming Experience
Beginner
Can Blazor access files outside of the project? I would like to make a app that will get some info from a file on the server computer outside of the project folder.
 
Solution
Can Blazor access files outside of the project?
Yes, but you need to make sure nothing stands in the way, for example making sure that whatever user runs whatever software (IIS worker, kestrel) has permissions to access the location you want, etc

If it's a Blazor wasm project it'll need to call to a service on the server that will get it
I would like to make a app that will get some info from a file on the server computer outside of the project folder.
Put it in a database instead?
Blazor server can. Blazor web assembly won't in most cases.
 
Can Blazor access files outside of the project?
Yes, but you need to make sure nothing stands in the way, for example making sure that whatever user runs whatever software (IIS worker, kestrel) has permissions to access the location you want, etc

If it's a Blazor wasm project it'll need to call to a service on the server that will get it
I would like to make a app that will get some info from a file on the server computer outside of the project folder.
Put it in a database instead?
 
Solution
Back
Top Bottom