Skip to content

The name model does not exist in the current context #1743

Closed
@ghost

Description

I am trying to create an web page but cannot bind to the model.
Either when editing cshtml file or debugging i get "The name 'model' does not exist in the current context" error

Razor compilation fails once the model is accessed e.g @foreach (var download in model.Downloads)

I am developing a windows service and hosting with web listener.
Am i missing any configuration in my app.config ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions