7

I have a CSHTML file on the server. can I change part of the html code in the page without having ro rebuild my solution? Or everytime you edit the CSHTML you have to rebuild.

DOK
  • 32,337
  • 7
  • 60
  • 92
John
  • 487
  • 8
  • 16

2 Answers2

8

You don't need to rebuild if you only change a Razor view. The changes will be automatically picked up.

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928
2

No, It is not required to build code for cshtml/vbhtml(razor view) files.

Manas
  • 2,534
  • 20
  • 21