.net
Page Lifecycle and Asynchronous Requests in C# asp.net web forms
If I send an HttpWebRequest 开发者_开发问答and send it out with BeginGetResponse with a callback, my callback never gets hit. THe page finishes before the response is given.[详细]
2023-04-13 01:50 分类:问答VB.NET Asynchronous sockets packets getting lost
I made a TCP server which communicates with multiple clients at once, but I can\'t seem to be able to make them stable. When one of the client sends 100 packets to the server, the server receives only[详细]
2023-04-13 01:39 分类:问答POST file contents as Byte[] from PHP application to .NET ASP
I need to post the contents of a file to a webpage (C#) in the form of a Byte[] from PHP. I\'ve tried using cURL and stream_context_create() but what I think it comes down to is how I\'m reading out t[详细]
2023-04-13 01:25 分类:问答LINQ: Transforming items in a collection
Is there a LINQ method to modify items in a collection, such as simply setting a property of each item in a collection?Something like this:[详细]
2023-04-13 01:06 分类:问答Prevent changes on radio button checked?
When i change the checked into another radio button, i wanna show a message and when user answers no, i want there will be any changing in my form but in my case i do get any changes.[详细]
2023-04-13 00:42 分类:问答How to receive value from an asynchronous method located in a seperate class?
I was working on an application that makes quite a few requests using the HttpWebRequest class to bring back data from the web. Now my app makes nearly identical calls in multiple parts of my applicat[详细]
2023-04-13 00:40 分类:问答Modem gives ERROR after issuing ATDTnnnnnnn
I am attempting to call a remote modem using a local modem connected via USB. Programming language is VB.NET and I am using the SerialPort control to talk to the modem.[详细]
2023-04-13 00:24 分类:问答Copy text with bullets in OpenXml
I have the following problem: Text needs to be copied from 1 wordprocessing document to another wordprocessing document.The source document is not always accessible when inserting the text in the tar[详细]
2023-04-13 00:21 分类:问答Application level cached objects should be threadsafe?
I am thinking to use HttpContext.Current.Cache which ha开发者_Go百科s application level scope. I know that Cache object is thread safe but the thing that i don\'t understand is cached objects are not[详细]
2023-04-13 00:20 分类:问答How to call a method with arguments of different types using reflection in C#
I\'m trying to call a function that takes two parameters (a boolean and a string) using .NET reflection in C#. However, with the following code i get an exception:[详细]
2023-04-13 00:19 分类:问答