[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Basic things needed to be there for practicing WCF

Posted on 2007-10-05
14
Medium Priority
?
226 Views
Last Modified: 2010-04-15
I am trying to do some practice on new WCF stuff. I have vs 2005 and not sure framwork 3.0 installed or not. I would like to know what are the basic things needed to be there for practicing WCF?
0
Comment
Question by:x1877
  • 7
  • 6
14 Comments
 
LVL 23

Expert Comment

by:Jens Fiederer
ID: 20025070
0
 

Author Comment

by:x1877
ID: 20025270
jensfiederer: How to find framework 3.0 is installed or not?
0
 
LVL 23

Expert Comment

by:Jens Fiederer
ID: 20025368
Take a look at your C:\WINDOWS\Microsoft.NET\Framework

(of course, C:\windows might be something else, we want %WINDIR%)

Each version of Framework that is installed will show up in there.

If you have no "v3.0" folder, you have no framework 3.0
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:desabhotlas
ID: 20025596
If the question is about the tools required to develop WCF applications and learn, offcourse you will require vs 2005 with 3.0 frame work installed. I would also recommand you to install microsoft virtual machine and create a bridge network(your own network between your host machine and the virtual machine) for running the applications.
0
 

Author Comment

by:x1877
ID: 20038137
i just compiled an application which is using basic sample codes for wcf. Just checked its assembly using ildasm.exe. Its showing framework version as 2.0. How this is possible? wcf is supposed to be working with 3.0 !!
0
 
LVL 23

Expert Comment

by:Jens Fiederer
ID: 20042886
You shouldn't need to use ildasm.exe to see assembly versions - just right-click on the assemblies in References and check Properties.

In my client, the only Reference that is 3.0.0 is System.Servicemodel

I'm sure they do not update EVERY assembly with new versions.
0
 

Author Comment

by:x1877
ID: 20048337
jensfiederer: i am not talking about system assemblies. What i am talking about is the assembly created by my project.
0
 
LVL 23

Expert Comment

by:Jens Fiederer
ID: 20048381
And I am talking about "Who cares".

You need .NET 3.0 for the System.Servicemodel assembly.

You have compiled and linked the sample code.  It runs fine.

Why are you complaining about the way the assembly is tagged?
0
 

Author Comment

by:x1877
ID: 20052323
My assembly is running on framework 2.0 or 3.0?
0
 
LVL 23

Accepted Solution

by:
Jens Fiederer earned 2000 total points
ID: 20052398
If ANY of your assemblies (in this case, System.Servicemodel) are marked 3.0, you have to run on 3.0.
0
 

Author Comment

by:x1877
ID: 20056187
jensfiederer: i am sorry if i am repeating questions. Its because i am a beginner and just curios.

That is true in theory. How can i prove that to one of my friend? Can i use ildasm for showing that its running on 3.0?
0
 
LVL 23

Assisted Solution

by:Jens Fiederer
Jens Fiederer earned 2000 total points
ID: 20056267
Run it.  See that it works.  

Uninstall .NET 3.0.  See that it does NOT work.

IldAsm tells you what is INSIDE the assemblies, not what is running them.
0
 

Author Comment

by:x1877
ID: 20056333
lol lol

Thats a good idea. But do we have any other alternative way for this?

By the way Thanks for the quick reply
0
 
LVL 23

Assisted Solution

by:Jens Fiederer
Jens Fiederer earned 2000 total points
ID: 20056591
What kind of alternative would you expect?

1) Trust what the documentation says
2) See for yourself

would seem to just about cover it.

If you mean a less destructive way, I have not done this myself, but you might use a tool such as listdlls
http://malektips.com/xp_dos_0031.html
to prove to your friend that .NET 3.0 dlls are being loaded......
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Screencast - Getting to Know the Pipeline
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question