Can somebody suggest what is the best practice to load text(which has 2-5 paragraphs) in razor page, either by getting text load from word document(write ac# class to parse word document and through controller pass the data to view) or directly embedding the text in the Razor page ?
Thanks
If you don't expect the text to change then just write it in your Razor view.
If the text might change, and you don't want to re-publish every time, then you can have the controller read it from a file or database and pass it to the Razor view.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.