Sockets vs .Net Remoting vs WCF for my service? [closed] - wcf

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I need to create a service (in .Net) over a local network that will listen for requests and send sms. I'm confused about what the best solution might be:
Sockets
Net Remoting
WCF
There should be a server, and multiple clients will connect and send bulk sms messages.
Can somebody advise what might be the best option?
I created this http://msdn.microsoft.com/en-us/library/ff649818.aspx, but I'm still not sure.

I believe you should stick with WCF, unless performance is critical to you application. It has these advantages over the other technologies.
Shorter development time than with Sockets
WCF supports more protocols than .NET Remoting (Named pipes and MSMQ)
Clients don't have to be .Net based whereas with .Net Remoting they will have to be .NET
So your service should be more flexible, maintainable and less costly to build with WCF.
Read this: "From .NET Remoting to the Windows Communication Foundation (WCF)".

Related

Testing a Windows service, for an application with client-server architecture [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I am a software test engineer and want to test a new windows service for my application which has a client server architecture. The service keeps running on the background and checks for the database updates. It is developed by Delphi. The developers have debugged and tested the service. My question is what should be the testing approach to test a windows service, or what kind of test should a tester have to perform on a windows service? And how can this test be executed?
Based on the information provided, it's unclear whether you have access to the source code or not. Typically, testing against software is done with a testing framework against the source code using unit tests and integration tests.
If you do have access to the source code, the best course is to refactor any domain specific functionality out of the service project into a class library. You can then create a testing project which references the class library and write unit and integration tests against your classes.
If you do not have access to the source code, then you need to evaluate the software based on the task it is supposed to perform. You may have some specifications about what the software is expected to do. Compare the software's performance to any specifications that the software is supposed to meet.
The typical interface for a Windows service is Start and Stop. After you install the service and send those commands to the service, does it respond as expected?
Review the logs. Are there any exceptions being logged? Why are those exceptions occurring? Is there information that you need in the logs to evaluate performance that isn't there?

Web Gardening in IIS 7.5 with WCF services [closed]

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.

Which platform/programming language to chose for a server application that synchronizes with air clients [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
This is my setup:
Around 60 pc's running an air client application, connected to (w)lan
1 pc that acts as a server, also connected to (w)lan
Scenario:
Whenever a change is made on the server (database and/or file change) this change needs to be synced to all air clients. (The server contacts all connected air clients one by one, to initiate the sync process)
Which platform?
The server application should be cross platform and easily installable, so my client can install the server app without any guidance (using install wizard preferably).
What comes to my mind is using a Java application for the server because I don't think an air application is suitable in this situation..(real threading, lack of dbms drivers, etc.).
What platform/language would be most suitable to communicate and exchange data with connected air clients in a local network?
This is my priority list: Cross-platform > easy install > well documented/big community > implemented quickly
Btw: initial sync would take about 0,5 GB to transfer, and an update afterwards about 10 MB.
Air and Java(backend code)
Cross-platform Yes
easy install Yes
well documented/big community Yes
implemented quickly Yes

Web hosting for Mono? [closed]

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.

Tools to Debug WCF service [closed]

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