However,
this support is not needed in our case, because the primary input is the web.config text file.
These are just a couple examples of the type of checks that occur and why you may suppress
some warnings in your own application.
While static code analysis is not a silver bullet for bug-free code, it can be helpful with
finding unused local variables, obsolete methods, and so on, as well as informing the developer
of coding issues not previously known. Think of it as another tool in the toolbox that allows you
to approach your code from a different perspective. Odds are pretty good that you will find
useful tidbits that are well worth the time spent analyzing code.
Documentation
The downloadable code for this book has additional content for the source code listed in this
chapter, because it contains XML comments that were pared to shorten the chapter text. We
took advantage of the XML comment system built into the C# language and Visual Studio to
generate documentation for us once we were finished coding.
This functionality is configured by going into the Visual Studio project properties for the
Live Search controls library. Go to Configuration Properties; select the Build section; and look
for the XML Documentation File setting.
Pages:
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906