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.
You should also differentiate if you need to access computers in a different network or in the same network (which may be a virtual private network also). In the latter case, some kind of VNC might do.
Commercial alternatives usually offer more possibilities and thus might be worth their money!
Iusedthehelppagehttp://youhack.me/2010/04/01/building-a-registration-system-with-email-verification-in-php/ChangedthedatabasenametoDataBasename:819903DataBaseusername:819903DataBasepassword:equalwithaccountpasswordDataBasehost:localhostButreceivethefollowingerrorafterfillingtheregistrationformthathostedatmyproject.6te.netandreceivetheerrorDatabaseErrorOccuredQueryFailed.Youcantestitathttp://myproject.6te.net/ and give suggestions that why the error is coming inspite of making all the changes in the necessary files.IsithostingservererrorordatabaseconnectiontypeerroralthoughIhavemadeallthechangesasperthe requirement?
KindlytellthathowtomakearegistrationsystemthatworkwithphpandMySql.Itriedthedemothatisherehttp://youhack.me/2010/04/01/building-a-registration-system-with-email-verification-in-php/ but how it works with the online web hosting .Ihaveregisteredthefreehostingatherehttp://www.freewebhostingarea.com/Ihavealsocreatedthedatabaseatherebutcannotknowhowtousephpfilesanduploadathttp://www.freewebhostingarea.com/ and use the mysql database that I created here .Iwantonlineregistrationsystemthatusesphpandmysqlwiththefreehostingthatservesmypurpose.Theregistrationsystemcreatestheuserandsendsconfirmationemailto user’s emailaddressandafterconfirmationusercanloginntothewebapplicationandfurtherworkwillbedonehereafterregistration.Kindlyguidemeintheabovescenarioortellanotherfreehostingservicethatfulfillsmypurpose.
I have a regular C# desktop GUI application providing regular windows interface.
WCF is not used for supporting these interfaces, since it mainly working as a standalone desktop application, with a lot of data involved in data transfer. But I have used WCF with netNamedPipeBinding for UI automation.
Now I would like to call these interfaces from a web page also.
So in my understanding
1. I have to host my desktop application as WCF web service
( with httpBinding and need o provide a new contract for the interfaces).
2. Call the existing I/Fs from the new interface class.
Thank you Wayne. I am a beginner in web development.
My real concern is whether I would go for a WCF service, REST service or a Web Api.
My primary intention is to use the service in a client web application. Later I also planning to use it from different devices like tab/mob.