endpoint.tv Screencast - Creating Your First WCF Service
- Posted: Aug 13, 2008 at 8:00 AM
- 596,975 Views
- 108 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
why doesn't clicking on the screencast do anything?
Browser is IE6... Even in microsoft own stuff nothing works as it should.
How far did you try listening through the screencast? There is only one slide (title slide) for about 45 seconds, then it goes to Visual Studio for demonstration.
(I tried it from my desktop and laptop, and both seem to be working okay)
Thanks,
Cliff
Yes, I was using Windows Media Player to watch it. The version is 10.00.00.4036. I am on Windows XP. What I did was clicking the big green play button on top of this page. I try to download (through the download link) but that did not work for me too. Please advise.
Sound only here too !
Both silverlight and downloaded versions work great in IE 8.
why do all these demo stop, when they get it running on the development server. We have to deploy these services to our hosting site. Which file do I deploy to my discount ASP.Net site?
How can i download this as an .wmv ? Please answer quickly...
To download it as .wmv file:
You see "Formats" below the Video.Click it and right click WMV(High).
"Save Target as " to your local folder.
The video is gr8 with good quality.
Better install Silverlight and upgrade your Hardware if any issues.
It works fine with Windows 7 and IE8 and Silverlight.
I don't know what happened you guys but it's working great. Thanks for the video.
works great only after i sign-in.
before sign-in, video was chop off from the embedded screen.
after sign-in, all is good.
excellent tut btw.
viewing from IE8, Vista.
Please PRONOUNCE 'W' as Double - U, not DEV, or DUB. It was aggravating and distracting to hear DUB - C - F, instead of the PROPER ENGLISH pronunciation: "Double - U - C - F"
Working Fine For Me
Thanks....!!
cool. you can write a pretty quick WCF service/application/thing. do you have one that EXPLAINS what you're doing? Where is this data being stored? Where can I find an actual enterprise/real world environment example beyond "for the purposes of this demo".
I guess for free this is a good lesson. Bare bones with respect to explaining what any of this actually means. I'll try a virtual lab.
Try on Internet Explorer. It will work. If still the problem, download Silverlight from Microsoft website.
The source code for the project discussed in this screencast and others would be of tremendous help to everyone. Thank you.
I haven't watched the full thing through yet, but it's a bit strange that the guy has a "sb" endpoint configured on the client tab of the WCF editor, that he hasn't mentioned before he claims you can hit F5 and away you go.. but, but but.. what about that endpoint? Maybe he'll tell me about it in another few mins, maybe not.
Hi,
Good morning to all.
I am newbie to WCF. I have done exactly like in the video. But I am not getting palce to enter Submitter or Comments, or SubmittedDate.
The page is simply populating with invoke button.
What could be the problem?
Advace thanks.
Way cool man. This answers a lot of questions for me.
I've tried reading some WCF books and they got too bogged down with architecture details. This video was exactly what I needed to get my hands dirty. Thanks Aaron!
Thanks!
Good intro. Thanks for making it available.
My only criticism is that the narrator seems to say "dub" or "dove" rather than "double-you" - it's a little distracting.
Brilliant! Its truly helpful
Thanks
Good Intro to WCF.
Thank You!
Why Silverlight? This doesn't work on my Archos 5
If I have to download it I guess that'll work...
Well, I find it pretty heavy to digest for a first contact, or should I say a first contract!
And I'm pissed at M$ for making me install Silverlight, which I DON'T TRUST. That's another technology that will be subject to security issues, just reading about it makes me want to uninstall it. The web is the web, we shouldn't be forced to make our browsers able to run complete applications which can mess with our computers. And do we really need this to watch videos? I don't think so!
That being said, I'm still at the starting point with WCF and now have my computer infected
Found this to be an easier startup point :
http://www.youtube.com/watch?v=Oq1YYLP_yTo
(Intertech - WCF)
a little bit longer though...
Its good post for the people who are new to WCf and way of the explanation was awesome..
I have done the same thing but getting an error like below when I run the application
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'svcutil, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
File name: 'svcutil, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A)
The Zone of the assembly that failed was:
MyComputer
IE 6 is no longer supported by Microsoft and Facebook, Google and many other companies and web developers. http://www.cio.com/article/593681/IE6_Past_Its_Expiration_Date_Says_Microsoft?source=rss_news
Good one for a novice like me!
thanks, its really good stuff.
I only hear the sounds for the first few sec or 1 min but afterward, the video starts fine.
@robertivanc: You need silverlight installed... to see it on the web
Excellent introduction
Good
Good
Excellent video. Very simple, very direct, very helpful!
i don't get the dll file at bin can you please suggest wat to do????????
@ankur soni: when you compile the proyect, the dll is automatically generated at bin folder.
Try this: ctrl+shift+B
Excellent
Hi, I tried making the same service as mentioned in the video in VS2010, and when i tried running the application to host the service I get an error as
Unable to start program 'c:\program files (x86)\microsoft visual studio 10.0\common7\ide\wcfsvchost.exe'.
Can you please help me with this?
With regards Biju
Thanks, very good tutorial..very good for beginners like me
thanks,
Sandesh daddi
www.sanshark.com
Thanks for the tutorial.
Tried WCF for the first time through this tutorial...
Hello, I have enjoyed this video up to the point to trying to get it to run. When I press the F% key to start the application i get the following message: "Program 'J:\Users\TomJ\Documents\Visual Studio 2010\Projects\EvalServiceLibrary\EvalServiceLibrary\obj\Debug\EvalServiceLibrary.exe' does not contain a static 'Main' method suitable for an entry point EvalServiceLibrary"
I have both VS2010 Express and VS2010 Professional Trial versions of this environment. I have successfully ran other small WCF/WPF service/client applications with no problems. I even went back to all of them and searched for the "MAIN()" entry point which none of them have. Can someone help me resolve this issue? Thanks in advance . . .
TJ
Hai All,
I have tried to download this series of video's(Windows Communication Foundation Screencasts). I have downloaded some of the video's. Most of the video's are not download. This is give error message as "Media failure. try reloading the page or visiting the main site for assistance". I have reloaded those pages which pages got error, it still no use. Any one guide me to download all the video's in this series. Do the needful ASAP..
Regards,
GokulaKrishnan.
@GokulaKrishnan: I have the same problem, which comes from Silverlight ( all these videos are hosted in Silverlight). It is strange that Microsoft does not have answer for this ( My platform is Windows 7 nad IE 8, Silverlight 4).
thanks alot dude..
surely you are an experienced person...
Cool demo. Thanks.
@robertivanc: Dude! IE6!? Seriously? Are you kidding me!? Have you considered using a proper modern day browser?
Why would you use a string as the ID of the Eval???
Surely 'int' would be the preferred choice, no?
Don't mind me...didn't realise at the time that the ID is a GUID - but why not keep the GUID type instead of converting to a string?
[quote]
a moment ago
Why would you use a string as the ID of the Eval???Surely 'int' would be the preferred choice, no?
[/quote]
Well, without captions / subtitles, it's very difficult for a deaf developer to follow this video - I have to Google to discover how to make the "WCF Test Client" to appear, as the presenter appears to do stuff with shortcuts (the keyboard is not visible in the video, but probably is saying what he or she types) so some things that appear without mouse clicks seems to just show up magically.
@robertivanc: Because you are using anequated tech which will no longer be supported by microsoft this year. IE6 is too old to continue to support.
Thanks for the video. Very smartly done.
Presenter forgot to add svc file in order to run wcf test client.
Without svc, F5 is useless :)
This video is working great, I actually did this! Wasn't that hard! Now I now how to make a WS using WCF, well kind of, I know I need more to learn, but this is a start! Now to see more tuts/vids about WCF :)
Thanks for this great Tutorial
10/10 RATING!
LOL guys nothing wrong video, first 45 sec 1 slide just talking and after that demo. Sound is fine also. There is no reason click video hover over the video menu shows up at bottom of the video.
Well done, very succinct - there is a lot here for 10 mins of training.
Very good
Thanks
Its very good video.
If any another for database connectivity it will be great...
Where's the VS 2010 walkthrough?
Is there a place where I can download the code used for this video?
Thanks in advance
After lots of google I found something valuable and easy to Learn WCF.
Thanks
thanks for this nice intro
I have create a service but when i configure the service name through edit configuration then it not show the service name in .dll file of my service
so please, you remove my problem
thanks
Would be really nice to have this in VB as well.
Thanks for this wonderful intro!
Thanks for sharing... Very nice learning session...
Great video -- Thanks!
Great intro, many thanks.
Well. I thought it is just a "Hello world" example. I'm lucky, because i know linq and i used Guid earlier, which is not that trivial if you are a beginner.
Could microsoft just please make a video about a dead simple exampe? Like returning the actual date or something?
It is useful for the begeners
Aaron,
You certainly know your stuff. I think you need to slow down, you go way to fast. I had to watch each video many times before I got the hang of this.
Good One
Nice video
Every time you say "dub cee eff" I want to kick you in the balls. It's a * DOUBLE-YOU.
Very cool video, useful and direct. Nice job !
This is awesome. It is very helpful for me and this link
http://www.mindstick.com/Articles/a0e46f74-f76e-4804-a3ed-ccd0738c0d36/?Creating%20%E2%80%9CHello%20World%E2%80%9D%20WCF%20Application
also helped me to complete my task.
Thanks !
Thank you for the use full video.
Excellent work...
Most useful thing ...
Knowledge is mean to b transferred..otherwise it has no meaning...
Thanks for a good learning session.
This is an excellent video of creating a WCF Service. Thank you!
Lousy "tutorial". It's one of those typical so-called tutorials where you follow along blindly: "Click here, type type this, press this button, open that window, etc."
Of course it's easy to follow along (monkey see, monkey do) but the author never explains WHY you are clicking here or typing this or that. In other words, no concepts are ever discussed. You won't learn much by watching this "tutorial" because the author never provides a context for what you're doing and why. He offers no explanations of underlying concepts.
Totally useless.
Its working great..opened automatically in media player..nice introduction...
thanks...i got lots of knowledge...but can u tell where this will be applicable.
Useless ... the demo is totally void of context. I have no idea what is talking with what. You as well have been talking about tea futures on the Chinese commodities market.
This is a good intro video, if you have already known a bit about wcf, e.g., ServiceContract, DataContract, host, binding, and so on...
Lol you use IE 6
This video provide well presentation about WCF..thnx for contributing
It's great
video sound not working properly
this is a well-prepared first example. thanks. :)
Thanks for sharing such great video for biginners it help us alot...
Everytime he says "dub cf" I want to shoot myself. I guess it makes it worse that I learned VB instead of C#.
Gr8 description here...
Says i need to upgrade to view it. I'm using IE8, Microsoft need to sort htis
Its really good video to start.
thanks
I get the following error when trying to point the configuration at my dll (6:05 in the video):
Could not load file or assembly 'file:///D:\Projects\EvalServiceLibrary\EvalServiceLibrary\bin\Debug\EvalServiceLibrary.dll' or one of it's dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
This was a very nice example to get me going with WCF. When creating the class that utilized the interface, it was cool how you called in the methods. A lot of shortcuts I learned from this tutorial as well.
Kudos!
Nice presenation in a easily understandable manner. Thanks
Quick, concise and accurate. Learned a lot, thanks.
Couple of differences noted while doing this in the VS 2012 RC.
1) Starting project was "WCF Service Application"
2) You can keep the data section separate but don't try to start the IEvalService or EvalService files using a class. Add the ""WCF Service" instead and you will get both.
3) The App.Config portion can be skipped.
F5 and the WCF Test Client runs just fine.
SS
UPDATE: Apparently later videos depend upon this project being a "WCF Library" so you may want to go that route. In that case you will need to play with the app.config as stated. I did it both ways in VS2012 - works as advertised.
That's an amazing piece of work. Thanks a lot.
Great Presentation and Explanations. Thanks Aaron
the best
Remove this comment
Remove this thread
close