Can I edit Asp.net Mvc cshtml after publish?
Frecuentes
Visto 3,467 veces
7
Is it possible to edit the .cshtml files after publish or are there any draw backs?
1 Respuestas
5
Yes, you can edit the .cshtml file after you publish it.
Yes, there are drawbacks.
- If you edit on the production server, you are bypassing QA
- You are not going through a proper build cycle
- You must integrate this change into version control
I strongly recommend adhering to a cycle
- Código
- Prueba unitaria
- Conectar
- Publish / Deploy to QA
- Test in QA
- Go back to "Code" as needed
- Publish / Deploy to PROD
- If something breaks, go back to "Code"
Use a version control system that supports branching and tagging to make that cycle much easier.
Even if "QA" is a VM on your development server and you put on the "QA" hat, I would not skip that step.
Respondido 24 ago 12, 01:08
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas asp.net-mvc or haz tu propia pregunta.
But not if you compile before runtime, ¿correcto? - ruffin
Drawbacks aside, how would you do this? - Jacob M.