I am able to implementing restful wcf service but now i want to use callback with it.Is it possible ?As i am getting some errors can anyone provide any Link for Restful WCF service callback.
View Complete Post
VPL, part of Robotics Developer Studio is intended for novice programmers, but is also useful for testing and prototyping. We write a simple serial port service that allows you to send and receive data.
MSDN Magazine February 2010
This month's column describes how to use WCF for communication between a workflow and a host application in Windows Workflow Foundation 3. This knowledge should help developers with their efforts using WF3 and prepare them for WF4, where WCF is the only abstraction over queues (referred to as "bookmarks" in WF4) that ships with the framework.
MSDN Magazine November 2009
Schema- first contract-first modeling of Web Services gives you the ability to model your contracts with an XML-centric mindset. This process keeps you focused on universally acceptable types and the hierarchical data structures that can be represented in XML.
Christian Weyer, Buddhike de Silva
MSDN Magazine October 2009
This article describes how to use XHTML and ASP.NET MVC to implement REST services.
MSDN Magazine July 2009
We discuss some of the basic tenets of REST as well as present an implementation of a RESTful service using WCF.
MSDN Magazine January 2009
I have a question on duplex communication. When we request a from a client to the service and if the service do not respond back to the client with in the timeout period. The communication between client and service will be broken. Then how
can i make the client to continue the communication with the service. Please help me how can i handle this type of situations.
Thanks in Advance.
Hello. I am a bit new to the .NET environment, and though I feel I was able to get a good handle on most of the basics of .NET, I believe I've encountered a problem beyond the basics. I am trying to talk with a device called a ColorPAL that uses
asynchronous serial communication, but it is half-duplex instead of full-duplex. I am able to send it the hex string commands that it wants just fine with the TX line. However, I find myself unable to read because the RX isn't connected to anything.
Basically what I want to do is that I want to be able to swap the TX line to become a RX line so that I can then read line of the half-duplex. I read that there is a PinChanged event, so it lead me to believe there is a way to change pins??
If the RX line is very high impedance I could connect it to the TX line, but I have no idea about that.
How can I get a full duplex to read a half-duplex using the visual studio software?
Here is the code I'm using, in case that helps.
using namespace System;
I hope I'll be able to clearly formulate my question.
Scenario: we have an application that integrates with several type of scanners (i.e. credit card, barcode, passport) using serial port interface.
It's the desktop application and can be deployed to run either in stand-alone environment or can be published over terminal services layer (citrix, TS, etc).
In the preferences of the application users are able to specify which scanner is assigned to which COM port.
For example: bar code scanner = COM1, credit card scanner = COM5.
To a user, names of the COM ports don't really make much sense and they won't know that the bar code scanner needs to be assigned to COM1 unless they go to Device Manager and look up the device name associated with the COM port under Ports (COM & LPT)
SerialPort class in .NET Framework has the function GetPortNames that returns the list of available COM ports: COM1, COM3, COM5, COM6, etc.
After doing a little research I found a way to get the descriptive names of each COM port device using WMI.
Here is the code for this:
Public Shared Function GetAvailableSerialPorts(
i am getting following errors to run WCF 4.0 web services.
after commenting following lines in web.config file now wcf project is working fine. what is the wrong in my side.
<!--<standardEndpoints> <webHttpEndpoint> <standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="false" maxReceivedMessageSize="2147483647" crossDomainScriptAccessEnabled="true" /> </webHttpEndpoint></standardEndpoints>-->
One my architect in our company said that we can create Restful services using wsHttpBinding. Up to my knowledge i know only webHttpBinding is supports Restful services in WCF.
Is my architect was correct ? if yes,I need to know is any other process to make Restful services using wsHttpBinding.
Thanks in advance.........
I see some request error after i deployed my WCF service to my dev server.
The server encountered an error processing the request. See server logs for more details.
This is what i used in service.svc
Factory = "System.ServiceModel.Activation.WebServiceHostFactory" but i got this request error....
The complete web.config file i've now is
<?xml version="1.0" encoding="UTF-8"?>
<add prefix="http://wdev.xyz.com/Services/xxx/" />
I have very high level knowledge of Rest. I was little confused when it came to WCF restful services. I have a service which is actaull a intranet service however it gets called from Desktop application as well as from web application. So currently
we have WSHttp (for web app)& netTcp(for desktop) binding provisioned. Now if i think about makeing this service Restful will my NetTCP biding still work with this model.
Based on my understanding Rest is more toward Http Api based model so it will not help me for TCP based biding. secondly if at all i have to make this service Rstful what approach i need to follow make this service support NetTcp without code duplication.
I'v got a wcf service witch implements a duplex operationcontract, but how do i "invoke" the client's callback from a website (same server/project) at any giving time?
e.g when i web user presses a button og my website, how do i call the callback function for one/all duplex webservice clients?
do i implement a function in the webservices and then create a channel in the website code-behind, or is there some clever way of doing that? also if i would like to pull some information of the webservice from the website?
thanks Mikkel Snitker