英文:
Can I edit a file on an asp.net core web app?
问题
在ASP.NET Core中编辑文件是否可能?我正在制作一个网站,如果您按按钮,它将从文件中添加或删除内容。我尝试过使用React,但我不喜欢它,而且它没有达到我的预期。请帮助我,我不想创建大约400个文件。
英文:
Is it possible to edit a file in asp.net core. I am making a website that if you press the button, it will add or delete something from a file. I'v tried using react but I don't like it and it didn't do what I expected it to do. Please help me I don't want to make like 400 files.
答案1
得分: 1
是的,你可以使用asp.net编辑文件。
值得理解的是,你不能更改存储在客户端的文件,但你仍然可以创建/编辑/删除存储在以下位置的文件:
1)在你的Web应用主机上
2)通过API存储在任何其他远程存储上(例如Azure存储或任何类似S3的存储)。
英文:
Yes, you can edit file using asp.net.
It's worth to understand that you cannot change the file stored on client side, but you still can create/edit/delete files stored
- on your web app host
- any other remote storage via API (for example Azure Storage or any S3-like storage)
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论