Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Where is Nancy.Json.JsonSettings.MaxJsonLength in Nancy 2.x? #2980

Open
5 of 8 tasks
jetic83 opened this issue Sep 10, 2019 · 5 comments
Open
5 of 8 tasks

Where is Nancy.Json.JsonSettings.MaxJsonLength in Nancy 2.x? #2980

jetic83 opened this issue Sep 10, 2019 · 5 comments

Comments

@jetic83
Copy link
Contributor

jetic83 commented Sep 10, 2019

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of Nancy
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

Description

I just upgraded Nancy from an old version to 2.0.0. Then I found Nancy.Json.JsonSettings is gone. I have tried to find MaxJsonLength in Nancy.Json.JsonConfigurationExtensions.Json.

Steps to Reproduce

System Configuration

  • Nancy version: 2.0.0
  • Nancy host
    • Nancy.Hosting.Aspnet
    • Nancy.Hosting.Self
    • Nancy.Owin ()
    • Other:
  • Other Nancy packages and versions:
  • Environment (Operating system, version and so on): Windows 10, Visual Studio Community 2019
  • .NET Framework version: 4.7.2
  • Additional information:
@starskythehutch
Copy link

Is there a specific use case where no longer having the length limit is a problem?

** Disclaimer: Not a member of the Nancy team, just someone looking at the issue via codetriage.com

@jetic83
Copy link
Contributor Author

jetic83 commented Oct 19, 2019

I want to increase the length limit.
Do you imply there is no length limit anymore?
I assume there is still a limit, but Nancy removed the possibility to change it.

@starskythehutch
Copy link

starskythehutch commented Oct 20, 2019 via email

@allycs
Copy link

allycs commented Dec 18, 2019

I have the same question

@allycs
Copy link

allycs commented Dec 19, 2019

I have the same question

I have solved the problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants