I have configured a SMTP appender to send an email whenever there's an error.
<appender name="EmailAppender">
<bufferSize value="50" />
<lossy value="false" />
<threshold value="ALL" />
<evaluator type="log4net.Core.LevelEvaluator,log4net">
<threshold value="ERROR" />
</evaluator>
</appender>
I need to also get an email...
Hey :)
I've just deployed our first ClickOnce application. Unfortunately it requires far more than one click to install our application.
The user downloads the setup.exe and executs it
The default browser pops up (e.g. Firefox) and the user has to download an ourapp.application file
Afterwards he can start this file and after some sec...
All I really want to do is complete two async operations, one right after the other. E.g.
Download website X. Once that's completed, download website Y.
...
I'm trying to access the Wine implementation of some user32 functions on Kubuntu Linux. I have the Wine 1.1.31 package installed. When try running this simple test program in MonoDevelop, I get a System.EntryPointNotFoundException.
using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace PinvokeTesting...
What is the .NET code to connect through the internet to a web service which is behind an HTTPS proxy.
I am given:
https:// - the url of the proxy
https:// - the url of the webservice from the WSDL.
two certificates - theirs and mine.
...
I've got a .NET application that uses Remoting between an Administration Console and a Server application.
During a particularly long running remoting call, I will get an error message, displayed below.
I have added the Sponsor to the client to prevent the Remoting connection from being closed, and I have verified the Renew() method is...
I am a relatively new programmer; a bachelors in CS, about 2 years out of college, working mostly with .NET in C#. I am fairly fluent with SQL interaction/scripting, and have done a little work with ASP.NET (mostly maintaining an existing site).
I'm interested in starting a website in my free time, the closest thing I can describe to i...
By convention classes are often named like nouns, methods like verbs and interfaces like adjectives.
What is the common naming convention for a delegate? Or what's a good way to differentiate its name when delegates are listed among types and other things?
My immediate assumption is to name a delegate more like an adjective because a ...
I don't necessarily see a grandiose benefit of interfaces inheriting interfaces.
Consider the following three interfaces, the third inheriting the other two
interface IOne {
}
interface ITwo {
}
// interface inheritance
interface IAll : IOne, ITwo {
}
Is it best to
class C : IOne, ITwo { ... }
or
class C : IAll { ... }
If th...
& Eacute ; \u00C9
& egrave ; \u00E8
& eacute ; \u00E9
& apos ; \u0027
something like:
f("'") = '\u0027' where f :: string -> char
g('\u0027') = "'" where g :: char -> string
Or is there a third-party library with a BSD or MIT style permissive free license with something of this sort? Otherwise I'll have to create my ...
I had a performance problem today that showed up after some profiling. Calls to List<>.RemoveAt(0) were taking a long time. I'd assumed System.Collections.Generic.List would be implemented with a list data structure, but actually its implemented as an array.
Does anyone else find that surprising?
...
I have a button on the window form and and one method I am calling button's PerformClick() event.
Now if I make this button visible false.Then that PerformClick() event is not performed.
Is it ok? And if yes then I want to make the button invisible on the form what should I do ? I already make the background color of the button same as...
Hello,
I need use Insert Ignore for my table, which have Unique index on several fields.
How can i do it?
Thank you
...
When you create a new C# project in Visual Studio, the generated AssemblyInfo.cs file includes an attribute specifying an assembly GUID. The comment above the attribute states that it is used "if this project is exposed to COM".
None of my assemblies contain types which need to be visible to COM, so I have marked my assembly with [assem...
Hai Everyone,
I have to develop a .Net application in which i have to add or remove a user from Mailman mailing list.My Question is whether there is any .Net connector or Dll to connect to mailman mailing list using .Net.
Thanks & Regards
Chaithu
...
Hi all,
Hopefully you can help.
Scenario
WPF Application calling a wcf Service to buy products etc...
A customer can select 20 products in the UI and press buy,now for each product that is processed I need to report a status EG("OK","Out of stock","Busy" etc...)
I have a txtReportProgress that is bind to a BuyCommand.
Problem
Even t...
During my 4.5 years of experience in software development I have worked on .Net for 2.5 yrs
then next 2 yrs on XUL/Javascript(Thunderbird addons development)....and my current employer needs me to work on JSP/Servlets(its a legacy application around 10 yrs old).
I would like to know if it would be a good idea to shift to Java or it wou...
Mono is a software platform designed to allow developers to easily create cross platform applications.
What are some of the hidden features of Mono?
...
Hello everyone,
I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I have deployed a collaboration portal template based SharePoint site collection. I am developing using ASP.Net web application using VSTS 2008 + C# + .Net 3.5 + ASP.Net + SharePoint Server 2007 SDK. I am devloping a custom Forms authentica...