I want to make use of some of the ASP.NET 3.5 capability within SharePoint 2007. In particular, I want to do the following:
Provide REST and maybe JSON through HTTP so that another product can consume SharePoint content.
Provide AJAX web parts within SharePoint. These will probably have little to no server side controls. Most conten...
I've been developing in MS technologies for longer than I care to remember at this stage. When .NET arrived on the scene I thought they hit the nail on the head and with each iteration and version I thought their technologies were getting stronger and stronger and looked forward to each release.
However, having had to work with WCF for ...
I want to write a generic class that should be casted to itself with a different generic argument.
class Base {}
class Inherited : Base {}
class MyGeneric<T> {}
// WCF Service interface
void Foo(MyGeneric<Base> b);
// somewhere else
MyGeneric<Inherited> inherited;
Foo(inherited)
I know that this could be done in C# 4.0, but this do...
Anyone have a naming strategy that works well for service proxy classes?
For example, if I am given three web services within two projects as follows:
XWs
AService.asmx
YWs
BService.svc
CService.svc
What would use as the Service Reference Name & Namespace for AService, BService and CService ?
In general, I'd like something in ...
Hi there,
Can anyone help, i have been succesfully testing with the built in tdd that ships with vs 2008. But now i wish to test my wcf... I added a default.aspx in the wcf service (you need to do this according the ms) ... now when i put a break point in my test.. and click the icon debug test in current context, all goes well ..,the t...
I have a web application uses a proxy to invoke an operation on a WCF Service that returns data from an AS400, like the different Sales Regions associated with our companies, the different stores we have out in the field, etc. These Sales regions and Stores don't change often, stores are only added maybe twice a year and regions have bee...
Hello Everyone !
i think my whole questions is inside title bar =]
but i'll explain little more.
i've got 2 related tables in database ( Customers and Orders )
and wcf service which returns Customer and all related Orders as DTO's
like this :
class CustomerDto
{
int ID;
IList< OrderDto > Orders;
}
and :
class OrderDto
...
I want to write a data access layer for a file based database behind a data driven website. There would be lots of concurrent update and reads going on, I'd like at the very least that access be serialized, so that page request would get in a nice orderly line.
What WCF configurations would get me what I want? Does PerSession concurre...
My project is in VS2008/C# and a WCF service library. Trying to test the service, hit F5. Get the WcfSvcHost.exe error and this is more deatails below
Error Signature:
AppName: wcfsvchost.exe AppVer: 9.0.622.1152 ModName: mscorwks.dll
ModVer: 2.0.50727.3082 Offset: 00080012
The IDE get back to normal code mode and the WcfTestClien...
I need to be able to store the XML of my web.config serviceModel element in a database, and have my application read it at startup. Is there a way to do this by just changing my startup code to "override" the serviceModel element in the .config file? I see there is an answer to another question about doing this for the appSettings sect...
I have a WCF service that posts messages to a private, non-transactional MSMQ queue. I have another WCF service (multi-threaded) that processes the MSMQ messages and inserts them in the database.
My issue is with sequencing. I want the messages to be in certain order. For example MSG-A need to go to the database before MSG-B is inserte...
I've been trying to get WCF security working for my project, and have had little luck. I'm trying to create a service that uses net.tcp as the binding, and does both message and transport security. Message security is done using username and password and transport security is done (supposedly!) using certificates.
For my development tes...
VS WCF integration has nice option "Reuse types in refrenced assemblies". The problem is that I need the same but for the current assembly. Some of the types are already defined in my assembly and I need to reuse them.
Usage scenario:
I have assembly, and have TypeA here.
I add Service Reference ot it, and one of the methods returns t...
Hello, a new member here. Nice to see such a neat community.
After a bit of research, I decided to use WCF in my application to do inter process communication, so I am using the NetNamedPipeBinding binding.
The ServiceHost hosting application is not a dedicated server, so it has to spawn the ServiceHost via a thread. So far so good.
S...
In the kiosk system I'm setting up, all Kiosks communicate with a central server to check in and receive update commands. I don't use the Dual Http communication because I can't guarantee what ports are going to be allowed at the client site, so communication is always initiated from the Kiosk (client). I currently have an Update contrac...
We are developing an app that consists of a web server that hosts a web service (amongst other things) and a client that will be communicating with that web service. Both the client app and the server are expected to be used within a corporate firewall. This application will be packaged up and deployed to organizations across the world...
While I am trying to learn WCF, and it seems straight-forward enough, I came through an odd situation...at least it seems odd to me.
Why is it that the ServiceHost ctor takes a concrete class, and the AddServiceEndpoint takes the Interface, and not vice versa? it seems the latter is more logical from an OOP standpoint.
Consider the fol...
I am trying to send a TreeDictionary from the C5 collection library over WCF. It gets to the recipient ok (I had to add a lot of KnownType attributes for what seems to be internal data structures) however now I am stuck at a point where it fails because it cannot create a default comparer for C5.KeyValuePair'2[typea,typeb]
Is this beca...
I'm exposing some CRUD methods through WCF service, for some data objects persisted in a database through NHibernate. Is it a good approach to use NHibernate classes as data contracts, or is it better to wrap them or replace them with some other data contracts? What is your approach?
...
I want to create a web service for my clients so they can display their data on their own web sites. Since I will not know what platform each client is running, what would be the best solution to create a proxy to the WCF service that can be used by all browsers? Also, I am not sure how I should present the data. Let's assume my users do...