WCF Service Internet Scenario on localhost, staging, production en

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I just ready through Programming WCF Services by Juval Lowy, and maybe I
started with too complex of a book. Basically, my scenario is setting up a
WCF Service over the internet as part of an ASP.NET 3.5 website. But,
specifically, I'm interesting in how people set up an infrastructure for
testing on localhost machine, rolling to staging, and then rolling to
production with these WCF Services as part of an ASP.NET 3.5 website.

Do most people just set up 3 different endpoints in the same web.config?
One for localhost (without an X509 certificate), another for staging (without
an X509 certificate), another for production (this one WITH an X509
certificate)? Or do people handle this programatically? I have code which
checks by the machine name whether I am on localhost, staging, or production
and then, my code uses the appropriate SQL connection string. I'm wondering
if this approach is used by some and integrated with programatically setting
the endpoint? I mean, I suppose this might be overkill. I suppose when you
are on production, if I have one endpoint for each of the three environments,
only the production endpoint will work. I just don't want to risk exposing
an unencrypted endpoint on production. I'm concerned that I might be missing
something from a security perspective.

And I don't see this quesiton I am raising being raised anywhere on blogs or
forums, which makes me wonder if and/or why my question is a stupid question?

Thanks for any input from the community.

Bill Mild
.



Relevant Pages

  • Re: "Lites out" machining--whats amenable, whats not?
    ... So ahm doin my li'l shit prototypes, 10-15 fadal tools, and I fantasize about the day I'm finally bustin out production. ... Positioning multiple parts is important for chip flushing, allow no way for chips to build up and create problems for your tools. ... Make sure the coolant is topped off before you lock the leave. ... Trust your programmer, if he stands at the cnc doing manual edits on anything other than setup positioning, that guy is probably NOT a lights out programming candidate. ...
    (alt.machines.cnc)
  • Biztalk orchestration using dynamic WCF port problem
    ... I have a simple orchestration that I am using a dynamic WCF port with. ... one for endpoint1 and endpoint 2. ... both wcf services are identical. ...
    (microsoft.public.biztalk.general)
  • Re: [Lit.] Buffer overruns
    ... from programming. ... > void of pitfalls. ... There is a difference between production and ... consumption, and between the behaviors of the people ...
    (sci.crypt)
  • Re: HardBound and SoftBound (was "The State of Software")
    ... catch programming and conceptual errors. ... It's a lot like Java and Javascript: the ability to fix bugs easily in production has led to initial code drops often being buggier than in the old days. ... The content of this message is my personal opinion only. ... Although I am an employee - currently of Intel, ...
    (comp.arch)
  • Re: Is a new CL standard possible?
    ... production ones, of course. ... I don't think the use of the word ergonomics applies to programming ... For the PDA I have hand recognition applet, but speech recognition would be nice asap they become feasible for technical writing and programming;-) ...
    (comp.lang.lisp)