I have a partial view named Form.cshtml
in Shared
folder. There is not any action and controller for it. It is in Shared
folder and I just render it in a view named Index
in Home
controller.
All of codes I found needed a controller context but I do not have any controllers. So can I get the Html by the view physical address or any other way?