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
3
votes
2 answers

Compact Framework 3.5 Set Form parent

In .net Compact Framework 2.0, you could add a form to another forms control array basically parenting the other form. i.e._mainForm.Controls.Add(form); This is not allowed in .net cf 3.5 and results in an exception: System.ArgumentException: Value…
JoelHess
  • 1,166
  • 2
  • 15
  • 28
3
votes
3 answers

What are the effects of adding EventHandler += EventHandler?

I have a SelectionChanged event in class A that I want to relay through class B. I assumed that declaring a SelectionChanged event in class B and assigning this EventHandler to A.SelectionChanged would cause B.SelectionChanged to trigger whenever…
larsmoa
  • 12,604
  • 8
  • 62
  • 85
3
votes
4 answers

.NET 3.5 Linq Datasource and Joins

Have been trying out the new Dynamic Data site create tool that shipped with .NET 3.5. The tool uses LINQ Datasources to get the data from the database using a .dmbl context file for a reference. I am interseted in customizing a data grid but I…
Norge
  • 97
  • 2
  • 10
3
votes
4 answers

Reflection.Emit and Instantiation

I have an assembly and some classes. What I'm trying to do is create an instance of a class and fill its properties in a generic way, something like: public T FillObject(IDictionary values) { /// CREATE INSTANCE /// FILL THE…
Argons
  • 445
  • 1
  • 6
  • 23
3
votes
1 answer

MongoDB - Mapping map-reduce collections in C#

I am running a map reduce job that dumps the resulting data into a collection, the elements in the "products" collection look like this (the structure is generated by Mongo and I'm not aware if it can be controlled): { "_id" : { "ProductId" :…
gooid
  • 841
  • 8
  • 18
3
votes
5 answers

Best Practice - Removing item from generic collection in C#

I'm using C# in Visual Studio 2008 with .NET 3.5. I have a generic dictionary that maps types of events to a generic list of subscribers. A subscriber can be subscribed to more than one event. private static Dictionary>…
Matt Davis
  • 45,297
  • 16
  • 93
  • 124
3
votes
5 answers

C# and .NET 3.5 - How to launch a process using different credentials, with a hidden window, and being able to capture standard output and exit code?

I have a Windows Service developed in C# and .NET 3.5 to perform various administrative tasks throughout our 3 domains. I've got an admin account in each domain that has the necessary rights/permissions for what this service is doing. For all the AD…
David Archer
  • 2,121
  • 1
  • 15
  • 26
3
votes
3 answers

How do I reference configuration information from within multiple class libraries?

I've got a bunch of DLL projects that I'm pulling into my application, each contains their own Settings.settings/app.config. When I compile the app and run for debugging, everything works just fine, but come deployment time I can't get my DLLs to…
BenAlabaster
  • 39,070
  • 21
  • 110
  • 151
3
votes
2 answers

Save IList or IQueryable to Excel - C#

I'm generating a report via Linq to SQL and displaying it on the website. I need to save the report in MS Excel (or .csv) and email it to user. Any ideas on how to save it as Excel or .csv ? .NET 3.5 / C# EDIT: the Gridview hack works perfect. If…
roman m
  • 26,012
  • 31
  • 101
  • 133
3
votes
4 answers

None of my Extension Methods are showing in Code behind

I have a number of extension methods defined in my current project. It is a VB.NET project. I have no problem using these methods inside files that are in the App_Code directory, this is the same place that I defined the methods. However, in my…
zznq
  • 400
  • 1
  • 15
3
votes
3 answers

Determine transfered data size for a web service call in .NET CF

I'm developing a .NET CF client application and using web services for data transfer. I'm using SharpZipLib to compress transfered datasets so I know the size of the transfered byte array. I wonder is there an easy way to determine to complete…
xarux
  • 73
  • 8
3
votes
1 answer

.NET .application installer files?

I've seen popping up around the web recently .application files, for .NET installations. (Application manifests, per the extension details). How exactly does one create these .application files in Visual Studio, and how do they differ from a…
None
3
votes
2 answers

Using reflection to specify the type of a delegate (to attach to an event)?

What I effectively want to do is something like this (I realise this is not valid code): // Attach the event. try { EventInfo e = mappings[name]; (e.EventHandlerType) handler = (sender, raw) => { AutoWrapEventArgs args = raw as…
June Rhodes
  • 3,047
  • 4
  • 23
  • 29
3
votes
4 answers

Disposing a singleton instance (C#)

If a singleton implements IDisposable, what is the right way of disposing and re-creating an instance? One way would be to keep _disposed flag and check for it in the Instance property, but I'm not sure it is the right way to do this. A simple…
kateroh
  • 4,382
  • 6
  • 43
  • 62
3
votes
3 answers

Is there a way to asynchronously filter an IList?

Ok, so there has to be a way to do this... no? If not I'd love some ideas. I have two repeaters and an image inside an update panel along with some AJAX dropdowns with link buttons to the left. I want to update the data inside the update panel as…
Sara Chipps
  • 9,322
  • 11
  • 58
  • 103