Questions tagged [.net-3.5]

The 3.5 version of the .NET Framework, which is based on the 2.0 .NET Framework with extra assemblies (including 3.0). Use for questions specifically related to .NET Framework 3.0. For questions on .NET Framework generally, use the .net tag.

The 3.5 version of the Microsoft .NET Framework, which is based on the 2.0 .NET Framework. In addition, it installs .NET Framework 2.0 SP1, (installs .NET Framework 2.0 SP2 with 3.5 SP1) and .NET Framework 3.0 SP1 (installs .NET Framework 3.0 SP2 with 3.5 SP1).

What's New in .NET Framework 3.5
.NET Framework 3.5 System Requirements

Released by Microsoft Corporation
Version Number: 3.5.21022.8
Release Date: 2007-11-19

5938 questions
109
votes
22 answers

How to change the color of progressbar in C# .NET 3.5?

I'd like to do two things on my progress bar. Change the green colour to red. Remove the blocks and make it in one color. Any information about those two things I wonder how to accomplish will be greatfuly appreaciated! Thanks.
Ivan Prodanov
  • 34,634
  • 78
  • 176
  • 248
107
votes
5 answers

Is there a DesignMode property in WPF?

In Winforms you can say if ( DesignMode ) { // Do something that only happens on Design mode } is there something like this in WPF?
Russ
  • 12,312
  • 20
  • 59
  • 78
98
votes
16 answers

WPF CommandParameter is NULL first time CanExecute is called

I have run into an issue with WPF and Commands that are bound to a Button inside the DataTemplate of an ItemsControl. The scenario is quite straight forward. The ItemsControl is bound to a list of objects, and I want to be able to remove each object…
Jonas Follesø
  • 6,441
  • 7
  • 41
  • 54
98
votes
6 answers

Don't stop debugger at THAT exception when it's thrown and caught

In tools/exceptions, I've set the option that the debugger stops when an exception is thrown. Whether it is caught or not . How do I exclude an exception of that rule? Somewhere in my code there is a caught exception that is part of the program…
MichaelD
  • 8,377
  • 10
  • 42
  • 47
93
votes
7 answers

How do I tell if .NET 3.5 SP1 is installed?

How can I find out if SP1 has been installed on a server which has .NET 3.5?
Guy
  • 65,082
  • 97
  • 254
  • 325
89
votes
4 answers

Paging a collection with LINQ

How do you page through a collection in LINQ given that you have a startIndex and a count?
Nick Berardi
  • 54,393
  • 15
  • 113
  • 135
87
votes
10 answers

'Contains()' workaround using Linq to Entities?

I'm trying to create a query which uses a list of ids in the where clause, using the Silverlight ADO.Net Data Services client api (and therefore Linq To Entities). Does anyone know of a workaround to Contains not being supported? I want to do…
James Bloomer
  • 5,212
  • 2
  • 22
  • 23
87
votes
15 answers

Extender Provider failed to return an Extender

We upgraded from .NET 2.0 to .NET 3.5. A co-worker of mine is getting the following dialog when attempting to run the ASP .NET web project under the debugger in Visual Studio 2008. He can build fine, but he can't debug (hence, it's a run-time…
Dan7el
  • 1,995
  • 5
  • 24
  • 46
85
votes
12 answers

Will the IE9 WebBrowser Control Support all of IE9's features, including SVG?

I recently upgraded to IE9-beta. Now, In my .Net (3.5) WinForm application I want to use WebBrowser control. So my question is, whether the WebBrowser control will exhibit all properties and functions of IE9? My concern is, I want to render some…
Omkar
  • 2,129
  • 8
  • 33
  • 59
84
votes
2 answers

How do you determine if two HashSets are equal (by value, not by reference)?

I am trying to determine if two HashSet objects in .NET 3.5 (C#) are equal sets, i.e. contain the same values. This seems like something one would obviously want to do but none of the provided functions seem to give you this information. The way I…
Craig W
  • 4,390
  • 5
  • 33
  • 51
83
votes
11 answers

Memcached with Windows and .NET

Is there anyone already implement memcached for production use in Windows environment? Because many blogs that I've read, it's not recommended to run memcached in Windows especially for production use, for example running memcached on windows. And…
Funky81
  • 1,679
  • 4
  • 18
  • 24
82
votes
11 answers

best way to clear contents of .NET's StringBuilder

I would like to ask what you think is the best way (lasts less / consumes less resources) to clear the contents in order to reuse a StringBuilder. Imagine the following scenario: StringBuilder sb = new StringBuilder(); foreach(var whatever in…
David Espart
  • 11,520
  • 7
  • 36
  • 50
81
votes
7 answers

StringDictionary vs Dictionary

Does anyone have any idea what the practical differences are between the System.Collections.Specialized.StringDictionary object and System.Collections.Generic.Dictionary? I've used them both in the past without much thought as to which would perform…
Scott Ivey
  • 40,768
  • 21
  • 80
  • 118
77
votes
4 answers

Convert DataRowCollection to IEnumerable

I would like to do something like this in .NET 3.5. What's the quickest way? IEnumerable collection = TypedDataSet.TypedTableBase.Rows as IEnumerable;
Abdu
  • 16,129
  • 13
  • 59
  • 84
77
votes
4 answers

What is the best OAuth2 C# library?

It seems like many app providers are using OAuth2 to allow API access, such as Twitter and Facebook. Does anyone use a good library to do OAuth2 processing that is general enough to use across all applications?
TruMan1
  • 33,665
  • 59
  • 184
  • 335