RollOver logic for logs with FileLogTraceListener
I am trying the following logging behavior:•Create a new file daily•When log file exceeds MaxFileSize, create a new file for that day with a new version number. The first part works fine by setting...
View ArticleHow t set TCP_INITIAL_RTO_PARAMETERS with Socket.IOControl provided by .NET 4.5?
I initially started with "netsh interface tcp set global maxsynretransmissions", thus my goal is either to set this parameter programmatically at OS level during application installation or to set it...
View ArticleHow to convert Ascii char to binary value in C#
Hi, How to convert ASCII value to binary value using c#.net for example: input is 1 C E 5 A F F A 9 C 0 1Output i'm expecting is 0001 1100 1110 0101 1010 1111 1111 1010 1001...
View Article.NET/C# program going to NOT RESPONDING
i have started my program in debug mode and its going NOT RESPONDING but there are no anyEXCEPTION ,. why i can detect an error??or where program going NOT RESPONDING /??program using WCF service ,...
View ArticleHTTPWebRequest PUT/POST Error : Method not allowed
Hi ,I'm trying to upload a file to a remote server using HTTPWebRequest (both PUT and POST) (We are using asp.net 1.1, there's no FTPWebrequest in 1.1 and Webclient doesn't work either). But when I run...
View ArticleCannot reference dll in windows service
Hi!I've created a windows service in VS 2010 which references the model conveniently placed in a separate project which compiles to a dll. I have no problem referencing this dll in other parts of my...
View ArticleUpgrading third party assemblies
I have a solution that I am attempting to update third party assemblies for. The assemblies in question are Telerik assemblies. When I installed the newer version of Telerik, it installed an addin...
View ArticleCannot understand example in TryFSharp.org
i do not understand this example from tryfshart.orglet twoTest test = test 2 twoTest (fun x -> x < 0)http://www.tryfsharp.org/Learn/getting-started#fun-functionalwhat does the line "test 2"...
View ArticleIN Async/await, Will the thread that handles the completion of the operation...
I've heard that the executionContext flows from the thread that started the async operation, to the thread that handles its completion. I'm wodering, in web api, does HttpContext, RequestContext,...
View ArticlehttpContext vs requestContext In Web Api 2+
I have heard we should be using RequestContext now since HttpContext is only applicable when hosted from iis.What i'm also wondering is what is the translated code when you are in a component and want...
View Articlemy own custom namespace for my company
Dear all,I want to use my own custom namespace in my sharepoint projects and c# asp.net web application projects.For this I created one separate class library project and updated the required...
View ArticleClickOnce download sometimes fails
I'm pretty sure this is just a connection issue, but we have a Vb .Net WinForms app (.Net 4.0) that we sre distributing via ClickOnce. We basically deploy it to our web server, and clients install it...
View Articleerror LNK2038: mismatch detected
I have a C++ CLR Class Library that is linked to a static library. My static library was linked with OpenCV 3.0 statilibs folder (by setting additional library directories and additional dependencies)....
View ArticleThe namespace 'global':: already contains a defination for "playercontroller"
using UnityEngine; using System.Collections;public class PlayerController : MonoBehaviour { public float speed; private Rigidbody rb; void Start () { rb =...
View Articlehow to deserialize JASON objects into windows phone or windows 8.1 application
Hello,I created restful api service but i don't know how to parse it how to get the windows phone or windows 8.1 to use exactly I don't know which library should I use how to get data from JASON...
View ArticleFilesystemwatcher
Hi everybody, I am using the FileSystemWatcher in a windows service to detect when a new file is created in a catalog. It all works fine when the catalog is on my local computer but when I change the...
View ArticleCompositionHosts exports run in parallel sometimes inject null to imported value
Hello,I am working on a multi-tenant application, where every tenant has its own CompositionHost (System.Composition.Hosting.CompositionHost) with the same part types. When I try to get export of the...
View ArticleHow to extract bits from binary data
Hi All,I would like to extract bits from binary data.for example:0001 1100 1110 0101 1010 1111 1111 1010 1001 1100 0000 0001. . . . . . . . . (then converted in binary string)...
View Articlekernelbase.dll RaiseException @16() - 0x7708d erro trying to start a program
Hello, We have installed a program we sell (but use a 3rd party engine) on a customers PC and we can not get it to run for love or money. We have never seen this in any of the previous thousand or so...
View ArticleA connection attempt failed because the connected party did not properly...
hiplease help any onewhile browse the application from iis server such error occured while we run on other server it execute successfully.A connection attempt failed because the connected party did not...
View Article