Skip to content

Pagination Links not forming correctly after hosting on IIS #948

Closed
@Priyankadhavale

Description

@Priyankadhavale

DESCRIPTION

After hosting the JANDC used application on IIS, the pagination links generated by JANDC does not contain the application name in URL

STEPS TO REPRODUCE

I have tried adding the my application under Default site

so my URL forms like
https://[ip address]/api/v1/articles?page[size]=10&page[number]=2

So whenever I am accessing this URL => I am not able to get the result

Actual URL

https://[ip address]/[applicationName]/api/v1/articles?page[size]=10&page[number]=2

EXPECTED BEHAVIOR

Can you please let me know if we can achieve this with JANDC and how we can achieve this.

ACTUAL BEHAVIOR

Right now the base path that means https://: this much only added to pagination links in Links section of result.

VERSIONS USED

  • JsonApiDotNetCore version: 4.0.0-beta1
  • ASP.NET Core version:3.1
  • Entity Framework Core version:3.1.10
  • Database provider:SQL server

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions