.net-3.5

Does Win 2008 r2 x64 server come with .net 3 sp1 package already installed?

时间秒杀一切 提交于 2020-01-14 10:35:24
问题 same as in title? I have a test server with mentioned OS and my app is .net 3.5 based. I do want to know if win 2008 r2 comes with service pack 1 for .net 3.5 from the box. And does it come with .net 3.5 sp1 family update as WELL, since after I downloaded the update, the installer says I do not have software required to update. Could some win 2008 guru perhaps explain it to me? thanks luke 回答1: Windows Server 2008 R2 does come with .NET 3.5 SP1, however it is not an installed feature by

bulk insert and update with ADO.NET Entity Framework

て烟熏妆下的殇ゞ 提交于 2020-01-14 03:00:07
问题 I am writing a small application that does a lot of feed processing. I want to use LINQ EF for this as speed is not an issue, it is a single user app and, in the end, will only be used once a month. My questions revolves around the best way to do bulk inserts using LINQ EF. After parsing the incoming data stream I end up with a List of values. Since the end user may end up trying to import some duplicate data I would like to "clean" the data during insert rather than reading all the records,

Single Sign on using Shibboleth

时光怂恿深爱的人放手 提交于 2020-01-13 19:55:16
问题 I have to implement Single Sign On in my .NET(3.5) project using Shibboleth . Detailed requirement goes this way: 1) I have developped a web application using .NET (3.5) named "abc.com". 2) There are some third party applications which will be launched from "abc.com" 3) If I have logged in to "abc.com" and now if I launch any of the supported third party applications then it should not ask for login information again. From last few days I have been reading Shibboleth from https://spaces

Single Sign on using Shibboleth

北城以北 提交于 2020-01-13 19:53:28
问题 I have to implement Single Sign On in my .NET(3.5) project using Shibboleth . Detailed requirement goes this way: 1) I have developped a web application using .NET (3.5) named "abc.com". 2) There are some third party applications which will be launched from "abc.com" 3) If I have logged in to "abc.com" and now if I launch any of the supported third party applications then it should not ask for login information again. From last few days I have been reading Shibboleth from https://spaces

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 提交于 2020-01-13 13:11:09
问题 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 interactions, I can bind to AD using the correct username/password for the domain and all is good. However, I have a need now to launch an external process (robocopy) to perform some work and I cannot find any code examples anywhere for doing this

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?

爷,独闯天下 提交于 2020-01-13 13:08:34
问题 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 interactions, I can bind to AD using the correct username/password for the domain and all is good. However, I have a need now to launch an external process (robocopy) to perform some work and I cannot find any code examples anywhere for doing this

MEF error, was circular dependency and is now something else

故事扮演 提交于 2020-01-13 12:06:54
问题 I've got a circular dependency that recently came about because of a change in my application architecture. The application relies on a plugin manager that loads plugins via MEF. Everything up until worked fine, because it looked something like this: // model.cs [Export("Model")] public class Model { public PluginManager PM { get; set; } [ImportingConstructor] public Model( [Import] PluginManager plugin_manager) { PM = plugin_manager; } } // pluginmanager.cs [Export(typeof(PluginManager))]

Implement Not in expression trees, .net 4

纵然是瞬间 提交于 2020-01-13 11:01:56
问题 Is it possible to implement a ! (not) using expression trees. I'm interested in creating a C# eval class which will parse and evaluate logical expressions which contain true, false, ||, && and !. I know that && and || are currently supported by .NET 4 expression trees, but I was wondering if their is a way to implement summat like !(x && y) || z where z=false, y=true and z=false. Currently I'm using a standard stack based tokenizer, parser, evaluator to evaluate these types of expression but

Implement Not in expression trees, .net 4

僤鯓⒐⒋嵵緔 提交于 2020-01-13 11:01:36
问题 Is it possible to implement a ! (not) using expression trees. I'm interested in creating a C# eval class which will parse and evaluate logical expressions which contain true, false, ||, && and !. I know that && and || are currently supported by .NET 4 expression trees, but I was wondering if their is a way to implement summat like !(x && y) || z where z=false, y=true and z=false. Currently I'm using a standard stack based tokenizer, parser, evaluator to evaluate these types of expression but

How to avoid massive memory leaks on WPF on .Net 3.5?

雨燕双飞 提交于 2020-01-13 10:23:21
问题 When I run my app targeted to .Net 3.5 it has massive memory leaks. 50mb every time I assign a UserControl to a local ref. I only ever create one instance of each UserControl. If I compile and run the same code targeted to .Net 4.0 everything runs fine hovering around the 50mb mark. Is this a known isue with 3.5? I.e. it's not usable in prod? /My clients only have 3.5 and won't be moving to 4.0 for awhile so i don't have the easy option 回答1: Memory Leak Hotfixes for WPF 3.5 SP1 http://www