# Code examples in documentation do not compile

## Environment

<table>
    <tbody>
        <tr>
            <td>Product</td>
            <td>UI for Blazor</td>
        </tr>
    </tbody>
</table>

## Description

I am trying to run the code snippets in the documentation but they do not compile. The `Preview` tab of the examples throws an error.

## Error Message

`Unhandled Exception: System.MissingMethodException: Method not found: Microsoft.Extensions.DependencyInjection.IServiceCollection`

## Solution

To solve this, clean the site data:

1. Open your DevTools
2. Go to `Application` tab
3. Select `Storage`
4. Click the `Clear site data` button
5. Refresh the page

   ![](https://www.telerik.com/blazor-ui/documentation/assets/b5d6eb28785cac0612a94b13202c4ece/clear-site-data.png)
