Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Microsoft.AspNetCore.Mvc.RazorPages should be imported by default #6401

Closed
sebastienros opened this issue Jun 15, 2017 · 5 comments
Closed

Comments

@sebastienros
Copy link
Member

I was using [BindProperty] in a razor page, but it couldn't be found. Maybe the namespace could be imported by default.

@NTaylorMullen
Copy link
Member

I think this is a good idea @rynowak thoughts?

@pranavkm
Copy link
Contributor

Perhaps conditionally if the document type is a RazorPage?

@NTaylorMullen
Copy link
Member

Perhaps conditionally if the document type is a RazorPage?

ya that was my thought

@rynowak
Copy link
Member

rynowak commented Jun 18, 2017

We should put this in a better namespace instead

@Eilon Eilon added this to the 2.0.0 milestone Jun 19, 2017
rynowak added a commit that referenced this issue Jun 26, 2017
This changeset reckonciles the binding work we did for pages with
controllers.

A quick summary:
- Moves [BindProperty] to the MVC namespace (#6401)
- Makes [FromRoute] and friends behave consistently (#6402)
- Makes [BindProperty] work with controllers (untracked)
rynowak added a commit that referenced this issue Jun 27, 2017
This changeset reckonciles the binding work we did for pages with
controllers.

A quick summary:
- Moves [BindProperty] to the MVC namespace (#6401)
- Makes [FromRoute] and friends behave consistently (#6402)
- Makes [BindProperty] work with controllers (untracked)
@rynowak
Copy link
Member

rynowak commented Jun 27, 2017

0ad9c7d

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Development

No branches or pull requests

5 participants