Questions tagged [.net-3.0]

.NET Framework 3.0, formerly called WinFX was released on 21 November 2006. There are no major architectural changes included with this release. .NET 3.0 includes WPF, WCF, WF and CardSpace

.NET Framework 3.0, formerly called WinFX was released on 21 November 2006. There are no major architectural changes included with this release; .NET Framework 3.0 uses the Common Language Runtime of .NET Framework 2.0

.NET Framework 3.0 consists of four major new components:

Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF), Windows Workflow Foundation (WF) and Windows CardSpace.

Version Number: 3.0.4506.30
Release Date: 2006-11-21

More on Wikipedia

113 questions
158
votes
6 answers

What's the difference between IQueryable and IEnumerable

I'm confused as to the difference. Being fairly new to .Net, I know I can query IEnumerables using the Linq extensions. So what is this IQueryable and how does it differ? See also What is the difference between IQueryable[T] and IEnumerable[T]?…
James Hay
  • 12,580
  • 8
  • 44
  • 67
47
votes
34 answers

When creating a new GUI, is WPF the preferred choice over Windows Forms?

Most restrictions and tricks with windows forms are common to most programmers. But since .NET 3.0 there is also WPF available, the Windows Presentation Foundation. It is said that you can make "sexy applications" more easy with it and with .NET 3.5…
Anheledir
  • 4,337
  • 7
  • 32
  • 34
45
votes
1 answer

WCF: How do I get the list of endpoints from ServiceHost?

I can add endpoints using ServiceHost.AddServiceEndpoint. How do I get that list of endpoints back out?
Jonathan Allen
  • 68,373
  • 70
  • 259
  • 447
25
votes
4 answers

How do I write an XML string to a file?

I have a string and its value is: qwerty adsf The text of the sample element2 How can I write this string to a file using C# 3.0? Thanks in advance.
pragadheesh
16
votes
1 answer

WCF: Why does passing in a remote endpoint fail?

WCF: Why does passing in a remote endpoint fail when passing the same endpoint via the configuration file works? This works: Using con As New OfferingTap.OfferingTapClient(New ServiceModel.InstanceContext(callback),…
Jonathan Allen
  • 68,373
  • 70
  • 259
  • 447
16
votes
3 answers

blurred opacity

I need to create a transparent blurred background. Lets suppose I have a border with a white blurry transparent background. Everything that is behind the border is blurred. I'm trying to avoid dependencies; I'm currently using .NET 3.0, and want it…
Artur Carvalho
  • 6,901
  • 10
  • 76
  • 105
13
votes
2 answers

How to use System.IdentityModel in own client-server application

I've got a simple client-server application based on TcpClient/TcpListener and SslStream. Clients can authenticate themselves to the server using a X509Certificate or by sending a user name and password after the SslStream has been established. WCF…
dtb
  • 213,145
  • 36
  • 401
  • 431
13
votes
1 answer

Can I use extension methods and LINQ in .NET 2.0 or 3.0?

When I try to add an extension method using the .NET 2.0 or 3.0 runtime, I get the error: Cannot define a new extension method because the compiler required type 'System.Runtime.CompilerServices.ExtensionAttribute' cannot be found. Are you…
Scott Chamberlain
  • 124,994
  • 33
  • 282
  • 431
12
votes
15 answers

.NET 3.5 published in 11/07 .NET 3.0 in 11/06. Why are most people still using .NET 2.0?

People have been developing own solutions to the following problems: Consistent messaging frameworks for remote information exchange (webservices,rpc,...) SDK's for state managements for things such as Finite State Machines and…
Mephisztoe
  • 3,276
  • 7
  • 34
  • 48
10
votes
3 answers

How to get all XML nodes with the same name without knowing their level?

I have a XML Example: I…
Rafael Vegaças
  • 105
  • 1
  • 1
  • 7
9
votes
7 answers

Disable mouse scroll wheel in combobox VB.NET

Does anyone know of a way to disable the mouse scroll wheel when a control such as a combobox or listbox has focus? For my purposes, combobox is all I need the answer for. I have a combobox set to trigger a SQL query on SelectedIndexChanged, and…
Caleb Hearth
  • 3,315
  • 5
  • 30
  • 44
9
votes
1 answer

How do I extract a LinkedListNode from a LinkedList

I have a LinkedList that I am using to track consecutive numbers that are sent to this class. (I ultimately want to find the missing numbers). I now need to use the method ranges.AddAfter(recentNode,someNewNode), but I can't do it by casting. What…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
8
votes
3 answers

Why is there no ObservableKeyedCollection in the .NET Framework?

The .NET Framework contains since version 3.0 the ObservableCollection, but why isn´t there a ObservableKeyedCollection. Okay i could implement my own collection by deriving from KeyedCollection and implementing the…
Jehof
  • 34,674
  • 10
  • 123
  • 155
7
votes
4 answers

What version of the .NET framework should I target?

I'm a desktop C# developer (that is not ASP) and am wondering about version targeting for small personal projects. These are, of course, trying to reach as wide an audience as possible, and so I've been targeting .NET 3.0 (which is the latest…
MiffTheFox
  • 21,302
  • 14
  • 69
  • 94
6
votes
3 answers

Is there a way to use LINQ query syntax with .NET 3.0 projects?

I have a project which can only be deployed on a server running .NET 3.0. I desperately want to use LINQ to simplify some excruciatingly tedious logic. Is there a simple way to accomplish this? I'll settle for any syntax. Thanks a lot
Tushar S
  • 352
  • 1
  • 6
  • 15
1
2 3 4 5 6 7 8