So, you're working on your Angular + MVC/Web API project, when suddenly you get irritated with your browser caching your views for the last time. That's when it hits you. This is going to happen in production. You consult the Network tab of your browser's dev tools, and see all of the extra connections that are occurring because you made nice modular directives with separate files for your templates. Now, take a breath as you find the solution to both problems right here.
Recently, I have found myself loading a number of XML configuration files containing lists
that were subject to change as our application evolved. We needed to be able to smoothly
fuse the new default items into the configuration file without losing an changes already
performed on items that were still valid list members. In addition, any newly invalidated
list members needed to be removed. Using LINQ's Union
and Intersect
methods, this is
actually quite easy.