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
4
votes
1 answer

Best way to display image in WPF

Currently I'm working on a Ultrasound scanning project, which displays the continues images aquired from a probe, to do that I'm writing following code. XAML:
Prashant Cholachagudda
  • 13,012
  • 23
  • 97
  • 162
4
votes
1 answer

DropDownList missing font or string encoding issue

I have some Korean text I need to display on my WinForm. The text displays fine in my ListBox control. The same text does not display in my DropDownList control. Both controls have a font of Arial 8pt. The ItemHeight property for both controls is…
dior001
  • 751
  • 1
  • 13
  • 32
4
votes
3 answers

Is it possible to force a WebControl to render as a

How can I force the WebControl to render as a
? Currently, it renders as a and our UI guy prefers it be a
. To accommodate him, I'd like to see if this is possible and if so, how it's possible.
Yatrix
  • 13,361
  • 16
  • 48
  • 78
4
votes
6 answers

What is new in .Net framework 3.5?

I try to keep it very simple. All I have seen in .Net 3.5fx is language upgrades i.e C# 3.0, VB.Net 9, still core CLR is based 2.0fx. I really did not find any new features (LINQ is again language feature). Is .Net framewors 3.5 just like fixed…
Prashant Cholachagudda
  • 13,012
  • 23
  • 97
  • 162
4
votes
1 answer

Exception when threading - propagation between threads?

If I have the following situation: Execute() creates a new thread and executes function GetSession() in it. Execute() executes GetSession() again in it's own thread. Execute() joins the thread from (1). My question is: What happens if…
John Humphreys
  • 37,047
  • 37
  • 155
  • 255
4
votes
1 answer

How to check if a COM property or method exists without generating an exception?

I'm working on some legacy code that creates a list of strings containing property and/or method names and then attempts to apply those properties or methods to a COM object. The property or method for the COM object is not guaranteed to exist and…
dior001
  • 751
  • 1
  • 13
  • 32
4
votes
3 answers

Type.IsSubclassOf does not behave as expected

I have an application that loads assemblies and looks for types that are subclasses of a class C1 defined in another assembly A1 that the application references. I've defined a type T in A1 that is a subclass of C1 but when I load A1 using…
HasaniH
  • 8,232
  • 6
  • 41
  • 59
4
votes
1 answer

App.Current.MainWindow changes when launching another dialog?

I am launching a new dialog from a MEF plugin when I start up the application. Could someone explain why this changes App.Current.MainWindow to the dialog that was launched from the plugin? How can I prevent this from happening?
Orestes72
  • 105
  • 1
  • 1
  • 7
4
votes
5 answers

How do I make my own Linq Clauses?

Is there a way I can create my own Linq Clauses? I have been looking into extension methods and it's not quite what I am looking for. I was thinking something like the where, the select or the from clause. I want to use my code like such var blah…
Russ Bradberry
  • 10,705
  • 17
  • 69
  • 85
4
votes
3 answers

Error: Cannot process the message because the content type 'application/json; charset=utf-8 was not the expected type

I am trying to invoke WCF service using jQuery and getting this error: "Cannot process the message because the content type 'application/json; charset=utf-8' was not the expected type 'multipart/related; type="application/xop+xml"'." This is how…
Asdfg
  • 11,362
  • 24
  • 98
  • 175
4
votes
1 answer

Checkboxes only in Children Nodes?

I have many items (Nodes) grouped by category and I want to display them in a TreeView where parent are text and children are CheckBoxes…
Mehdi
  • 1,494
  • 5
  • 33
  • 53
4
votes
1 answer

Should the PetaPoco database class be created once per request or every time it is needed?

With PetaPoco, how should I handle the creation of the Database class? My application will probably be making use of various repositories (not quite the DDD repository, more like a gateway repository) to encapsulate the queries. Since I'll have…
Wayne Molina
  • 19,158
  • 26
  • 98
  • 163
4
votes
3 answers

Parsing large data file from disk significantly slower than parsing in memory?

While writing a simple library to parse a game's data files, I noticed that reading an entire data file into memory and parsing from there was significantly faster (by up to 15x, 106s v 7s). Parsing is usually sequential but seeks will be done every…
angelsl
  • 395
  • 3
  • 14
4
votes
3 answers

Thread-safe buffer for .NET

(Note: Though I would like ideas for the future for .Net 4.0, I'm limited to .Net 3.5 for this project.) I have a thread, which is reading data asynchronously from an external device (simulated in the code example by the ever-so-creative…
George 2.0 Hope
  • 583
  • 1
  • 6
  • 21
4
votes
1 answer

Anyway to know when a pooled thread (or ThreadStatic member) is destroyed?

I need to add a third party component to one of our products (which is a windows service that can run 24/7). The 3PC is a .net library that sits on some hard core C++ loveliness for manipulating images. The 3PC requires that Initialize and Teardown…
Binary Worrier
  • 50,774
  • 20
  • 136
  • 184