What are the common "backing field" naming schemes in .net?
When doing a backing field for a property what are the common naming schemes? Edit: make question specific to .net ...
When doing a backing field for a property what are the common naming schemes? Edit: make question specific to .net ...
I'm from an AS/400 (iSeries) background and have no idea about how a team of programmers work within the .Net environment. Lets say a company purchases a new button control. Now, in that company they'll have 5 or 10 developers working with that new control. Its my understanding that even if the control is in the GAC, it must still be co...
Is it possible to mimic the way SQL Server installation works? With SQL Server you could have multiple "named instances" installed on the same machine. I believe it is one single executable but they do something in the registry to make it multiple instance. Anyone knows how SQL Server achieves this? We have a window service develop with...
Hi, I would like to create a regular expression to match every word, whitespace, punctuation and special characters in a string except for specific keywords or phrases. Because I only can modify regex, not server code I have to use match instead of replace. I have something like this so far: (?!(quick|brown|fox|the lazy))\b\w+ but it i...
I'm new to C# and Windows Form but if I have a radiobutton and I call radiobutton1.Checked=true, is there a way for it to not fire the CheckedChange event? I want to distinguish between the user clicking on the radiobutton and me setting the radiobutton programmatically. Is this possible? ...
When should I create my own custom exception class rather than using a one provided by .Net? Which base exception class should I derive from and why? ...
As a generically brewed example for the purpose of this question, my intent is to match some number of a's, then an equal number of b's, plus one more b. Examine the two patterns exhibited in this snippet (also on ideone.com): var r1 = new Regex(@"(?xn) (?<A> a)+ (?<B-A> b)+ (?(A)(?!)) b "); var r2 = new Regex(@"(?xn) (?<...
Hi, The following code is in a MEF MVVM desktop application. The Shell is already build, but a Module is initialising. The Module wants to add text to a ContentControl in the Shell, but the following code does not cause the change to be seen in the Shell Window. Any suggestions as to how I get the window to update. thanks [Importin...
usually when v get the response. the html is without the ajax response. coz it is requested latter. but i want the source of the page containing the ajax request's response. ...
Is it possible to programmically connect to an unsecured wireless network, if I know the SSID? I'd like to be able to do this in C#. ...
Hallo everyone. Today i had a disagreement about which is the best language, C# with ASP.Net and Sql Server or python with postgresql? Can you please give me some good points cause i have to prove that it is a better choice to choose .NET for our eshop instead of Python? ...
what does it mean when one says allow exception to propagate upwards to the client ?? How does it work? ...
I've developed a .NET 4 software and I'm ready to send it to beta users. If an unhandled exception is thrown in the software, I would like to catch it, log it and send the logs to me. I've already implemented this functionality and it seems to be running fine when I run it in debug mode with Visual Studio. However, when I've built a rele...
I've got a solution (.net 4, c#) consisting of a webapplication, several windows forms apps and a couple of windows services. Now I'd like to implement a global caching mechanism, so that all these application access the same cache (if possible with as little changes to existing code). My first guess would be using a AOP for implementing...
I am trying to use ZeroMQ / ØMQ / 0MQ (which ever you prefer) on Windows using C# Binding. Is there any beginner materials out there? Do I need to register ZeroMQ DLL on Windows or something in order to run the C# Binding samples (local_lat / remote_lat)? Updated: After a few hours I've got zeromq / ruby working on Ubuntu 10.04. I've le...
I'm trying reactive-framework in a win-form. IObservable<IEvent<MouseEventArgs>> mouseMoves = Observable.FromEvent<MouseEventArgs>(this, "MouseMove"); IObservable<IEvent<MouseEventArgs>> mouseDowns = Observable.FromEvent<MouseEventArgs>(this, "MouseDown"); IObservable<IEvent<MouseEventArgs>> mouseUps = Observable.FromEvent<MouseEventArg...
I have found that an image can be stored as some string .To give an example I have included a ms word part that has an image.I saved a word file with image and saved it as xml format .when i opened the xml file in a notepad i got following section .It must be the image being stored as some stream of text. Is there a similar way to do it ...
I am not very good in regex so I'm looking for help. I need to fetch content between . and {. Example: .aaa { } .bbb {} ccc {} ddd {} eee {} I.e. aaa and bbb in a string. This data can change so I want to use a regex for this. Thanks. Spaces are allowed and new lines are allowed. This is a simple text file. ...
I am working on a tool that will test the server of a Silverlight application. AFAIK, Silverlight uses WCF to communicate with the server. I am curious if here are any free tools out there that can enable to write test scripts that test the server via WCF, preferably in Java, Python, Ruby or anything that does not require .NET. ...
actually I don't know whether they should work I made a library in C# and I've been told by people that one of mine methods don't work in VB.NET as extension http://valueinjecter.codeplex.com/Thread/View.aspx?ThreadId=227498 this is the method: public static PropertyDescriptorCollection GetProps(this object o) { return GetProps(o.G...