I recently moved from Subversion to Mercurial. I'd like to setup Continuous Integration (CI), but I'm unsure how a DVCS CI differs from an Subversion CI implementation.
I'd like to hear how others have implemented their DVCS CI implementations and what tool sets were used.
...
An example would be:
XNamespace ns = "my namespace"
Why not?:
XNamespace ns = new XNamespace ( "my namespace" )
What's the idea behind using implicit/explicit convertions instead of constructors? Convenience?
Is there a guideline for this?
...
Here's my bit of code:
List<Sale> sales = new List<Sale>();
if (Cache["Sales"] != null)
{
sales = (List<Sale>)Cache["Sales"];
}
else
{
...
Cache.Add("Sales", sales, null, DateTime.Now.AddMinutes(20),
Cache.NoSlidingExpiration, CacheItemPriority.Normal, null);
}
When I try to pull the data from the cache, my "sales...
I have been trying to figure out how I would be able to write an application to deploy IIS configs to multiple WebServers. The web configurations will be taken from one environment and then be restored on one or more webservers. I have tried out the DirectroyServices API from .NET to manage IIS. I wanted to export all the configuratio...
How to compare two DateTime to seconds?
...
I had some problems where RSA keys created using the Security.Cryptography.RSAParameters were working only most of the time with RSACryptoServiceProvider.ImportParameters.
After a bunch of debugging it appears that the properties of that object want very specific byte buffer sizes. My ASN.1 parsing code has zero-byte-prefix elimination....
The question is simple: is there a way to expand a single form to all connected screens?
...
Hi
I have a problem with the Label control that is terribly flickering.
Below is some code to reproduce the problem.
How to solve this?
UPDATE: The solution for the previous case (a Form contains a Label directly) was to make the form.DoubleBuffered = true. But this is not a generic solution. For example, what should I do in the case...
Hi,
I am trying to use the sping.net nhibernate integration with the latest nhibernate 3 release. Unfortunately spring.net references nhibernate 2.1.2.4000.
I tried to fix it with an assembly redirect to 3.0.0.1002 but this yields the error:
The method "IsInstrumented" in Type "Spring.Data.NHibernate.Bytecode.ProxyFactoryFactory" of A...
Two questions:
I need to make a server that handles potentially thousands of simultaneous requests for:
Hashing of files
Compression of files
Decompression of files
Possibly some file copy / moves as well
I can't control a customer's hardware (RAID configurations, etc) so I assume all I can do is request hundreds of file operations,...
Hi all,
I am trying to build a email marketing service company. I am a .net programmer and I have played around trying to build a custom SMTP server but a lot of problems came up when domain keys into play.
I am on the next step where I am looking for a professional that I could implement with .Net to send emails. It should provide full...
Possible Duplicate:
When should I use attribute in C#?
Hi, I am trying to understand how Attributes in .net works.
As we all know Attributes are of two types metadata and context attributes.
Metadata attributes: it allows some data to be attached to a class or method. This data becomes part of the metadata for the class, an...
I'm reading through a fantastic article on the .NET Configuration namespace (found here) which talks about creating custom sections, elements, collections, widgets, and flying toasters. The only complaint I have is that the article is only technical and doesn't provide any conceptual context. MSDN doesn't appear to have much conceptual i...
I'm trying to gain a better understanding of how multi-core processors work and how as a programmer I can take advantage of them.
Let's say I have a standard .net console app. It doesn't do any multithreading. Does it only run on 1 of the cores? If so which core does it run on and is it the same one everytime?
Now let's say I have anot...
Still learning create MSI installer with VS 2008 for our C# application. We have some batch files to create database and tables, after installation we want to delete it because there are sensitive information on them (username, password, ...). My questions are like those:
where should I put those temporary folders/files? (doesn't matte...
We're "automating" a third part application by writing a script to mimick using input. We're able to mouse click, send keystrokes etc by using win32 calls, but I'm having trouble automating manipulating a scroll bar.
I've found the window who's location matches the visual location of the scrollbar, so I'm pretty sure I have the window h...
I am looking for something other than XmlReader.
I want to apply a query and load only the data that is needed.
Actually I want to load as little of the xml as possible.
Maybe some kind of XQuery utility/class could do the trick.
...
I'll start in the way most people seem to have taken to, on here....
So I was....
Nah thats gash. I'll start again (might lose a few points for not being straight to the point but wth)
Right,
I have inherited a framework which utilities WCF to provide some operation and data contracts.
This might be irksome to some, but I haven't...
Lets say I have object Tom which has class Person.
Class Person
String Name
DateTime BirthDate
String Role
Int32 Salary
Can you give me an approximation of its memory size if it has the following values:
Name = Tom. BirthDate = 1/1/1990. Role = User. Salary = 30000
Could you also give me some insight into how the calculation was do...
We have a website that is based on C# and ASP.NET, I have a barcode scanner with a .dll file to control it that I can get to work in VB6. Before I dig deeper in exactly how to do this I wanted a quick answer on if it is even possible to do what I want first.
Can I write an activex control in VB6 that will allow me to control the barcode...