Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 months ago.
Improve this question
I have deployed WCF services in IIS 7.5. I want to create a web gardening in IIS, so I follow below steps to do that
On Application pool advance settings, I have set Maximum worker process=2.
My question is to do web gardening I need to change anything on machine.config or web.config file of WCF services?
If yes then what changes I need to do?
Are you sure you need a web garden? Because it's a feature that is often misunderstood. This blog entry explains it quite well.
If you really need it, you don't need to configure anything in the config. The services themselves should not need to be aware of the fact they are executed from a garden or even from a farm.
You will need a web garden when you have a CPU with Many cores and you want to scale your application. Although there is no configuration which is specifically required there are just two things that you should be concerned.
1) There should be no static Variables in Your Service. Please do more R&D on that.
2) Your Services Concurrency Mode should be Multiple so that different threads which will be created should cater the service.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Hi I just finished setting up my new apache web server from my laptop running windows 7. I created the server using apache, then port forwarded my laptops ip (port 80), and finally got myself a free domain using dot.tk. Ive added a few files and done some basic html stuff, and it is successfully up running and accessible to everyone through the domain. But i have a question. Lets say someone was to download files from the site. Is my local network's bandwidth consumed? If anyone can explain how this works that would be great.
Thanks in advance.
The data will run through all segments connecting the client (your end user) to the host (your hosted web server).
So if they need to get to your house where your laptop is to get to the web server, then your house's network connection's bandwidth will be used.
If you hosted it remotely on some shared server site like Amazon instead, then the bandwidth of remote clients accessing your server never uses your home connection's resources, it only uses the resources between their computer and Amazon.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I appended AllowUsers with the wrong user to my /etc/ssh/sshd_config then restarted the service. So I can't connect anymore.
Is there a way to recover without physical access ?
You would need to log in locally at the machine in order to fix it, quite simply.
If you have no local access to it, then you're in more dire straights, and need to deliberate with whomever it is that hosts the machine. If it's a server hosting firm, they often offer the possibility to reboot machines into some kind of rescue system, but you'd need to check with the hosting firm itself, since there's no universal formula for such things.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm about to get an SSL Certificate for my website. In particular, it will be used because I'm switching over to a payment processor which requires it. A few "noob" questions:
1) Will I have to change any code that directs users to http://www.mysite.com to https://www.mysite.com, or will users who go to http://www.mysite.com be automatically re-directed to https://www.mysite.com?
2) I assume that https "slows" things down on a site? If this is the case, can I maintain the http everywhere on my site except when they make a payment to the processor? i.e. http://www.mysite.com/any_old_page.php, while https://www.mysite.com/pay_for_the_stuff.php
Thanks!
No, that won't happen automatically. You will have to change your server configuration to do that.
Yes, it slows things down. How much depends on the cipher suite used for the server, the server software and hardware. You should play around with different TLS cipher suites to see how much. It depends on that (and of the nature of your site) if you should only use TLS on part of your site or all of your site. As for the requirements of the payment processor: ASK!
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I see a lot of linux-based PHP hosting solutions in the $5/month range. Does anybody know of one in that range that uses/can use Mono? I've written some C# code I want to use, but want to avoid ASP.NET.
I don't know why no one said this. But if you are developing a website using mono and c#, you are using asp.net... just a linux implementation of it.
I've found another free host
http://www.heliohost.org/
It explicitly states that it uses mono.
Mono Project Web Hosting should do:
The Mono Project (a.k.a. mod_mono) is an open-source .NET Framework emulation tool for Linux sponsored by Novell. Through Mono, we have assembled a simple and easy-to-use web hosting platform which bridges the gap which previously existed between Windows and Linux hosting providers. What was once properietary Microsoft technology has been made available to the open-source developer community, and supplied right here with our premium Linux hosting service.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 6 years ago.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
What are the tools available to debug WCF service?.
Depends on what you mean by debug. Certainly there are a lot of tools that are useful when dealing with WebServices and WCF specifically, besides the obvious use of the Visual Debugger or WinDBG. Here are some:
WCF Tracing
Service Trace Viewer
TCP monitoring tools, like WireShark or TCP tunnels like TcpTrace or Fiddler
If its runtime hang or crash debugging, check out http://blogs.msdn.com/Tess/
Attach via visual studio. As long as you dont have express edition you can use Visual Studio to attach to WCF services. That would be step 1.
Use the message logging.
WCF Admin and Diagnostics
Use the tracing
WCF Tracing