A recent blunder was made where the Bug Tracker .NET software was removed from our server;
now we don't have a backup of the installer that was used, only the database. Is there a way to determine the version of Bug Tracker .NET supported by the database backup just based on the schema alone? without manually sifting through the differe...
This is, probably, a very simple answer for someone. I have a method with an Optional Parameter like so;
public static Email From(string emailAddress, string name = "")
{
var email = new Email();
email.Message.From = new MailAddress(emailAddress, name);
return email;
}
Now, I must target .Net 3.5 and i...
Just wondering of what people think of using MonoTorrent and the torrent protocol as the core part of an installer....
Essentially I am creating an installer which has the following requirements:
Access through Firewalls/Proxies
Runs over SSL
Authenticated access to the installer/files
Background download
Handel bad connections (i.e. ...
I have written a managed OpenXML file converter in c#, but I'm having trouble with the deployment. For deployment, I am using a VS Setup Project.
I guess my first question is, I see some people using a Class Library and others using a Windows Application as the COM server. Is there a preference on either one? My converter has dependenc...
Greetings!
Here's the deal:
public static Message CreateMessage(
MessageVersion version,
MessageFault fault,
string action)
action: A description of how the message should be processed.
What do you guys put in there? "Handle with care!!!" or "FRAGILE"? Does it make any difference in the end?
Thanks
...
Question Answered
Thank you Dan! Your code worked perfectly and you saved my life today! Many internets to you good sir.
Original
I was generously guided by the community to use LINQ to find duplicates on my listboxes the last time around. However, I am now in a tough spot because I need to find and remove duplicates from a multicolum...
Hi,
I have a pretty complex composite application (.NET/WPF/Prism). It runs on some kind of embedded devices (with full fledge window 7), let's call them "kiosks". I need to allow remote control for the applicaton. i.e. it should have an embedded web-server which will provide some information via http/html for remote control (checking st...
If I include files in my Silverlight app and need to load them as raw byte arrays programatically, which Build Action should I set them as, and how do I refer to them? If they are included as Content, can I load them by path as a regular file? If I include them as Resource is there a collection of embedded resources where I can grab a ...
Is this true?
http://stackoverflow.com/questions/2756307/what-is-the-equivalent-of-jpa-in-net
The marked answer shows a bunch of implementations. My understanding of JPA is that it is a specification?
What would be the equivalent specifications in .NET?
Would it be Linq Providers? And maybe the connection classes?
...
static class MyClass
{
static void Main()
{
bool b1 = false;
if ( b1 )
{
throw new MyException(GetText(b1));
}
}
public static string GetText(bool bFlag)
{
if ( bFlag==false )
{
throw new Exception("'GetText' method should not be called when cond...
How can I monitor the network traffic for a given app using .net?
UPDATE: How can I monitor the network traffic of another application using .net?
...
I have a distributed application that uses .NET Remoting on an in-house gigabit network. There is a single server, and over a dozen clients that connect to the server. The clients run multiple threads, and there can be up to 10 concurrent requests from each client.
This application works very well most of the time. The server stays u...
Hi --
Has anyone developed (either as open source or as a reasonably-priced commercial offering) a .Net implementation of the Win32 Native Wifi API? Or does anyone here know of such a thing?
I've done about an hour and a half of spelunking on Google, MSDN, pinvoke.net and here, and haven't found anything. If I've missed something ...
New to the MVC.net scene (and .net for that matter), but seems I find a wide array of options when wanting to populate a "list" with data. In my case at the moment, I'd like to populate a list from a select query of items and render the results in JSON for output, so bear with me....
So, my viewmodel class is something like :
[Seria...
I am using EF 4.0 and am generating my Entity Model (.edmx) file from my database. I have several foreign key constraints for Cascade OnDelete, however, these are not getting set on my associations in my entity model. I click on the association and it shows End1 OnDelete: None.
When I check the Delete rules in my SQL Server 2008 databa...
I've been offered to be dispensed of classes in computer science in college, as the teacher noticed I obviously knew the introduction to coding. I'm extremely fluent in C# and with most programming concepts, so the exam shouldn't be so hard. I can also code in other languages such as C++, C, Lua, PHP, VB, etc.
I'm not caring about passi...
What's the difference between XMLWriter and XMLDictionaryWriter? In which cases is each one generally used?
...
Possible Duplicate:
Binding GridView to Objects
My C# app contains a Data Object like this:
public class Data
{
public class a {get;set;}
public class b {get;set;}
}
public class a
{
public int first {get;set;}
}
public class b
{
public int second{get;set;}
}
I initialize my data when the application starts a...
I know that on deserialization the DataContractSerializer does not call the constructor. Does it also bypass a public or private property's setter method?
...
Why do I receive a black screen when using the following code to take a screenshot every 20 milliseconds and transmit it to a peer over an encrypted connection? (I am aware that 20 milliseconds is a bit fast of a refresh rate, but it seems that is not the problem. The processor and network can keep up quite well with the refresh rate, th...