I have a question, which may be a pipe-dream, but I wanted to know if any of my fellow Stack Overflow'ers could help me with.
In the company I work for, we do billions of image manipulations each month. Basically, we take a massive image, slice it into 256 pixels square images, color quantize them and save them as pngs - and move onto ...
On MSDN Magazine it has a good article about MVVM and they are binding the validation error in the Xaml to Validation.ErrorTemplate="{x:Null}". I do not get it why and how they can display from the IDataErrorInfo the error? Anyone can light me on how to get the error message displayed to the screen with the MVVM approach?
...
I have a complex type:
[DataContract]
public class CustomClass
{
[DataMember]
public string Foo { get; set; }
[DataMember]
public int Bar { get; set; }
}
I then have a WCF RESTful webservice that has this in it:
[OperationContract]
[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMess...
Hi guys
I am trying to create my first fluent interface and I was just wondering what other poeple thought was more fluent and which one they would prefer to use?
Check.Field().Named("est").WithValueOf("sdsd").IsNotNull()
Check.Field("est").WithValueOf("sdsd").IsNotNull()
Check.Field("est").WithValue("sdsd").IsNotNull()
Cheers
Anth...
Given this code:
int x = 20000;
int y = 20000;
int z = 40000;
// Why is it printing WTF? Isn't 40,000 > 32,767?
if ((x + y) == z) Console.WriteLine("WTF?");
And knowing an int can hold −32,768 to +32,767. Why doesn't this cause an overflow?
...
I am not getting the difference between resource files and satellite dll.
...
I have a web service that i need to consume in Oracle Forms. The web service is SOAP based service and was generated using Microsoft Biztalk Server. The service accepts a complex xml message as its request and returns a similar xml message as response.
I want to consume this service from within my Oracle Forms Application (Forms version ...
We have loads of DLLs with tests. I'm looking for a test runner (GUI) that either allows me to load all DLLs in a folder or that can load all tests from Visual Studio solution files. Ideas?
(I would like to use it as a complement rather than a replacement to our nightly builds (that runs all tests)).
...
hey guys, ok, here's the scenario:
VS 2008 .NET 3.5 SP1, LINQ to SQL.
I have a Product Entity, which has an ImageID field, so it has a relationship with the Image Entity. This is all defined in the schema and DBML.
Now, say I create a new Product entity, without a ImageID, and save it to the DB. At this point, the _Image field of the ...
I need a sample application where the UI part is made with .Net (Windows) and Data Base handling logic/Business Logic part is handled by J2ee.
Thanks
...
C# / .NET 3.5 / WinForms
I've got a form that opens a modal dialog form which opens another modal dialog form. The inner dialog form has OK and Cancel buttons and its AcceptButton and CancelButton are set to them respectively.
When I hit Enter or click OK in the inner dialog, the outer dialog closes as well. I can't see where I'm doi...
I want to get the list of removable disk in c#. I want to skip the local drives.
Because i want the user to save the file only in removable disk.
Thanks. Urgent
...
Hey,
My application (which is a windows service) needs one command line argument which is the location of a config file.
I want the service to be able to start automatically. Filling in the 'Startup parameters' value only applies to manually starting it and that value does not carry over after the service is stopped.
I tried manually ...
After googling and landing on SO and having read this other question
Is it possible to build a correct Delegate from a MethodInfo if you didn't know the number or types of parameters at compile time?
More on this: can this be done elegantly without the use of Reflection.Emit or type builders?
This is sorta a bummer for me because ...
I need an XML-serializable dictionary. Actually, I now have two quite different programs that need one. I was rather surprised to see that .NET doesn't have one. I asked the question elsewhere and got sarcastic responses. I don't understand why it's a stupid question.
Can someone enlighten me, given how dependent various .NET featur...
Hi, looking for help and need pointing in the right direction, can anyone assist?
Have a data file (txt) that contains 10000 numbers/data points. Storing the data file as varbinary(MAX) in an SQL table.
My goal is to retrieve the file on user request and plot/chart the numbers as a line chart.
No problem in getting DataReader to displ...
How can i change the implementation of a method at runtime from return false; to return true;? I don't have control over the methods implementation as it comes with a third-party library. Any workaround is appreciated. Again: I do not control neither the method itself nor it's callers.
...
Hi All,
My SQL database has a a column in a table that has the datatype of datetime and allows nulls (because I need it to either be a datetime value or blank) and I need to be able to read this value and then display it in a textbox. The problem is that on inserting and updating, the autogenerated tableadapter (when dragged from the se...
G'day,
I'm a long time Unix and Linux person with about 30 years and 14 years experience in those technologies, respectively. But wanting to expand my toolbox, I was trawling SO for hints on learning Sharepoint and I was wondering about Jon Skeet's answer to the question "How to begin as a .net and SharePoint developer" where he suggest...
I want to create and insert a lot of images into a PDF and iTextSharp looks promising for this. Their tutorial discusses adding a .net Bitmap object to the document, however, the Bitmap they use is one generated from an existing supported image file. Can iTextSharp take a Bitmap object that is directly generated by a graphics object?
Th...