iis-docs
                                
                                 iis-docs copied to clipboard
                                
                                    iis-docs copied to clipboard
                            
                            
                            
                        IIS Native code example is missing
I found a missing segment on this page:
https://docs.microsoft.com/en-us/iis/web-development-reference/native-code-development-overview/walkthrough-creating-a-global-level-http-module-by-using-native-code
In step 3.f. of “Adding the Code And Source Files” we refer to some code but there’s nothing. It is not an easy to catch problem because the empty code block that normally exists in these situations isn’t even there.
@ryanmajidi Can you take a look? Looks like some source snippets are missing compared to https://msdn.microsoft.com/en-us/library/ms690697(v=vs.90).aspx
@shirhatti I wonder if this is an issue of what was in CAPs and what was actually published. If you look at the md file there is the following line where the snippet is missing:
<!-- TODO: review snippet reference          [!CODE [CGlobalModuleHelloWorld#1](CGlobalModuleHelloWorld#1)]  -->
CAPs is giving me issues so I can't check the original file.
@bariscaglar Have you seen this anywhere else?
This happened during our migration when the script couldn't find the sample in CAPS. I'm checking how many files are impacted.
310 files have that string.
But it's odd. CAPS can find that sample. Maybe an issue with the migration script.
In our case, when we had that string, CAPS could also not see the example.