I wonder what would be the best way to learn "new" technologies (i.e. like LINQ, WPF, WCF, AJAX, latest C# 3.0 stuff, etc)?
How do you learn the best? Is it by books, webcasts, online articles, tutorials, examples or hands-on-labs?
Also, how do you make sure that you will remember the learned stuff?
(reading a book/article again? dig...
I'm currently working on a project where I need to consume a Java webservice. If I connect to the service using old webservices (asmx) it works fine. However, If I try to do the same thing with a WCF client I get the following error:
The content type text/xml; charset=utf-8 of the response message does not match the content type of the...
I am wanting to expose some data service endpoints for internal application use and am debating on WCF REST as a possible solution. What are my options for other languages/platforms as clients? Keeping in mind that I need to service Java, Python and .Net clients.
Essentially, I want to be able to demonstrate a single point of organ...
Hi guys,
I created my first WCF RESTful service with just one GetData so I can try, and it works perfectly in localhost, but when I add it to a hosting environment, I get:
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please revie...
Hi guys,
I have a DLL in the BIN folder, and I need it to be referenced in the web.config, or I get that annoying error:
Description: An error occurred during
the compilation of a resource required
to service this request. Please review
the following specific error details
and modify your source code
appropriately.
Co...
I just worked through a book on WCF and was surprised that it didn't even mention REST at all.
Was REST an afterthought for WCF that was added in .NET 3.5 SP1 and hence not baked in well or is it well integrated?
I assume that Silverlight and XBAPs can consume WCF with no problem or do they have some limitation due to their sandbox env...
Some background:
in order to provide authentication I'm using certificates on client and server side (WCF) and use one certificate for all clients (manually loading it from application directory - not the safest way, but it doesn't require to manage certificate storage and making installation more difficult):
AddressHeader host...
;Im writing a small WCF/WPF app to resize images but WCF is giving me grief when I try to send an image of size 28K to my service from the client. The service works fine when I send it smaller images. I immediately assumed that this was a configuration issue and I've trawled the web looking at posts regarding the MaxArrayLength property ...
May be this is a newbie questions, I'm deploying a Ajax-enabled WCF Service on the production and it says 'the resource cannot be found' what am I missing ?
...
Hi,
I would appreciate some guidance on modelling services and operations in WCF.
I have a series of business domains, each with bespoke methods that I want to able to use over WCF. I guess an OO view would be something like:
interface IBusinessDomain1
{
MyClass1 Method1(...)
MyClass2 Method2(...)
}
interface IBusinessDomain2...
I am load testing my website. The site calls to a WCF service running on the same box using clientCredentialType="Windows". Everything works until I reach a certain load (which is not even very high), then I get the following error:
System.ServiceModel.Security.MessageSecurityException:
The HTTP request was forbidden with
clien...
I have a WCF service that takes as a parameter a string value "name". This service interface looks like this...
[ServiceContract(Name = "ContactLookup", Namespace = "Search")]
public interface IAjaxResultSearcherService
{
[OperationContract]
[WebGet(RequestFormat = WebMessageFormat.Json)]
Result[] SearchResultsWithNameLike(s...
I am new to web development and WCF. I am reading some basics about it and most of the things seem very interesting.
I have read that WCF services can be exposed using SOAP and other protocols. I was wondering whether there is an explicit implementation against data corruption during transmission built-in or it is left to user?
For exa...
Apologies if this question appears twice on stackOverflow
Im trying to run a wcf service on a windows server 2003 box. Im getting a System.ServiceModel.AddressAlreadyInUseException exception when the servicehost calls Open() and it tells gives me the following error:
HTTP could not register URL http://+:8080/LogoResizer/mex/ because...
My web service (wcf) stopped working all of a sudden.
I compared my web.config with older versions and they all have the exact same elements so I am very confused why all of a sudden I am getting this error message.
Have any of you run into this problem before?
Filename: web.config Line Number 151 Error: cannot add duplicate collectio...
Hi,
Here is part of my web.config for my WCF service:
<bindings>
<basicHttpBinding>
<binding name="sslBinding">
<security mode="TransportWithMessageCredential">
<message clientCredentialType="UserName" algorithmSuite="Default" />
<transport />
</security>
</binding>
...
How can I get WCF to allow the following?
Dim EmployeeID as Integer = 10
Dim emp As New WcfServiceLibrary1.Employee(EmployeeID)
Response.write (emp.LastName)
Currently I have to do this because I can't figure out a way for WCF to allow for Parameterized Constructors:
Dim EmployeeID as Integer = 10
Dim emp As New WcfServiceLibrary1.Em...
Hi,
My WCF seems to be pulling the computer-name instead of the domain name.
When I view the MyService.svc?wsdl it is showing my computer name.
Where do I add my domain name in the web.config?
Endpoint address, baseaddress or identity?
Note: I am using SSL so it has to be https://www.example.com/myservice.svc
...
I have a Silverlight 2 application that calls a WCF Service that invokes a database stored procedure. The query could take several minutes to process and I want to provide a cancel button on the client UI.
How do I properly abort the WCF operation that was called? What is the best practice?
...
Does it make sense to transfer data between Object-relational and Data Access Layer using DTO? When would this pattern be useful and when would it be an anti-pattern
...