As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have this weird situation where I have to accept email from my users. I want to be able to intercept an incoming SMTP message, see if it's authenticated (inspect the username/password myself and check those against my user database), then parse the message in full and do something (log a post in my application, for example). I need somebody to do the heavy lifting for me and take care of the SMTP protocol, transport encryption, etc and let me take care of the rest.
My problem is that I can't find an extensible SMTP server that will either let me plug into its processing pipeline or maybe embed it in my application or service. Do you know one? I'd love to program the SMTP logic in C#, but I can consider other options like external pipe programs, COM objects, running on a Unix system under Mono, etc.
There is an SMTP package included as part of the Neokernel Web Server that may address your needs.
The API documentation is online at http://www.neokernel.com/nk_docs/index.html, look at com.neokernel.email package for details.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am following this guide here. P2P
One of the advantages I had thought P2P would bring is the fact that it is a serverless setup.
Now that I have this working I noticed that you do need a resolver to keep track of who is connected.
To me this is really does require a server as you need a resolver to make P2P work in the first place.
Ami missing something?
It depends on your definition of a server I suppose. Using a P2P game for example most players will connect to a central point, be matched up and will then communicate between themselves with no involvement from the server.
This means the server doesn't have to host any data it simply has to coordinate those who do. It keeps resources down (as each client only needs to connect once) and the infrastructure is often more robust.
Do you need a central application to coordinate peers? Yes
Does that application need to stream content/data to each peer? No
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What are some actual, realistic situations that one would need to use raw socket programming over WCF? I know performance is one, but are there any others?
There may be situations where you are talking to a third party system that requires communication via sockets (we have to with one).
When the software at the other end of the connection knows nothing about .NET or WCF - the WCF netTcpBinding assumes both ends are implemented using WCF.
say you need to send receive commands from a external device which does not support WCF communication.
Say you would want to pass some commands to a device connected to your serial port.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am trying to set up a push notification service for my WP7 app.
I have followed the guides and built a WCF service with WPF front end based on the code provided by the Channel9 WP7 jump start guide (Weather Service exmaple) ; http://channel9.msdn.com/Learn/Courses/WP7TrainingKit/WP7Silverlight/UsingPushNotificationsLab/Exercise-2-Introduction-to-the-Toast-and-Tile-Notifications-for-Alerts
This all works locally with the address "http://localhost:8000/RegirstatorService"
The part I am cluless about is how I translate this app to my server and make it work in the real world.
I have a basic public facing server 2008 setup with a domain and IIS7 running.
What do I do with the WPF app to make it work on my server? Is it just a case of changing the endpoint address so somehwere on my server, and where do i locate it on my server.
any pointers would be helpful. i have had a good read around the web but still cant understand this part of the whole PN process. I ahve never dealt with WCF before and dont have much expreirence with web servers or IIS.
Many thanks.
You might to check out these posts for a more real world example:
http://benjii.me/2010/12/push-notifications-in-windows-phone-7-1-code-on-the-device/
http://benjii.me/2011/01/push-notifications-in-windows-phone-7-2-code-on-the-server/
http://benjii.me/2011/04/push-notifications-in-windows-phone-7-3-push-that-notification/
You're probably most interested in the second one.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Hey guys, I'm starting the development of a native iPhone app which will implement a chat interface. So far the implementation seems to be pretty complicated, I've read of Websockets, XMPP/Jabber and raw TCP/IP sockets, but have no idea which to use. The client will be programmed in Objective-C, and I would like to program the server in C# (and not have to pay $100/month for a hosting service).
What would you guys suggest?
I would suggest using something like XMPP/Jabber as there are already a ton of libraries in existence for pretty much every language under the sun. That would allow you to focus on the unique aspects of your app rather than having to worry about implementing a protocol. Check out the XMPP website for a list of libraries for both clients and servers.
With regards to hosting, C# might be difficult to find free hosting simply because it requires a Windows installation which requires a non-free license. You can find cheap Windows hosting through somebody like GoDaddy, but you won't be able to find free (at least I doubt it).
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
How can i use Server Push with my WCF web service to communicate with the asp.net clients and push the data to the browser? Can i implement BOSH with WCF?
Thank you.
NLV
Hi
You can use the attached example I have made.
If you sent it to be a public push server - i.e available via WebService - you will have to add a webservice that will use the MSMQ.
The problem is that you will need to have an IIS installed on both the server and the client.
If you use it internally then MSMQ will be enough.
http://www.codeproject.com/KB/WCF/WcfMsmqServerPush.aspx
There is a sample here
Another alternative is signalR