c# - What is best practice to load text in an MVC website? -
can suggest best practice load text(which has 2-5 paragraphs) in razor page, either getting text load word document(write c# class parse word document , through controller pass data view) or directly embedding text in razor page ?
thanks
if don't expect text change write in razor view.
if text might change, , don't want re-publish every time, can have controller read file or database , pass razor view.
Comments
Post a Comment