# Execute Request

*During the Umbraco request execution, an MVC Action is called which executes a Razor view to render content to the end-user*,

## Using the Model

Whenever a content item is rendered on the front-end, it is based on a model of type `IPublishedContent`. This model contains all of the information about the content item associated with the current request.

If you are working in a custom MVC Controller's action, a model of type `ContentModel` will be provided in the Action's method parameters. This model contains an instance of `IPublishedContent` which you can use.

When you are working in a View of type `UmbracoViewPage` (which is the default view type), the Model provided to that view will be `IPublishedContent`. For example, to render the current content model's name you could do:

```csharp
@Model.Name
```

All Umbraco view page types inherit from `UmbracoViewPage<TModel>`. A neat trick is that if you want your view Model to be `IPublishedContent` you can change your view type to `UmbracoViewPage` and the view will still render without issue even though the controller is passing it a model of type ContentModel.

## [IPublishedContent](/umbraco-cms/reference/querying/ipublishedcontent.md)

IPublishedContent is a strongly typed model used for all published content, media, and members. It is used to render content in your views for your website.

## [UmbracoHelper](/umbraco-cms/reference/querying/umbracohelper.md)

UmbracoHelper is the unified way to work with published content/media on your website. Whether you are using MVC or WebForms you will be able to use UmbracoHelper to query/traverse Umbraco published data.

## [IMemberManager](/umbraco-cms/reference/querying/imembermanager.md)

IMemberManager is an user manager interface for accessing member data in the form of IPublishedContent. IMemberManager has a variety of methods that are useful in views, controllers, and webforms classes.


---

# 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://docs.umbraco.com/umbraco-cms/implementation/default-routing/execute-request.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.
