# Coding

- [Tips / How-to](https://wiki.owain.codes/coding/tips-how-to.md)
- [Detailed Error messages on Azure](https://wiki.owain.codes/coding/tips-how-to/detailed-error-messages-on-azure.md)
- [Where is the hosts file on Windows?](https://wiki.owain.codes/coding/tips-how-to/where-is-the-hosts-file-on-windows.md)
- [Wrapped up a site](https://wiki.owain.codes/coding/tips-how-to/wrapped-up-a-site.md)
- [Snippets](https://wiki.owain.codes/coding/snippets.md): Some code snippets, some non-code snippets
- [Non-coding](https://wiki.owain.codes/coding/snippets/non-coding.md): Test
- [TinyMCE config generator for Umbraco](https://wiki.owain.codes/coding/snippets/non-coding/tinymce-config-generator-for-umbraco.md): A great tool for quickly creating TinyMCE config for TinyMCE. Setup your styles and then copy the code in to AppSettings.json (Umbraco 13)
- [Git Markdown](https://wiki.owain.codes/coding/snippets/non-coding/git-markdown.md): Useful snippets for adding to Git Pull Requests
- [Command Prompt / Terminal](https://wiki.owain.codes/coding/snippets/non-coding/command-prompt-terminal.md): Useful things to use in Command Prompt or Windows Terminal
- [Coding](https://wiki.owain.codes/coding/snippets/untitled.md): The opposite of non-coding 😀
- [Compile FrontEnd via NVM and Gulp](https://wiki.owain.codes/coding/snippets/untitled/compile-frontend-via-nvm-and-gulp.md)
- [Node-Sass](https://wiki.owain.codes/coding/snippets/untitled/node-sass.md): Create a watch on a folder
- [SQL Statements](https://wiki.owain.codes/coding/snippets/untitled/sql-statements.md): useful snippets
- [Build up SQL statements](https://wiki.owain.codes/coding/snippets/untitled/build-up-sql-statements.md)
- [Get current logged in user from Controller](https://wiki.owain.codes/coding/snippets/untitled/get-current-logged-in-user-from-controller.md)
- [Dynamic BlockList Label](https://wiki.owain.codes/coding/snippets/untitled/dynamic-blocklist-label.md): If you want to add a bit more user friendliness to your Blocklist here is a handy bit of code :
- [Alt Tag](https://wiki.owain.codes/coding/snippets/untitled/alt-tag.md)
- [SQL - Could not import package](https://wiki.owain.codes/coding/snippets/untitled/sql-could-not-import-package.md)
- [SQL Server Table Size Report (Used vs Allocated Space)](https://wiki.owain.codes/coding/snippets/untitled/sql-server-table-size-report-used-vs-allocated-space.md)
- [Umbraco](https://wiki.owain.codes/coding/umbraco.md): How to do things with Umbraco CMS
- [Luke - Version helper](https://wiki.owain.codes/coding/umbraco/luke-version-helper.md): Ever wondered what version of Luke you need for the version of Umbraco you are using?
- [Umbraco 10+](https://wiki.owain.codes/coding/umbraco/umbraco-10+.md)
- [Find out Model of Current page](https://wiki.owain.codes/coding/umbraco/umbraco-10+/find-out-model-of-current-page.md): Need to find out the parent model type from a partial?
- [error NU1301: Unable to load the service index for source](https://wiki.owain.codes/coding/umbraco/umbraco-10+/error-nu1301-unable-to-load-the-service-index-for-source.md): An error that appears when trying to setup a new site.
- [Umbraco 9](https://wiki.owain.codes/coding/umbraco/umbraco-9.md): Topics that are Umbraco 9 specific
- [Get the current page content type alias](https://wiki.owain.codes/coding/umbraco/umbraco-9/get-the-current-page-content-type-alias.md): How to get the current rendered page document (content) type.
- [Fluent SQL](https://wiki.owain.codes/coding/umbraco/fluent-sql.md)
- [Unable to open ConfigSource file](https://wiki.owain.codes/coding/umbraco/unable-to-open-configsource-file.md)
- [Delete items from backoffice by DocType ID](https://wiki.owain.codes/coding/umbraco/delete-items-from-backoffice-by-doctype-id.md)
- [\[WIP\] Setting up Examine](https://wiki.owain.codes/coding/umbraco/wip-setting-up-examine.md)
- [Umbraco.ModelsBuilder assembly error](https://wiki.owain.codes/coding/umbraco/umbraco.modelsbuilder-assembly-error.md)
- [Working with IPublishedContent](https://wiki.owain.codes/coding/umbraco/working-with-ipublishedcontent.md): Umbraco.TypedContent
- [How to Strongly Type to Models](https://wiki.owain.codes/coding/umbraco/strongly-type.md)
- [Setting up a custom form](https://wiki.owain.codes/coding/umbraco/setting-up-a-custom-form.md)
- [Getting bounced away from /umbraco](https://wiki.owain.codes/coding/umbraco/getting-bounced-away-from-umbraco.md)
- [Examine](https://wiki.owain.codes/coding/umbraco/examine.md): The search engine used within Umbraco
- [Explaining GroupedOr / GroupedAnd methods](https://wiki.owain.codes/coding/umbraco/examine/explaining-groupor-groupand-methods.md)
- [Rosyln error](https://wiki.owain.codes/coding/umbraco/rosyln-error.md): Every now and again you might see the error relating to csc.exe, this is how to fix it.
- [Models Builder Settings](https://wiki.owain.codes/coding/umbraco/models-builder-settings.md)
- [Adding content to the backoffice](https://wiki.owain.codes/coding/umbraco/adding-content-to-the-backoffice.md): Adding content programatically to the back office
- [Pagination](https://wiki.owain.codes/coding/umbraco/pagination.md): How to do pagination for listing pages
- [Creating YYYY/MM folders](https://wiki.owain.codes/coding/umbraco/creating-yyyy-mm-folders.md)
- [Configuration Error - CodeDom](https://wiki.owain.codes/coding/umbraco/configuration-error-codedom.md): YSOD with reference to CodeDom
- [C Sharp](https://wiki.owain.codes/coding/c-sharp.md): Things that have peaked my interest and I've investigated futher
- [Useful Links](https://wiki.owain.codes/coding/c-sharp/.net-framework-source-code.md): A list of links that are handy for quick reference
- [Regex](https://wiki.owain.codes/coding/c-sharp/regex.md): Some useful Regex examples
- [Null check .any()](https://wiki.owain.codes/coding/c-sharp/null-check-.any.md)
- [internal static and internal const](https://wiki.owain.codes/coding/c-sharp/internal-static-and-internal-const.md)
- [Dependency Injection](https://wiki.owain.codes/coding/c-sharp/dependency-injection.md)
- [Dictionary\<Tkey, TValue>](https://wiki.owain.codes/coding/c-sharp/dictionary-less-than-tkey-tvalue-greater-than.md): Represents a collection of keys and values.
- [Linq / Lambda](https://wiki.owain.codes/coding/c-sharp/linq-lambda.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.owain.codes/coding.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
