9,869,444 members (34,215 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
40 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 1
Page Size:
10
·
25
·
50
Author filtered by: Mike_Liu
[x]
Re: Issue while running the WCF test client.
by
Mike_Liu
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.
General Discussions
»
Article "Implementing A Wcf Service With Entity Framework"
Re: Translation Custom Views/Joins
by
Mike_Liu
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
General Discussions
»
Article "Implementing A Wcf Service With Entity Framework"
Re: My vote of 5
by
Mike_Liu
Forum Message
3 May 2013
Thanks for catching this error. I've corrected it.
General Discussions
»
Article "Concurrency Control Of Wcf Service With Entity Framework"
Concurrency Control of WCF Service with Entity Framework
by
Mike_Liu
Article
3 May 2013
license:
CPOL
Implement a WCF service with Entity Framework that supports concurrent updates.
Platforms, Frameworks & Libraries
»
Windows Communication Foundation
»
General
.NET3.0
C#3.0
.NET3.5
Dev
WCF
LINQ
Beginner
Intermediate
C#
.NET
, +
Re: Self Hosting example
by
Mike_Liu
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.
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
Re: Good article but getting error
by
Mike_Liu
Forum Message
2 May 2013
For .NET 4.5/VS 2012, you should read the updated article: Imp
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
Re: Consuming the service
by
Mike_Liu
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
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
Re: Consuming the service
by
Mike_Liu
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.
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
Re: EndPointNotFound Exception
by
Mike_Liu
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
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
Re: Multiple services but only 1 Ref in UI
by
Mike_Liu
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
General Discussions
»
Article "Implementing A Wcf Service With Entity Framework"
Implementing a WCF Service with Entity Framework
by
Mike_Liu
Article
2 Mar 2013
license:
CPOL
Implement a simple WCF Service using Entity Framework as the backend ORM.
Platforms, Frameworks & Libraries
»
Windows Communication Foundation
»
General
Dev
WCF
LINQ
Intermediate
C#
.NET
Visual-Studio
C#4.0
VS2010
.NET4
Implementing a WCF Service with Entity Framework (v4.5)
by
Mike_Liu
Article
2 Mar 2013
license:
CPOL
Platforms, Frameworks & Libraries
»
Windows Communication Foundation
»
General
C#
Windows
Dev
WCF
Beginner
Implementing a Basic Hello World WCF Service
by
Mike_Liu
Article
2 Mar 2013
license:
CPOL
Manually implement a basic WCF Service from scratch, step by step, with clear instructions and precise screen snapshots.
Platforms, Frameworks & Libraries
»
Windows Communication Foundation
»
General
C#3.0
.NET3.5
Dev
WCF
Beginner
Intermediate
C#
.NET
C#4.0
.NET4
, +
LINQ to SQL: Advanced Concepts and Features
by
Mike_Liu
Article
2 Mar 2013
license:
CPOL
Advanced concepts and features of LINQ to SQL, including Stored Procedure support, concurrency control, and transactional processing.
Platforms, Frameworks & Libraries
»
Linq
»
General
C#3.0
.NET3.5
Dev
LINQ
Beginner
Intermediate
C#
.NET
C#4.0
Re: Need to Implement WCF in one of my project
by
Mike_Liu
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
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
Implementing a Basic Hello World WCF Service (v4.5)
by
Mike_Liu
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.
Platforms, Frameworks & Libraries
»
Windows Communication Foundation
»
General
C#
Dev
WCF
Development
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
General Discussions
»
Article "Implementing A Wcf Service With Entity Framework"
Re: Very nice explanation - Voted 5
by
Mike_Liu
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.
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service (V4.5)"
Re: My Vote 5 - Only needed to make one change to work properly
by
Mike_Liu
Forum Message
11 Feb 2013
Thank you for pointing out this. I've updated the article.
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service (V4.5)"
Re: When will you post the next article?
by
Mike_Liu
Forum Message
17 Jan 2013
LINQ to Entities: Basic Concepts and Features[
General Discussions
»
Article "Linq To Sql: Advanced 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
General Discussions
»
Article "Implementing A Wcf Service With Entity Framework"
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
General Discussions
»
Article "Implementing A Wcf Service With Entity Framework"
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.
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
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.
General Discussions
»
Article "Linq To Sql: Basic Concepts And Features"
Easier: http://forums.asp.net/t/1138955.aspx
by
Mike_Liu
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
General Discussions
»
Article "Outlook Drag And Drop In C#"
Re: Server Error in '/HostDevServer' Application
by
Mike_Liu
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
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
Re: Update more than one record at the same time
by
Mike_Liu
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
General Discussions
»
Article "Implementing A Wcf Service With Entity Framework"
Re: returning all products as an array
by
Mike_Liu
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.
General Discussions
»
Article "Implementing A Wcf Service With Entity Framework"
Re: Fabulous Explanation..!! But one Question....Can we use WCF to enable communication between Two Desktop Applications on Intranet or Internet
by
Mike_Liu
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
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
Re: Can the ProductEntity be removed?
by
Mike_Liu
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
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
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
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
LINQ to Entities: Basic Concepts and Features
by
Mike_Liu
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.
Platforms, Frameworks & Libraries
»
Linq
»
General
.NET3.5
Architect
Dev
LINQ
Beginner
Intermediate
Advanced
C#
.NET
C#4.0
, +
LINQ to SQL: Basic Concepts and Features
by
Mike_Liu
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.
Platforms, Frameworks & Libraries
»
Linq
»
General
C#
.NET
Dev
LINQ
Beginner
Intermediate
Introducing LINQ—Language Integrated Query
by
Mike_Liu
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.
Platforms, Frameworks & Libraries
»
Linq
»
General
.NET3.5
C#
Dev
LINQ
Beginner
.NET
C#3.5
EF
Re: Very Nice & Question
by
mikeliu88
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
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
Re: can it be done in VS2008
by
mikeliu88
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.
General Discussions
»
Article "Implementing A Wcf Service With Entity Framework"
Re: Why a need for translation?
by
mikeliu88
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
General Discussions
»
Article "Implementing A Wcf Service With Entity Framework"
Re: Same application with VS 2008
by
mikeliu88
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
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
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
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
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="
General Discussions
»
Article "Implementing A Basic Hello World Wcf Service"
Page 1 of 1
First
·
Prev
·
Next
·
Last
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