Skip to content

No code in Razor file #2

@AClerbois

Description

@AClerbois

Hi please find my first milestone,

Since we can have code for both a view in the razor file and an attached code-behind file.

From our experience, we have chosen not to use the @code element in files with the .razor extension.

C# code should be in the .razor.cs file provided for this purpose.

The only necessary exception is the using block

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions