Skip to content

Asp Net Core 2.0 Razor pages UnsupportedApiVersion #189

Closed
@paul-xtr

Description

@paul-xtr

I have a project mixing simple Razor Pages and WebAPI. After installing versioning I can not access Razor Pages with the error "UnsupportedApiVersion". I specified AssumeDefaultVersionWhenUnspecified =true and defined a default in startup but still get the error. The ApiVersion and MapToVersion don't seem to apply to razor pages. Is there any way to make Razor pages either ApiVersionNeutral or inherit the default version?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions