.net-3.5 Questions

7

Solved

A comment to another of my questions says that I can only run "so many" threads concurrently, a notion which I have seen elsewhere. As a threading novice, how can I determine the maximum number of...
Homologue asked 28/1, 2011 at 12:38

3

Solved

I was trying to add .net 3.5 features in a (Remote) Windows 2012 server. But I am getting the following exception. Do you need to specify an alternate source path? One or more installation sele...
Huoh asked 12/11, 2014 at 8:42

5

Solved

Summary: I periodically get a .NET Fatal Execution Engine Error on an application which I cannot seem to debug. The dialog that comes up only offers to close the program or send information about ...
Hoon asked 12/5, 2010 at 23:15

5

Say I have the following table definitions in SQL Server 2008: CREATE TABLE Person (PersonId INT IDENTITY NOT NULL PRIMARY KEY, Name VARCHAR(50) NOT NULL, ManyMoreIrrelevantColumns VARCHAR(MAX) ...
Sequence asked 14/5, 2010 at 16:41

6

Solved

Is it possible to use Except() for two List's that have two different classes but a common field? I have List<User1> and List<User2> collections. They have different properties except I...
Thisbe asked 1/11, 2010 at 15:59

5

Solved

I need to calculate checksums of quite large files (gigabytes). This can be accomplished using the following method: private byte[] calcHash(string file) { System.Security.Cryptography.HashAlgo...
Marelda asked 23/1, 2010 at 19:51

11

Solved

I am really surprised that there is no native .NET method to get an absolute url from a relative url. I know this has been discussed many times, but never have come across a satisfactory method tha...
Acclimatize asked 9/9, 2010 at 22:36

6

Solved

How to get current date in 'YYYY-MM-DD' format in ASP.NET ?
Guilty asked 17/2, 2011 at 13:8

2

Solved

I know this is a similar question to this one but before I head down the Bouncey Castle route, does anyone know if its possible to load an RSA KeyPair from a .pem file, e.g.: -----BEGIN RSA PRIVA...
Effeminacy asked 22/7, 2009 at 0:44

5

Solved

I can't work out how to get the SynchronizationContext of a given Thread: Thread uiThread = UIConfiguration.UIThread; SynchronizationContext context = uiThread.Huh?; Why would I need that? Because...
Outfox asked 5/11, 2010 at 15:41

4

Solved

I have a console application that is server based. I only want 1 instance of it running at once for a particular server (this is regardless of the user who might be running it). I need to add a c...
Sevigny asked 4/12, 2009 at 12:24

2

Solved

I have to develop an application for WinCE 5.0 which communicates/synchronizes data with a regular PC application which offers a webservice I can talk to with my mobile (industrial) device. Since ...

4

I have a WCF service hosted in a web application (IIS). I need to expose 1 end point over wsHttp and the other over netTcp. I am on a IIS7 environment that makes it possible for me to host non HTTP...
Acinus asked 3/3, 2010 at 22:6

2

I need to use .NET framework 3.5 for my project because it uses some older functionality. The tooltips in Visual Studio aren't showing descriptions like they do when targeting a later framework. I...
Towardly asked 27/4, 2017 at 17:18

6

Solved

Is there a way I can put a console application in the system tray when minimizing ?
Cressi asked 15/4, 2009 at 14:21

2

Solved

This may be an ignorant question, but I'm unsure why I can not use namespace aliasing and extension methods together. The following example works just fine: Program.cs using System; using Extens...
Empoverish asked 26/7, 2010 at 17:47

4

Solved

I'm using .NET 3.5. Why am I still be getting: does not contain a definition for 'Distinct' with this code: using System.Collections.Generic; //.. . . . . code List<string> Words =...
Caracara asked 16/7, 2009 at 16:44

3

Solved

I'm stuck with a LINQ query (or any other efficient means of accomplishing the same thing). Can someone show me how I can select all the items in one list that are not present in another list? Bas...
Vining asked 10/7, 2012 at 17:45

7

I added to references WPFToolkit.dll and I added do my .xaml file following line: xmlns:toolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WpfToolkit" and before following line: xmlns:t...
Elroyels asked 2/7, 2012 at 17:34

2

Solved

I want to generate aliases for properties in generated code. All I could do so far was: partial class Purchase { public User Customer { get { return this.User; } set { this.User = value;...
Fanciful asked 23/5, 2012 at 20:0

3

Solved

The class CultureInfo provides two way of creation: via a factory method CreateSpecificCulture(string). via a constructor with a string argument The MSDN documentation does slightly differ for ...
Whitefaced asked 30/8, 2012 at 9:35

4

Solved

I am writing a Winform application in .NET 3.5, and I need unzip a .rar or .zip file. I found many things, but I didn't found none 3rd party. I couldn't change to .NET 4 or .NET 4.5. Thank you for...
Nonconformity asked 27/5, 2013 at 18:10

4

Solved

I downloaded a big file of .Net 3.5 SP1. Now when I try to install it on Windows Server 2012, I get the following screenshot: Now this is a loop. When I try to install from Server Manager, I ge...
Acrocarpous asked 7/1, 2013 at 8:27

3

Solved

I'm using a WriteableBitmap to display images I process myself at around 20 frames per second. This question (WPF: More efficient way of displaying quickly-changing images?) and this question (How...
Cicatrix asked 26/6, 2009 at 14:27

2

Solved

A coleague asked me to write a one-liner to replace the following method: public static bool IsResourceAvailableToUser(IEnumerable<string> resourceRoles, IEnumerable<string> userRoles)...
Mindymine asked 24/3, 2010 at 13:46

© 2022 - 2024 — McMap. All rights reserved.