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
6
votes
4 answers

C#: Downloading a URL with timeout

What's the best way to do it in .NET? I always forget what I need to Dispose() (or wrap with using). EDIT: after a long time using WebRequest, I found out about customizing WebClient. Much better.
orip
  • 73,323
  • 21
  • 116
  • 148
6
votes
2 answers

WCF ChannelFactory and Channel caching in ASP.NET client application

I'm building a series of WCF Services that are going to be used by more than one application. Because of that I'm trying to define a common library to access WCF services. Knowing that each service request made by different users should use a…
tucaz
  • 6,524
  • 6
  • 37
  • 60
5
votes
2 answers

Is there any reason GDI+ would be slower on a 64-bit Operating System (or maybe it's Windows 7 related)

Background I'm working on an application that is supposed to work on every windows platform from XP onwards in the same manner. Through the .NET framework this has been very easy, for the most part. The application runs across a variety of touch…
red_sky
  • 834
  • 9
  • 17
5
votes
3 answers

How do I change the dll name when I dotnet publish?

ALL of my .net core dockerfiles are 99% the same except for this last line: ENTRYPOINT ["dotnet", ".dll"] seems pretty dumb of me because they could all be identical otherwise Is there a way to change the dll name with the dotnet…
red888
  • 27,709
  • 55
  • 204
  • 392
4
votes
2 answers

c# how to detect multiple space in file

I want to ignore a line which is either empty , null or just have space or spaces (white spaces).the keyword here is multiple space. I have tried below codes without success if (!string.IsNullOrEmpty(line1)) or if (line2 != "") and I dont want…
John Ryann
  • 2,283
  • 11
  • 43
  • 60
4
votes
2 answers

Differences between .NET 3.0 & 3.5?

What are the major differences between the .NET 3.0 & 3.5 frameworks?
jchadhowell
  • 1,131
  • 1
  • 14
  • 25
4
votes
1 answer

Conditional Reference

I have an application that I was writing that communicates with a third-party application via a Component Object Model library. I must reference this COM library within the Visual Studio project itself in order for the application I am writing to…
Security Hound
  • 2,577
  • 3
  • 25
  • 42
4
votes
2 answers

Replace a collection item using Linq

How do I find and replace a property using Linq in this specific scenario below: public interface IPropertyBag { } public class PropertyBag : IPropertyBag { public Property[] Properties { get; set; } public Property this[string name] …
Vyas Bharghava
  • 6,372
  • 9
  • 39
  • 59
4
votes
4 answers

Testhost process exited with error: You must install or update .NET to run this application

I recently installed '.net 6 (SDK 6.0.302)' on build and deployment environments. Now these environments have following SDKs installed: 2.1.504 2.1.510 2.1.511 2.1.518 2.1.807 2.1.810 2.1.811 3.1.108 3.1.302 3.1.414 5.0.210 6.0.302 …
Ajai Singh
  • 43
  • 1
  • 5
4
votes
0 answers

Why is the reference for ConfigurationErrorsException missing from my .Net 3.0 application?

I have a .NET 3.0 Winform Application with a corrupt user.config file causing system config errors. I wanted to improve handle these errors, similar to how it's done in this example on CodeProject. To use ' However, when I try and use the…
Luke
  • 1,077
  • 13
  • 33
4
votes
2 answers

How to unzip a folder with multiple files using SSIS script task C# 2005 or 2008?

There is a requirement in my project that I need to unzip some zip folder. I googled and came to know without using external libraries I can not achieve this or with GzipStream class we can decompress .gz files. Is there any way we can decompress…
Ishan Trikha
  • 251
  • 5
  • 6
  • 13
4
votes
1 answer

Does WCF require configuration to handle different methods of authentication?

A WCF service has been written and can be hosted in any web site. These web sites could use Windows, Kerberos, or Forms authentication. Is any particular configuration or development required within the service to handle these different…
Alex Angas
  • 59,219
  • 41
  • 137
  • 210
3
votes
4 answers

.NET 3.5 vs. .NET 3.0

I want to write a program in WPF but not sure should I target .net35 or .net30. The advantages of .net35 are obvious. But still, I see one major advantage of .net30 -- it's built into Vista, so, the people using Windows Vista will not have to…
Pavel Bastov
  • 6,911
  • 7
  • 39
  • 48
3
votes
3 answers

Convert a BindingList to an array of T

What's the easiest way to convert a BindingList to a T[] ? EDIT: I'm on 3.0 for this project, so no LINQ.
Gerrie Schenck
  • 22,148
  • 20
  • 68
  • 95
3
votes
2 answers

How to get DNS name in load balancing environment?

I have 4 servers participating in load balancing environment. The same ASP.NET application is being hosted in each server. I would like to get the DNS Name regardless of the underlying server. Which one of the followings will give the correct…
Thurein
  • 2,536
  • 7
  • 34
  • 49