Click here to Skip to main content
Page 1 of 1
Page Size: 10 · 25 · 50


Author filtered by: Mike_Liu [x]
Forum Message 5 May 2013  
well, the issue is, as the error message suggested, no connection string NorthwindEntities in your config file. You should open your config file and verify this.
Forum Message 3 May 2013  
There are two different ways to expose data to your clients. 1. Define one DataContract for each Entity, which correcposding to one database table. 2. Define one DataContract for one operation/pro
Re: My vote of 5 by Mike_Liu
Forum Message 3 May 2013  
Thanks for catching this error. I've corrected it.
Article 3 May 2013   license: CPOL
Implement a WCF service with Entity Framework that supports concurrent updates.
Forum Message 3 May 2013  
I don't have an article on self hosted WCF (though there is one example in my book; look at the 4.5 version of my book if you do want to to). But you should always try to host WCF services in IIS.
Forum Message 2 May 2013  
For .NET 4.5/VS 2012, you should read the updated article: Imp
Forum Message 2 May 2013  
If you used Add Reference then the proxy class is within a different namespace. Open the proxy class file, and find out whatever namespace it is in, then put a using statement in your client program c
Forum Message 1 May 2013  
Make sure you have added those two generated files to your client project. See section Customizing the client application step 1 for more details.
Forum Message 24 Apr 2013  
The WCF service in this article is hosted within ASP.NET development Server, so the endpoint you need to use should be http://localhost:8080/HostDevServer/HelloWorldService.svc, not http://localhost:8
Forum Message 8 Apr 2013  
You can put all of your services under namespace Companyname.productname.services.mainservice, so they will all look similar. If you have 3 svc files, you have to add 3 references to your UI projec
Article 2 Mar 2013   license: CPOL
Implement a simple WCF Service using Entity Framework as the backend ORM.
Article 2 Mar 2013   license: CPOL
Manually implement a basic WCF Service from scratch, step by step, with clear instructions and precise screen snapshots.
Article 2 Mar 2013   license: CPOL
Advanced concepts and features of LINQ to SQL, including Stored Procedure support, concurrency control, and transactional processing.
Forum Message 2 Mar 2013  
It is possible to use Office automation in a WCF service. You just need to install Office on your hosting server. As you have known now, the implementation part of a WCF service is just a regular C# c
Article 2 Mar 2013   license: CPOL
Manually implement a basic WCF Service (.NET 4.5) from scratch, step by step, with clear instructions and precise screen snapshots.
Re: can be simply by Mike_Liu
Forum Message 27 Feb 2013  
For a simple translate, like in this post, select new Product() will be OK. In a real service, you may have to embed some translating logic, in which case a separate translate method will be easier to
Forum Message 26 Feb 2013  
Endpoints are always neccessary. A WCF service cannot work if there is no endpoint defined. Though in WCF 4.0+, you don't need to define an endpoint explicitly. You can use the default endpoints.
Forum Message 11 Feb 2013  
Thank you for pointing out this. I've updated the article.
Forum Message 17 Jan 2013  
LINQ to Entities: Basic Concepts and Features[
Re: Hi! by Mike_Liu
Forum Message 19 Dec 2012  
Now I understand what you are trying to do. I thought you were trying to query a SharePoint database from a WCF service. Back to your question, just google "calling wcf service from sharepoint web
Re: Hi! by Mike_Liu
Forum Message 19 Nov 2012  
SharePoint has a built-in search web service (two flavors: asmx and WCF). You should call that webservice with your search criteria, then parse and display the result on your UI. You DON'T WANT to
Re: My vote of 5 by Mike_Liu
Forum Message 19 Oct 2012  
You should log on to your machine as an administrator and run Visual Studio as an administrator. This will auto-register the namespace for you.
Re: Db by Mike_Liu
Forum Message 6 Oct 2012  
Which DB script? The original Northwnd database is used for this article. I didn't create any special DB script here.
Forum Message 4 Sep 2012  
This solution works but the first two characters of the file name got chopped off. You may also want to try this (it only needs
Forum Message 18 Jun 2012  
Which web.config file are you talking about? Is it your local web.config file? The web.config file in this article is using the correct property (httpGetEnabled). When hosting the service in IIS wi
Forum Message 13 Apr 2012  
Yes, it is possible to update more than one record at the same time. Just change the interface to pass in an array of the products, then in the DAO, update each record, and submit your changes after y
Forum Message 13 Apr 2012  
Yes, a loop will be the way to go. I am updating my book to use self tracking entities, so the translation part can be avoided.
Forum Message 13 Apr 2012  
You can use TCP/Duplex for your purpose. Basically The WCF service will be hosted with TCP, and each client will register with the WCF service when the client is started. The WCF service will keep a l
Forum Message 25 Nov 2011  
Yes, the ProductEntity can be removed, if you like it that way. Actually in EF 4.0, a Self Tracked Entity has been added, so you can expose your EF entity object from the data access layer all the way
Re: Very nice.. but.. by Mike_Liu
Forum Message 25 Nov 2011  
This is usually an error to log in to your database using your default security credential. You can try to log on to your database using your windows credential to see if it works. An alternative w
Article 5 Sep 2011   license: CPOL
Basic concepts and features of LINQ to Entities, including querying and updating a database with L2E, deferred execution, lazy loading and eager loading, joining tables, and using Views.
Article 26 Jul 2011   license: CPOL
Basic concepts and features of LINQ to SQL, including querying and updating a SQL database with L2S, deferred execution, lazy loading, and eager loading.
Article 19 May 2011   license: CPOL
Learning the fundamentals about LINQ, i.e., data type var, anonymous types, lambda expressions, LINQ syntax, and LINQ queries.
Forum Message 23 Mar 2011  
You would want to use TCP binding for internal WCF services. A few things you need to pay attention to for TCP binding: 1. Make sure you enable non-http protocol first. 2. Change the default buffer
Forum Message 30 Dec 2010  
Yes, it can be done in VS2008. The process is very similar between 2008 and 2010. In fact, the first version of my book was in VS2008 and the new version is just an upgrade to VS2010.
Forum Message 23 Nov 2010  
As I said inside this article, exposing the EF object directly to the outside of the WCF is one way to do it, but many people are strongly against it. That's why I translated the EF object to another
Forum Message 2 Nov 2010  
The basic concepts of WCF are same for VS2008 and VS2010, so there is not a feature in this article that you can't run in VS2010. Anyway, since you have asked, one of the .NET 4.0 WCF features (no
Re: The Book by mikeliu88
Forum Message 2 Nov 2010  
Paul, the book you bought was the old version. The new version is called "WCF 4.0 Multi-tier Services Development with LINQ to Entities", which is for VS 2010. Anyway as you said the basic concept
Re: typo? by mikeliu88
Forum Message 30 Jul 2010  
It is a formatting/displaying issue. The browser added the mailto to it when displaying this part. I have fixed it in the article. FYI, this is the correct syntax for it: <%@ServiceHost Service="

Page 1 of 1


Advertise | Privacy | Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid