In .net 4.5 System.Uri can't decode %2C ?
String url = new Uri(@"http://test.com/%2c").ToString();In .net 4.5 and .net 4.5.1, it still output 'http://test.com/%2c'. But in .net 4 it will output 'http://test.com/,'.
View ArticleHow can I create a System.Diagnostics.Process that uses the...
I am writing a program that spawns child processes and those child processes need to use a credential that is not local on the machine when accessing network resources I need to spawn those processes...
View ArticleUnity Interception
I am using Unity Interception to handle logging. I would like to use the IMethodInvocation target property, but it causing a stackoverflow exception. It seems that by referencing this property, it is...
View ArticleSystem.Security.Cryptography.CryptographicException: Access denied when...
I am writing a simple example code to demonstrate how encryption and decryption with the X509 certificates works. public static byte[] Encrypt(byte[] content, X509Certificate2Collection...
View ArticleOracleDataReader returns more rows than the same query in SQL Plus
We've run into a weird problem where a query executed using OracleCommand returns more (duplicate) rows than the exact same query executed in SQL Plus.More specifically the query in SQL Plus returns 9...
View Articlesporadic error security token could not be authenticated or authorized for...
We are getting sporadic errors saying below stack trace from app logs, the same web service are used by many vendors and It gives proper responses for most of the times, but when some client call...
View Article"ASN1 bad tag value met" when using SignedCms Decode method
I get an "ASN1 bad tag value met" exception when trying to read a file containing the following PKCS7 message. I can open the file in windows fine. It is basically a chain of certificates.Anybody know...
View ArticleDecommisioning a .Net application
Has anyone decommisioned a .Net application? What else do I need to look for in the app other than any external interfaces, dependencies, shared libraries etc while I'm decommisioning a .Net...
View Articlewhen does a datacontext instance close?
Hi,Im using .Net Framework 3.0.I have a SupplierApproveDataContext that inherits from System.Data.DLinq.DataContext.I have this class:public sealed class SupplierApproveDI { //private static...
View Articleis it possible to lock an user's account for just some time with .NET?
Hello,I have a vb.NET 4.0 Web application that allows my Institute's teachers to select their classroom number then, if their students are playing games or surfing on the internet during the teaching...
View ArticleMemoryCache custom ChangeMonitor
I couldn't find any good examples of how to use ChangeMonitor classes.Here's my problem: I'm caching a few method of my Repository, building a key to uniquely identify the cached data. The cached data...
View Articlesc.exe takes 2 minutes to create a service on Windows 8.1
Hi, On Windows 8.1, using .net 3.5 SP1, sc.exe create command takes 2 minutes to install a service. On a Windows 7 system, the service installs immediately. Are there any thoughts on what might be...
View ArticleUse Linear Programming using the Solver Foundation Services
Firstly I apologize about my poor English language.please give me the solution to solve the problem related to the example link mentioned below.what is the solution to give results in that program...
View ArticleAssembly.LoadFrom only locking file when Server on a Domain
I am running into the dreaded Assembly.loadfrom file locking error. But only when our server is added to our test domain. If we remove it and put in just in a workgroup, we do not find this...
View ArticleRead/write Excel files
From poking around in the Object Browser and the DataGridView documentation I get the impression that there is more than one way of interoperating with Excel. I don't need continuous or interactive...
View ArticleBase to Derived is possible(Boxing), But Derived to base gives run time...
class SampleClass { public int i = 10; } class MainClass { static void Main() { object a; a = 1; // an example of boxing Console.WriteLine(a);...
View ArticleDotSpatial.Positioning With ublox GPS device
Hi all,I know this thread doesn't relate to any MS products but I really don't know other forum that can help me to resolve a development issue (I posted one on Dotspatial's codeplex forum but still no...
View ArticleController Scaffolding in MVC 5
Hi,I am developing an application using mvc 5 in Visual Studio 2012. I have successfully build my model class.My Model class: using System; using System.ComponentModel.DataAnnotations; using...
View ArticleMicrosoft monitoring agent recording for web requests and responses
Hi,As per my findings Microsoft monitoring agent records only errors related information for a web application.Is there any way by which it can record all web requests, Responses and CPU Usage , Memory...
View ArticleDirectoryVirtualListView not working correctly
Hi Folks, I am having a similar issue as mentioned Here in that a query for users name beginning with 'G' just brings back a set of random results (actually I get 10 records sorted into alphabetical...
View Article