OWIN OAuth server implementation with access_token in response header instead...
It appears that with the default OAuth implementation, the access_token value is supplied to the callback URL in the hash (eg: /#access_token=oaSEcFyfOPy8o). I'm trying to figure out what to override...
View ArticleInstallation of 32 Bit Services and Applications on 64 Bit Operating Systems
Greetings. I have several Windows services/applications that were written in Visual Studio. There are hardcoded references to registry entries that the services/applications use to get database...
View Article.NET Error Closing serial port BaseStream error is only available when the...
I'm using the .NET System.IO.Ports.SerialPort using the BaseStream as suggested in this post If you must use .NET System.IO.Ports.SerialPort But when I try to close the port or the baseStream, an...
View Articlehow to parse reader comments in new source comment sections
I enjoy reading through the comment sections to articles in various news sources. However, the good comments are often hidden in the over abundance of spam and mind-numbing commentary. I would like...
View ArticleSCCM2012R2 - Read timing settings of the deployment scheduler
Dear all,our customer runs SCCM2012R2 to deploy update packages over night (. They use the scheduler to deploy the updates over night outside of business hours.This customer wants us to write a...
View ArticleRetry method for generating unique code
In an app, a user can initiate the generation a six-digit alphanumeric code (actually done via Web API). The code needs to be checked against a remote database to ensure it is unique. Other than for...
View ArticleHow to get the asseblies related to various power shell cmdlets
Hello All ,I am trying to call some power shell commands from C# using System.Management.Automation , For example I am trying to execute the Lync server cmdlet "get-csdialplan" , I can get references...
View ArticleArticle ID: 2583681 .NET Framework 4.0 applications that use the...
We have migrated our .net 2.0 application to .net 4.0 framework. We make TCP,HTTP requests & web pages, SOAP calls from our WPF based application to the server. From our statistics collected though...
View ArticleWill Microsoft support DirectX in .Net Framework?
I know about Managed DirectX, XNA that are no longer supported.I know about 3d party libraries.I am talking about official support.
View ArticleRetrieving the COM class factory for component with CLSID {} failed due to...
Hi,One of my windows service is using a third party component. I have an Interop.myobject.dll generated from the .tlb file from the third party client. It is working fine in my development machine, but...
View ArticleZipPackage - Size limits? When does compression take place?
I am rewriting some backup/restore code in one of our products that used to use Compound Documents. I am evaluating using ZipPackage in the new code as it's built into the framework. Two questions I...
View ArticleDLL corrupted after sending it by mail
I am writing external libriaries to account program.I am sending them by mail to customer, every time I send them by mail customer gets corrupted DLL. If I copy DLL to flash drive and then copy DLL to...
View ArticleHang on AppDomain.Unload() only on Windows 8.x (language OS i.e. german,...
We have unmanaged application which loads unmanaged DLLs whereas one of the DLL also loads a Mediator DLL which supports and loads managed code(C#). After launch of application, Mediator DLL...
View ArticleCould not write log to text log file for windows service in win2012 server.
Hi all,I cannot write log data for my windows service in to a text log file. I can see only starting and stopping of the service. Can anybody help me on how to write to log file. The service was...
View ArticleHow to do URL rewritting & URL redirecting in ASP .Net 3.5 framework
How to do URL rewriting in ASP .Net 3.5 framework.My Current URL is http://www.abc.com/Products.aspx?mid=192 and I want URL rewrite in below...
View ArticleXML -> Xpath
Hi All,I have xml in below format <Parent> <ABC:ChildS> <ABC:Child name="UDF01" type="SELECTION" code="1">Value1</ABC:Child> <ABC:Child name="UDF02"...
View ArticleCreating a class library in VS2013 that can be referenced by a VB6...
I need to create a class library in VS2013 that can be referenced by a VB6 application and newer applications. I heard something aboutCOM Interop but have no idea where to start. I am assuming I would...
View ArticleEventRegister 1.0.26 feedback: localization, versioning, OutputType
I'm not sure what is the proper feedback channel for the Microsoft.Diagnostics.Tracing.EventRegister 1.0.26, Microsoft.Diagnostics.Tracing.EventSource 1.0.26, and...
View ArticleControl.invoke() throws System.ArgumentException with Error message as...
Hi All,While doing cross thread communication, i am getting System.ArgumentException with Error message as 'Parameter is not valid' when call is made on the control.invoke(delegate method, parama...
View ArticleException in NinjectWebCommon.cs file
Hi, When I try to run the .NET MVC3 application I am getting the below exception. But the same application is working fine earlier.Method not found: 'System.Web.Http.Services.DependencyResolver...
View Article