You use the System.IO namespace
https://video2.skills-academy.com/en-us/dotnet/api/system.io?view=net-8.0
to access the file share the app pool will need to be a domain account with permissions to the share.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Greetings, I have an application deployed in IIS with .NET Core 7 and SQL Server, I want to access a network path, write and read files within a folder in the path (\path\folder)
What steps should I follow to achieve this?
You use the System.IO namespace
https://video2.skills-academy.com/en-us/dotnet/api/system.io?view=net-8.0
to access the file share the app pool will need to be a domain account with permissions to the share.