This is almost identical to this question asked by another user, and is the sequel to a question I asked previously.
Basically, my company recently bought Tidal Scheduler. We need to launch jobs ad hoc from other process, e.g.: BizTalk, .NET web apps, etc. Our plan was to wrap a .net web service around the C++ API. That is apparently go...
I'm using VS2008 SP1, WCF Ria Service July 2009 CTP. I found out that MetadataType does not work in partial class mode, really don't know what I have missed out:
Work:-
public partial class Person
{
private string _Name;
[Required(AllowEmptyStrings=false, ErrorMessage="Name required entry")]
[StringLength(3)]
public st...
Possible Duplicate:
print name of the variable in c#
How I can print the name of any object
MyClass c1, c2;
printName(c1);
printName(c2);
void printName(Object o)
{
Console.WriteLine("name of object : "+ o.???());
}
output should be like this:
name of object : c1
name of object : c2
This is specific to .Net, but ans...
The FxCop says in a rule that generic List should not be exposed to the outside world.
But I do not understand why and what is the replacement for the generice List?
Reference : http://msdn.microsoft.com/en-in/library/ms182142%28en-us%29.aspx
...
I have many C# books that all have one small section on Threads and maybe another on Delegates and Lamdas, however, I can't seem to find a book where the primary focus is Concurrency. Can anyone recommend a book on using Concurrency when writing C#.net apps?
I have found several books on Concurrency principles, but I need actual code s...
I already have one application running (in English language).
I want to translate those application text to some native langauges with my program.
It it possible to change it?
...
Good afternoon,
say is it possible to provide credentials (username/pw) for file or folder activities (e.g. removecontent) with the MSBuild Extension Pack? As in.. the build user is not necessary the one I want to use to deleted/work with on certain folders/files I need to modify/delete (e.g. remotely on UNC shares).
Is this doable? I ...
I am using Jabbernet DLL to implement a c# based XMPP client with some customizations specific to my project. I want to support file transfers in my XMPP client. From what I could google/read, This can be done using Muzzle DLL that's available. I could not find any documentation/example to do this.
Can any one point me to a link/example...
I have an assembly that contains a function that could be called from IIS or from a console app.
Because of this I have opted for the following to get the path:
System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location)
obviously this will return the bin directory in the case of the function being ca...
Hi All,
How do you determine which classes should be constructed through an IOC container, and which ones shouldn't. I've worked on projects with both extremes and it seems like interfaces should only be used when the classs specifies a specific technoliogy like logging or data access?
Where do people draw the line between the two?
...
Currently I created the chating application which is windows application(c#).
I created basic Client version which help of jabber net which internally uses XMPP protocol and openfire server.Now I had to implement File Transfer between two users in jabber net.
I have searched lot but there no solution for this aproach in c#
...
Hi,
I'm trying to create a small application within CRM in the ISV folder.
I created a new application using Visual studio 2008. The only thing it does is Response.Write("Hello world!") in the onLoad-function. I compiled it and uploaded it to a virtual folder (app) in the ISV directory in CRM.
If I now go to crm.mycrm.nl:5555/ISV/app ...
Hi
I am using Enterprise application block on my application' server side to handle exceptions.
I am able to successfully handle exception. I have created a custom service fault class to handle exceptions.
Here are my web config enteries...
<exceptionPolicies>
<add name="WCF Exception Shielding">
<exceptionTypes>
<add ...
c# winforms validating Event not working when i click on save button it still fire save event unless i have textbox validations....
...
Possible Duplicate:
Difference between lock(locker) and lock(variable_which_I_am_using)
In all of the "thread-safe" code examples i've seen, they lock on a separate dummy object. Why cant locks be directly performed on the data in question?
...
I have the following extension method:
public static void ThrowIfArgumentIsNull<T>(this T value, string argument)
where T : class
{
if (value == null)
{
throw new ArgumentNullException(argument);
}
}
and this is an example of its usage....
// Note: I've poorly named the argument, on purpose, for this question...
I have created a custom control that inherit the TextBox, in that control i have override validating event and in validating event i have put validation that checks for the empty field.
Now when i use that control on my winform and when i click on save button it immediate fires save event.. the validation event of custom control fires a...
I think that this is not possible because Int32 has 1 bit sign and have 31 bit of numeric information and Int16 has 1 bit sign and 15 bit of numeric information and this leads to having 2 bit signs and 30 bits of information.
If this is true then I cannot have one Int32 into two Int16. Is this true?
Thanks in advance.
EXTRA INFORMATIO...
Hi, my current app uses week numbers (as in week x of 52). The business want this to match the default MS Outlook behaviour, which is a rule it calls 'Starts on Jan 1'. (We use weeks starting on Monday. There is a mixture of Outlook 2003 and 2007).
This rule looks at the working week which includes the 1st of the year, and makes that...
Hi,
I'm having a problem in calling .net web services from android
using ksoap2. The call is executed just fine without parameters, but
when I pass paramters of any type, the web service just recieves a
null value. I tried everything possible but no luck so far. I hope
someone can help,
The client side code is:
public static boolean tem...