I've got a simple WCF Web service that uses basicHttpBinding to make it SOAP 1.1 compliant. When called with a WSDL-derived proxy (by setting a service or Web reference), the service works great.
A business partner wants to call the service directly with the SOAP XML. I know how to provide that XML, but I'm not sure how to process the ...
The Microsoft documentation for
public bool Binary.Equals(Binary other)
gives no indication as to whether this tests equality of reference as with objects in general or equality of value as with strings.
Can anyone clarify?
John Skeet's answer inspired me to expand it to this:
using System;
using System.Data.Linq;
public class Pro...
Sorry for such naive question,but
can any one can explain me the difference between java web services(jax-ws) and .Net web services behaviours?.
Thanks you....
...
I'm currently using Microsoft Sync Framework and everything is working fine except the SQL triggers which don't appear to fire sometimes. Here is the trigger code generated by the framework. It works 90% of the time but occasionally the CreationDate is NULL after an insert. Could there be some date issue that I'm overlooking?
set ANS...
I have a piece of code like so
NetTcpBinding binding = new NetTcpBinding(SecurityMode.Transport);
binding.Security.Message.ClientCredentialType = MessageCredentialType.Windows;
binding.CloseTimeout = new TimeSpan(0, 0, 1);
binding.OpenTimeout = new TimeSpan(0, 0, 1);
binding.Se...
I'm trying to write a minidump from within the unhandled exception handler in a managed C# application (.NET Framework 2.0):
namespace MiniDumpTest {
class Program {
static void Main(string[] args) {
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
...
I need to split a string similar to a path, which is delimited by dots. The tricky part is that the each subentry may also contain dots, which are escaped by another dot. Each entry may otherwise contain basically anything (including special characters such as space or :;/\|(), etc..)
Two examples:
"Root.Subpath.last/entry:with specia...
Hi,
I m making windows mobile application, it refers some DLL's but i have some problem here.
Imagine my application is installed in storage card related DLL's present in Storage card only,
if i launch application it refers some of DLL, now i will remove the storage card, still my application will be running,it will not quit only ultima...
I need to look into all Contact type folders in an outlook mailbox (could be folders other than 'Contacts').I could not find an ItemProperty which would help me retrieve all Contact folders.
So,to do this, I am retrieving all folders in a mailbox first and then want to compare the FolderType of each retrieved folder to FolderType.Contact...
As a beginner on NHibernate (2.1.0), I am trying to set up my first unit test using the famous Northwind database. The test goes like this (the configuration files can be found at the end of this question) :
ISessionFactory sessionFactory=new Configuration().BuildSessionFactory();
ISession session=sessionFactory.OpenSession();
IList<Cus...
Googling reveals many technical details and framework/OS prerequisites, but it seems to be hard to find a source that lists the permissions that are required for installing and running a ClickOnce app.
This is especially interesting for delivering software to customers that work in large corporate networks with many security restrictio...
Hi all
apologies for the title, I got stuck for words
I'm dipping my toes in the MEF pond. So far, so good. I've got a host app and a couple of "plugin" assemblies that export things. The host app defines an attribute called DescriptionAttribute which inherits from ExportAttribute and has a simple Name property. My test form has an <Im...
I thought it will be a common question so I searched for a while but couldn't find it.
I am about to start a new project (C#, .net 3.5) and I was thinking about where I should I write the unit test code. I can create a unit test project and write all code there, or I can write the unit test code with the "class under test" itself.
What...
Is this a good or bad idea?
public interface IRepository<T>
{
...
IList<T> Get(Func<T, bool> predicate)
...
}
I mean - it seems really powerful addition and i could implement it too (at least - to some level) but my guts tells me it's kind a wrong. Could anyone enlighten me?
...
Is this the proper way to clean up after myself when using a connection to an oracle-server, using system.data.oracleclient?
using System.Data.OracleClient;
var con = new OracleConnection("some connection string");
con.Open();
con.Close();
con = null;
...
I want to call a stored procedure in SQL Server 2005 that returns an XML string that can then be passed into another method; I think the below code is right up until the point where I execute the query, but then I get a bit lost...
private string GetChartData(string OC_Ttl1, string OC_OL31, string OC_OL32)
{
string chartDat...
I'm hoping there's a simple answer to this one I've missed in hours of Googling...
I have a DataGridView which needs to display and add/delete/edit records from a database. I'm using the Entity Framework, so records are initially EntitySet.
Attempt One
BindingSource has facilities for sorting, but oh... they don't seem to actually ...
I am new to SOAP UI testing tool.
I am planning to create a testcase which involves connection to database.
I am having issues using the SOAP UI database connection wizard to connect to SQL server database.
I tried with all the available drivers and i am getting error "java.lang.Exception:Failed to init connection for driver"
I am able t...
Can someone enlight me about the version bindings between VSTO and the targeted office version?
I am using VS2008 with VSTO 3.0 to build and deploy an addin for Outlook 2003. I am totally confused about what is required on the target machine:
VSTO 2005 SE runtime or VSTO 3.0 runtime?
.NET Framework 2.0 or 3.5
Primary Interop Assemb...
Hey Everyone,
I'm trying to find some useful Open Source Testing Automation Tools for use with the .NET framework. I've done a fair bit of research, but unfortunately, most of the tools I have found focus on testing web applications only.
There are 3 types of programs that we run in order to make our software do what it needs to do: We...