We're in the process of moving our .NET platform from using MSMQ to ActiveMQ. We pump 30+ million persistent messages through it a day, so throughput and capacity are critical to us. The way our MSMQ dependent applications are configured, is they write to local/private queues first. Then we have a local service that routes those messa...
Hello,
I have a group email address, setup externally, and I would like to find out which emails are assigned to this group email.
IS this even possible? If so, how? I am a .NET programmer but willing to work with other language.
Let's say it's not possible because that information lives on external server. How would you do this in se...
I have a table that stores songs and plays counter.
Here's the code:
//Increse plays counter
string ip = Request.UserHostAddress;
if (!string.IsNullOrEmpty(ip))
{
if (Cache["plays:" + trackID + ":" + ip] == null)
{
tracks.IncreasePlaysCounter(trackID);
Cache["plays:" + trackID + ":" + ip] = true;
}
}
I wond...
I have a rather simple problem, but I am unable to get my head around it...
I have a class that inherits from UserControl. It has an AxisColor DependencyProperty of type Color. In the XAML structure of the class I have <ms3DTools:ScreenSpaceLines3D Thickness="2" Points="0,0,0 100,0,0" Color="{Binding Mode=OneWay, Path=AxisColor}".
The b...
Is there a good way of testing the result of the IDisposable.Dispose()-method?
Thanks for all your answers.
...
I'm developing a C# .NET Custom Control and I want to prevent the user, while in design mode, from resizing the Height, while allowing them to reize the Width.
...
I am evaluating a number of NoSQL implementations (RavenDB and MongoDB at the moment) as a means of solving a specific set of requirements that involve storage/retrieval of data that is schema-less. I want to get some feedback on whether NoSQL is the direction I should be looking in, or if there are other (potentially simpler) options.
...
In .Net, I want to generate a json object as follows:
{"1":true}
Can I do so using JavaScriptSerializer?
Can I do it any other way?
...
I am trying to remove all font formatting styles upon doing ANY paste into FCKeditor. Specifically because of the inconsistent way FCKeditor handles pasting between browsers when pasting from Word using different methods (using the toolbar button, Ctrl+V, or the edit menu).
I read this http://drupal.org/node/630156 specifically the comm...
I want to filter a grid at server side based on the value typed in a text box. And the filter should happen as the user types in text box. Since there is no server side event like keypress on a textbox, I decided to do use the client side onkeypress event and call a server side code using PageMethod. But then ran out with the limitation...
Hi, Is there a way to stop a SQL Server 2000 DTS (not SSIS) package that is currently running, programmatically using C#?. I think the package can be executed using the COM API, but I couldn't find a way to stop a running package. thanks in advance.
Update: there is a method in SSIS to get a list of running packages and a method to stop...
So I was playing around with drag and drop. I made a sample application and dropped a file from My Music onto my application. Here's what e.Data.GetFormats() returned:
Shell IDList Array
UsingDefaultDragImage
DragImageBits
DragContext
DragSourceHelperFlags
InShellDragLoop
FileDrop
FileNameW
FileName
IsShowingLayered
DragWindow
IsComput...
I'm kinda getting mixed messages about this so I'm hoping someone can clear this up for me.
Should I be using Shared methods/functions in the following situation:
I have a generic class named "Person". This class represents a person in the database.
I have a manager class named "PersonManager". This class contains methods which adds, ...
In our application if some one purchase a tool for and if the license provided is for some few days (suppose for a week or an year).. How to send a mail automatically to the ID given by him before a day or a few days .. If any one having worked out means it will be very helpful to me...
Thanks & Regards,
Dorababu
...
I'd like to be able to distribute one version of an executable that a user can configure to run as either 32-bit or 64-bit. The service would have a 32-bit host process that would read configuration and launch new processes as 32 or 64-bit. What I haven't determined is how/if a executable targeted for Any CPU can be launched as a 32-bi...
I guess i'm wondering if i need to upgrade one version at a time (2.0, 3.5, 4.0) or if I can just directly from 1.1 to 4.0? Thanks.
...
I am confused about garbage collection process on objects.
object A = new object();
object B = A;
B.Dispose();
By calling a Dispose on variable B only, the created object will not be garbage collected
as the object is still has referenced by A.
Now does the following code work same as above?
public static image Test1()
{
...
Is there any explanation of the sequence of events that occurs in the creation, manipulation, and closing of System.Windows.Forms's various forms and components? Is there an explanation of all possible hooks that I can override and the order they are called in and what happens in between their calling?
I've run into so many avoidable p...
I'm having an issue with a Visual Studio 2008 web application project where changes I make to the form or the code behind do not get built when debugging, and so I cannot use breakpoints and in fact none of the changes I make will display unless I navigate to "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" and del...
Is there for System.Drawing an equalivant of GraphicsExtension?
...