We have a .NET 3.5 app that calls a webservice on server. In nearly every installation of this app, the whole request/reply process takes about half a second.
In one particular installation, these requests are mysteriously taking almost exactly 85 seconds (within half a second).
My first thought was that the webservice client was ...
I have a webmethod that returns a Hashtable through a jQuery ajax call along the lines of:
$.ajax({
type: "POST",
url: webMethod,
data: {}
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(json){
**alert(json.d);**
},
error: function(XMLHttpRequest, textStatus, errorThrown)...
We have an application that used the C++ zApp framework for UI (forms, fonts, everything). We have slowly converted it to use the .net framework and recently found that Greek characters are no longer displaying correctly.
In one version of the application I have a C# .net form and a C++ zApp form that both display the same data. The p...
Whats the best way to get all the messages currently on a queue to process?
We have a queue with a large number of very small messages, what I would like to do is read all the current messages off and then send them through a thread pool for processing.
I can't seem to find any good resource which will show me how i can create a simple...
I'm working on an app where I have a bunch of text in a RichTextBox. I'm jumping to various positions within the text, (hopping to an arbitrary paragraph for example) which seems to work by send the caret to that position but I can't seem to control where in the viewable area the caret ends up.
Sometimes the caret ends up at the top of...
I have a component derived from ErrorProvider. I have a BaseForm and BaseUserControl that each have this custom ErrorProvider added in the designer. I have many nested BaseUserControls on a BaseForm and on other BaseUserControls, and I need to find all of the custom ErrorProviders on the nested controls from a top level form or user co...
I've been working for a while with .net unit testing and stuff. Now I need to create tests for ascx and ascx.cs pages (but it aspx and aspx.cs references might also help). I'm not very familiar with webtests. Can anyone give hints or references that might help (tutorials, blog posts about best practices, etc.)?
It can be references abou...
I would like to build a browser extension for IE 7/8. I would like to do it using .NET. Do you know of any resources or tutorials that I could reference to do this? I haven't found much.
Thanks!
...
I have a switch statement in one class that generates Command objects, based on if a certain line in a code file matches the particular code for that Command object.
like this:
switch (line):
{
case "#CODE1":
return new Command1();
case "#CODE2":
return new Command2();
}
I want to turn it into something like this:...
I want to write some good docs for my .NET project - it's a class library. Should I generate conceptual help aswell as API help - what are the differences and what kind of informatio should I put in the conceptual help?
...
I had a working program (Windows Forms Project) complete with buttons, labels, textboxes e.t.c. and the underlying code.
In an attempt to shortcut my work, I decided to add tab controls and move everything in my main form into tab 1 (cut and pasted).
As you can imagine it didn't work. I then got rid of the tab conrol and pasted everyth...
For applications of any size, what are the drawbacks of using a Context.Current pattern? (i.e. "Current" is a shared/static property of a "Context" class that instantiates itself the first time it's used)
Any advantage of using this pattern over just shared / static classes/methods?
I'm asking in the context of .NET, although I guess i...
In my LINQ-to-SQL DAL, I'm getting a "Specified Cast Was Not Valid."
Here is the exact error:
System.InvalidCastException was unhandled by user code Message="Specified cast is not valid." Source="System.Data.Linq" StackTrace:
at System.Data.Linq.IdentityManager.StandardIdentityManager.SingleKeyManager`2.TryCreateKeyFromValues(Ob...
What are you options for dynamically-typed .NET web development at this time?
Ruby on Rails with IronRuby?
Django (with a few alterations) and IronPython?
Don't feel like going the Phalanger route. I'm done with PHP.
I assume there is some way to make ASP.NET MVC more dynamic... but can you fully exploit that in .NET 3.5? There is th...
I read some where that the .net runtime was effectively Visual Basic 6 (albeit completely re-written)
How true is this? or is this just another .net Myth?
Darknight
...
I am not sure if Windows XP SP2 comes with .net framework 2.0 or not, I tried to search for this but I couldn't find a final word.
So if anyone knows whether a clean install of Windows XP SP2 installs .net framework 2.0+ or not it will be great.
Thanks
...
Hi, I'm new to .NET and am having trouble understanding the concept of an Assembly - what is an Assembly? What do people mean when they say 'copy the assembly...'? What is the purpose of AssemblyInfo.cs?
...
How do I add another element/childnode to a specific parent node in an XML file?
Specifically a new video object to the media node.
I want to turn this:
<?xml version="1.0" encoding="utf-8" ?>
<media>
<Video name="Gladiator">
<English>path1</English>
<Chinese>path2</Cinese>
<French>path3</French>
</Video>
<Vi...
hi,
i have a web application with different business objects.
i want to start developing a sliverlight application that is using some of these objects but i can't reference my business objects library cause it's not a sliverlight class library.
now i guess i need to call web services to from my silverlight application but what type objec...
I'm using a List to bind to a dataGridView.
I'd like the user to be able to add a new row.
I've tried using a BindingList and a BindingSource.
Here's my binding (not including the combo box column I add to the datagridview before adding a datasource:
binding = new BindingSource();
binding.DataSource= _Rows;
_dg.DataSource = binding;
...