At CodeProject we spend an awful lot of time playing with room heaters, or as others like to call them, "servers". Over the years we've seen it all, some of it smoking, most of it usually working just nicely until something happens.
What that something is can be hard to find so we've created a quiet place for those battle scarred and frustrated to get a little help.
And i am expecting a response from this method. But based on the result available in few articles in Internet, it seems like ComplexType object can only be passed in POST method not in GET method. But i want an array result from the above method as response.
Could any one help me how the UriTemplate an be assigned to the above method.?
And how to pass JsonInput Parameter to this REST method from c# client application and how to parse the result back to double type at client side.?
A few days ago I posted here a message to ask for the best solution to test a website. At same time I decided to try some web hosting services to run a simple SVC web API.
I tried www.ovh.com (france), www.aruba.it (italy) and www.hostforlife.com (luxembourg). I was unable to set up my very simple ASP.NET C# 4.0 SVC Rest web API. I can publish my file without any problem but the web API doesn't work. It seems like the hosting services are not able to deal with svc file. The help of these services is so bad that I don't know what to do.
Do you know a good hosting service that understand and can mamage web svc API?
This issue may be out of scope for this forum; however, I have not found anything that solves this issue on the net. This is the situation. I have deployed an MVC web service to a Windows 2008 r2 server and insured that IIS is configured correctly, to the best of my knowledge, using Windows authentication and when I try to access the MVC web service I am getting a 404 error not found error. Now, when I try to access the service on another server it find the web service fine. I know that this is not a Server configuration forum but any help would be great.
I'm looking for an easy and cheap Windows Server / IIS / SQL solution. I just want to be able to deploy my application on a test machine. This is not for production.
First I looked at Azure and other hosting services. When you are requesting for a Windows Server with IIS and SQL it's too expensive. They offer a lot of services I don't need.
I'm now looking to build my own server at home. I already have a Synology but I cannot install IIS or a virtual machine on the Synology. I think I'll have to buy a new PC. I'm thinking of something like the Asus eeeBox but I'm not sure the eebox can run IIS or windows server.
What is the best solution? Virtual machine, hosting, Azure, new PC?
Really depends on what you're trying to test... for me, there's nothing like having a PC with multi-boot setup for testing.
Why? ...because depending on the software that you're testing, if you find issues in the Virtual Machine, then you have to determine whether the issue comes from the virtualization process or if it's a real bug within your code. You also tend to spend a lot of time setting up a virtual system the way you need it, so IMO, for testing, it's worth it in the long run to just get a system you can boot into multiple OS's. I had a single, cheap server that I had set up to boot into three different versions of Windows Server, worked great for testing and I never had a doubt whether any extra layers were causing an issue.
Of course, virtualization has its benefits.... you always have a clean copy of the OS running (if that's what you want/need) and you can easily change OS's with little downtime.
Cloud based solutions tend to pretty much be virtual machines too.. so the only added benefit is the hosting is managed by someone else. Recurring costs are the drawback. Plus depending on your application, you may not want it hosted on the cloud, where someone else's sloppy security might affect you down the road.