Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Rule of thumb and config files

Rule of thumb and config files

Scheduled Pinned Locked Moved The Lounge
csharpwcf
10 Posts 5 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RugbyLeague
    wrote on last edited by
    #1

    Started looking at WCF recently - I have a rule of thumb which states "if you have to mess around with config files to get a software system running then look for a different software system". Unfortunately I had forgtten about that - which is why I started to look at WCF. I think now I will look elsewhere - 6 hours today of messing about with config files, all to no avail.

    M L P 3 Replies Last reply
    0
    • R RugbyLeague

      Started looking at WCF recently - I have a rule of thumb which states "if you have to mess around with config files to get a software system running then look for a different software system". Unfortunately I had forgtten about that - which is why I started to look at WCF. I think now I will look elsewhere - 6 hours today of messing about with config files, all to no avail.

      M Offline
      M Offline
      Manfred Rudolf Bihy
      wrote on last edited by
      #2

      Everything you can do via configuration can also be hard coded into you application. Except why would somebody want to hard code it, if can be configured? ;P Have you already posted an interesting well framed question in one of the forums or the Q&A? I've been busy today, so I've not been hanging out on CP much. Cheers!

      "I had the right to remain silent, but I didn't have the ability!"

      Ron White, Comedian

      R 1 Reply Last reply
      0
      • M Manfred Rudolf Bihy

        Everything you can do via configuration can also be hard coded into you application. Except why would somebody want to hard code it, if can be configured? ;P Have you already posted an interesting well framed question in one of the forums or the Q&A? I've been busy today, so I've not been hanging out on CP much. Cheers!

        "I had the right to remain silent, but I didn't have the ability!"

        Ron White, Comedian

        R Offline
        R Offline
        RugbyLeague
        wrote on last edited by
        #3

        I did start to post an interesting well framed question but decided to have a rant instead :) I have spent all day looking at the various solutions to the problem I am having: The remote server returned an unexpected response: (413) Request Entity Too Large but I can't get any of them to work.

        M 1 Reply Last reply
        0
        • R RugbyLeague

          I did start to post an interesting well framed question but decided to have a rant instead :) I have spent all day looking at the various solutions to the problem I am having: The remote server returned an unexpected response: (413) Request Entity Too Large but I can't get any of them to work.

          M Offline
          M Offline
          Manfred Rudolf Bihy
          wrote on last edited by
          #4

          RugbyLeague wrote:

          but decided to have a rant instead

          That's way more amusing anyhow, than answering questions or having a technical discussion. :D

          RugbyLeague wrote:

          The remote server returned an unexpected response: (413) Request Entity Too Large

          That looks frighteningly familiar. It's been a while though, it must have been around October 2010 when we were pushing out a POC for a customer. Hmmmmm, ... Let me poke around for a bit in that mushy mess that is my brain (hey it's almost weekend). May be something useful will pop up. Regards,

          — Manfred

          "I had the right to remain silent, but I didn't have the ability!"

          Ron White, Comedian

          R 1 Reply Last reply
          0
          • M Manfred Rudolf Bihy

            RugbyLeague wrote:

            but decided to have a rant instead

            That's way more amusing anyhow, than answering questions or having a technical discussion. :D

            RugbyLeague wrote:

            The remote server returned an unexpected response: (413) Request Entity Too Large

            That looks frighteningly familiar. It's been a while though, it must have been around October 2010 when we were pushing out a POC for a customer. Hmmmmm, ... Let me poke around for a bit in that mushy mess that is my brain (hey it's almost weekend). May be something useful will pop up. Regards,

            — Manfred

            "I had the right to remain silent, but I didn't have the ability!"

            Ron White, Comedian

            R Offline
            R Offline
            RugbyLeague
            wrote on last edited by
            #5

            I have been poking around all day - hence the rant - but thanks, any help would be much appreciated. If I had framed a question early on I might have gotten somewhere but after messing about all day with it any question I could have framed would have dripped with bile

            S 1 Reply Last reply
            0
            • R RugbyLeague

              Started looking at WCF recently - I have a rule of thumb which states "if you have to mess around with config files to get a software system running then look for a different software system". Unfortunately I had forgtten about that - which is why I started to look at WCF. I think now I will look elsewhere - 6 hours today of messing about with config files, all to no avail.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              RugbyLeague wrote:

              "if you have to mess around with config files to get a software system running then look for a different software system".

              Please explain; without argumentation the statement feels as if you're dismissing things merely based on complexity. Only game-consoles need not be configured.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

              P 1 Reply Last reply
              0
              • R RugbyLeague

                I have been poking around all day - hence the rant - but thanks, any help would be much appreciated. If I had framed a question early on I might have gotten somewhere but after messing about all day with it any question I could have framed would have dripped with bile

                S Offline
                S Offline
                Sentenryu
                wrote on last edited by
                #7

                You're just sending more info than the runtime is allowed to accept, to increase the maximum, look here: Property: http://msdn.microsoft.com/en-us/library/system.servicemodel.basichttpbinding.readerquotas%28v=vs.100%29.aspx[^] Config Element: http://msdn.microsoft.com/en-us/library/ms731325%28v=vs.110%29.aspx[^] You might also want to set the maxRequestLength: <httpRuntime maxRequestLength="1610612736"/> (that's set to 1GB) Edit: You can also use the WCF Configuration editor to have a nice interface to edit the configs, you don't need to edit WCF configs by hand (not such luck for ASP.NET configs :( )

                R 1 Reply Last reply
                0
                • R RugbyLeague

                  Started looking at WCF recently - I have a rule of thumb which states "if you have to mess around with config files to get a software system running then look for a different software system". Unfortunately I had forgtten about that - which is why I started to look at WCF. I think now I will look elsewhere - 6 hours today of messing about with config files, all to no avail.

                  P Offline
                  P Offline
                  PIEBALDconsult
                  wrote on last edited by
                  #8

                  The problem there is that you're not configuring your application; you're configuring IIS. I always host WCF in my own Window services and avoid that pile of nastiness. And I write my own configuration files; I don't do it Microsoft's way.

                  1 Reply Last reply
                  0
                  • L Lost User

                    RugbyLeague wrote:

                    "if you have to mess around with config files to get a software system running then look for a different software system".

                    Please explain; without argumentation the statement feels as if you're dismissing things merely based on complexity. Only game-consoles need not be configured.

                    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                    P Offline
                    P Offline
                    PIEBALDconsult
                    wrote on last edited by
                    #9

                    Eddy Vluggen wrote:

                    Only game-consoles need not be configured

                    That's true of my old NES; but not true on my Xbox and Wii.

                    1 Reply Last reply
                    0
                    • S Sentenryu

                      You're just sending more info than the runtime is allowed to accept, to increase the maximum, look here: Property: http://msdn.microsoft.com/en-us/library/system.servicemodel.basichttpbinding.readerquotas%28v=vs.100%29.aspx[^] Config Element: http://msdn.microsoft.com/en-us/library/ms731325%28v=vs.110%29.aspx[^] You might also want to set the maxRequestLength: <httpRuntime maxRequestLength="1610612736"/> (that's set to 1GB) Edit: You can also use the WCF Configuration editor to have a nice interface to edit the configs, you don't need to edit WCF configs by hand (not such luck for ASP.NET configs :( )

                      R Offline
                      R Offline
                      RugbyLeague
                      wrote on last edited by
                      #10

                      I have tried all that to no avail

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups