vendredi 4 décembre 2015

How to prevent runtime errors when working with angularjs and asp.net mvc

I'm working on a system that uses ASP.NET MVC and angularjs.

Sometimes, by mistake, the .cshtml files reference functions in angular controllers that don't exist, usually due to misspelling.

What's the best way to prevent this kind of error, identifying them during development / build, and preventing these errors from showing up to end users?

Thanks!

Aucun commentaire:

Enregistrer un commentaire