<commit_before>﻿<div class="jumbotron">
    <h1>Images</h1>
    <p class="lead">Support the HTTP OPTIONS method, and adds discovery support.</p>
</div>
<div class="row">
    <div class="col-md-4">
        <h2>Getting started</h2>
        <p>Discussed in the October 2 class session.</p>
        <p>Use Fiddler to inspect the request/response sessions.</p>
        <p><a class="btn btn-default" href="http://petermcintyre.com/dps907/notes">Learn more &raquo;</a></p>
    </div>
    <div class="col-md-4">
        <h2>Highlights</h2>
        <p>Look for these highlights:</p>
        <ul>
            <li>'Handler' in the Handlers folder</li>
            <li>The handler is loaded in the WebApiApplication class</li>
            <li>New 'Root' controller</li>
            <li>Modified WebApiConfig class 'DefaultApi' route</li>
        </ul>
    </div>
</div><commit_msg>Media formatter (Images), action filter<commit_after>﻿<div class="jumbotron">
    <h1>Images</h1>
    <p class="lead">Working with the "image" internet media type.</p>
</div>
<div class="row">
    <div class="col-md-4">
        <h2>Getting started</h2>
        <p>Discussed in the October 7 class session.</p>
        <p>Use Fiddler to inspect the request/response sessions.</p>
        <p><a class="btn btn-default" href="http://petermcintyre.com/dps907/notes">Learn more &raquo;</a></p>
    </div>
    <div class="col-md-4">
        <h2>Highlights</h2>
        <p>Look for these highlights:</p>
        <ul>
            <li>'Media Formatter' in the Formatters folder</li>
            <li>The formatter is loaded in the WebApiApplication class</li>
            <li>Resource model class, with data annotations</li>
            <li>'Attribute based routing' seen in the controller</li>
            <li>Custom code in the controller for image delivery</li>
            <li>Introduction to the 'command' pattern, and accepting image data in the request</li>
        </ul>
    </div>
</div>
{'fraction_non_alphanumeric': 0.1514066496163683, 'fraction_numerical': 0.012276214833759591, 'mean_word_length': 2.65607476635514, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2484843', 'n_tokens_mistral': 643, 'n_tokens_neox': 620, 'n_words': 173}