Quantcast
Channel: .NET Framework Class Libraries forum
Browsing all 8156 articles
Browse latest View live

System.ServiceModel.Configuration.MachineSettingsSection does not exist

Based on the instructions in this link for enabling logging of PII...https://msdn.microsoft.com/en-us/library/ms730318(v=vs.90).aspxNone my versions - 3.5 -4.5.1 of .NET has a class...

View Article


The SQL Server (SQLEXPRESS) service failed to start due to the following...

Hi ,As per title i got error from last 3 days.I am not able to start sql express service .Could anyone help me ?I  have tried  all  tricks which is available on net .Thanks in advanceRegards,Laxmikant...

View Article


How to determine if DLL is debug or release?

Howdy all, Is there an easy way to tell if a DLL has been compiled in DEBUG or RELEASE mode?  I know I can put special checks in the code myself that would show up in a decompiler like Reflector, but...

View Article

Cryptography specification

I have a requirement to encrypt a password using AES mode CCM or XTS.  The other AES options are not valid.Can someone provide an example of how to specifiy one of these in the cryptography class?Thanks,

View Article

FileInfo.Delete method appears to run in background

My app is set up to delete output file before regenerating them.  It appears that the delete operation is running on a basckground thread.  I am not certain what is happening but here is what I do...

View Article


Webcontrol problems with javascript content (normal IE browser works)

Hello,the page I want to navigate making me problems in my webcontrol. The same page works fine if I go there manually with the Internet Explorer. I force webcontrol to use another IE version than...

View Article

PrincipleContext.ValidateCredentials fails when username contains a hyphen...

Hi I'm using the following code which works fine in many locations, on many platforms.using (PrincipalContext principalContext = new PrincipalContext(ContextType.Domain, domain)) { bool valRes =...

View Article

Any news for INotifyPropertyChanged in .NET 4.6?

I think many people might have suggested some way to use INotifyPropertyChanged with Auto-Properties...Is anything coming in .NET 4.6 to allow that?

View Article


Windows.Forms.WebBrowser control Document.Window.Error does not fire when...

Like the title states. I'm using WebBrowser control. I need to capture JavaScript errors. I have the following HTML in a document I'm trying to load as an example:<html><head><meta...

View Article


Help me covert the Java code to C# code

I want to covert the following code to C# code, but always meet troubles. Could you help on that? Thanks!  /** * Returns an iterator for the DNA sequences in this list. * * @return Iterator. */...

View Article

Generate random Initialization Vector

Can someone point me to a C# program that creates a random Initialization Vector. Specifically the vector needs to be alphanumeric with special characters and mixed case values.  It must be 16...

View Article

Declaration method in users Class

What's different between declaration method in these codesclass Programm { ClassA class1 = new ClassA(); class1.TestMethod(); } public ClassA { public void TestMethod() { } } andclass Programm {...

View Article

Login

Why do I have to login now just to read the .NET framework documentation? 

View Article


Convert/Cast Single to double inaccurate.

Whilst I have read some background on floating opint numbers not being able to accurately store numbers such as 0.1, I am not clear why converting from single to double is so inaccurate.Converting a...

View Article

No ENUM for SHA256 in HashAlgorithmType ?

In System.Security.Authentication is an enumeration class HashAlgorithmType. I'm using the class to check the used hash algorithm when I use SslStream to create a secure connection.Accoring to the...

View Article


AppDomain.DoCallBack() with multi generic types issue. Bug?

i've a strange issue with AppDomain.DoCallBack() and generic types:static void InvokeIsolated() { AppDomain appDomain = AppDomain.CreateDomain("testDomain");...

View Article

Can somebody explain to me how I can detect that an internet connection...

Can somebody explain to me how I can detect that an internet connection exists (VB)?Peter Goossens

View Article


Problems using unity within MVC app that has both normal and webapi controllers

hi, its a pretty straight forward thing i'm trying to do,VS2013 website project, has a controller: public class ContactController : Controller { private readonly IUnityContainer _container; public...

View Article

Start an application in remote machine using WMI(C#)

I am trying to start an application in another machine which is in the same network using following code:            var processToRun = new[] { "notepad.exe" };            var connection = new...

View Article

URGENT - The underlying connection was closed: An unexpected error occurred...

Hello,We have a web app that works with Ping Federate SSO. The code that was working fine suddenly stopped working with this error message.Code: httpResponse =...

View Article
Browsing all 8156 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>