Juggernaut-like engine for .net?
Does anyone know of an engine for .net that provides realtime server connection like Juggernaut for Rails? Preferably open source. ...
Does anyone know of an engine for .net that provides realtime server connection like Juggernaut for Rails? Preferably open source. ...
I am nesting 3 listviews. I use the itemdatabound event to find my second listview to bind to. My question is how do I find the third listview. How do I access the itemdatabound of the second listview to then find the third control. Hope that makes sense Thanks EDIT: Can someone point me to a good example or tutorial on how to do th...
We have a small .Net program that we sell with individual licenses. The individual licenses are enforced by registering a key file that is generated using information from the machine used to install the program (MAC address, etc.) Now, we have a customer request for a site-wide license, such that they can deploy to as many machines on ...
Hi, I'm supposed to be logging a "commercial" transaction object (e.g. the request/response of a credit card processing gateway). Someone mentioned using log4net to store that... but it just doesn't feel right, especially given that some information (i.e. properties on the object) need to be either omitted entirely or massaged (e.g. on...
This is my LINQ statement var Query = from products in pLDataContex.Products where (products.Id == p) select new OrderProductMapping { OrderId = insertedOrderId, ProductId = p, ProductPrice = Convert.ToInt32(products.Price.ToString()), P...
I wan't to build a word 2007 add-in that allows users to: Hilight pargraphs etc. of text in a word document. Click a toolbar button or select an option from a right-click menu to "mark" the text as being some type of data (there will be 3 of 4 different types of data) Also, the ability to select some text and and unmark it (this would ...
I'm looking at my options here. I would love to know how to write my stored procedures not in the SqlServer but in my app (DB Layer) using SqlHelper? Can anyone help? ...
Having performed some refactoring I am now finding that NCoverExplorer is unable to merge my test results. With NCover and NCoverExplorer v3.2.2 the merge appeared to work, but NCoverExplorer would fail to open the merged file with an error suggesting that the file didn't exist or couldn't be opened (which it did and could). So I tried ...
An in house application that I'm developing is behaving strange on a Windows 7 (64 bit) PC. If I create an instance of a PrintDialog, and call it's ShowDialog() method, the method immediately returns DialogResult.Cancel without showing the printer dialog form. The Windows 7 PC does have printers installed (with a working default printe...
Using C# (.NET 2.0), what is the best way to retrieve a file listing in a network directory, with preference to either sort by last write time, or to exclude the return based on last write time? I'm currently bringing back a listing using the GetFiles method of a DirectoryInfo instance. The directories I encounter can contain over 6,00...
I am building an app which sends/recv large data to/from my remote FTP server. I want to implement FTP commands over SocketConnection. I have to first open the connection and then user and then password to server, after verifying the required response I want to begin download/upload. I dn know how to begin. I have only idea : public cl...
Hi there, I've currently got a class similar to this: public class myClass { **[XmlElement("mcp")]** public int MyClassProperty; } This is to try and reduce the length of the property name for when the class is serialized in a web service call. However I want the class which references myClass via the web service to use MyClassProper...
Hi all ok I'm not a .net developer I'm from a PHP, python background and I'm not sure what to do with this. I have the following error when trying to load one of our sites. Please can someone help [ArgumentException: Illegal characters in path.] System.IO.Path.CheckInvalidPathChars(String path) +7491109 System.IO.Path.GetFileNa...
Hello All, I want to validate the field whose datatype is float in the database.Please tell me the required expression and regular expression for the float datatype so that user can enter only the digits in float. for example this is giving error else if(!Regex.IsMatch(lowerlimit, @"[+-]?(?:(?:\d+\.\d*)|(?:\d*\.\d+))")) { ...
Hi, I am migrating my project from 2003 to asp.net 2008.My problem is about Readonly Textboxes.I have some textboxes as readonly.In 2008,i cant get values from these textboxes if readonly=true in aspx.So i write a function which converts readonly=false and add readonly attribute in run-time.It works well if my textbox is not in update p...
Hi folks, with my Repository classes, I use LinqToSql to retrieve the data from the repository (eg. Sql Server 2008, in my example). I place the result data into a POCO object. Works great :) Now, if my POCO object has a child property, (which is another POCO object or an IList), i'm trying to figure out a way to populate that data. I'...
can anyone suggest how to configure the log4net for an console app? Or at least how/where to catch the Application_Start event? (It seams that some calls are required at this moment) Thanks in advance! ...
Hello, I've an interface where user selects picture (using OpenFileDialog) and its shown in a fixed size picturebox. I want this picture to fit in the picturebox even if the resolution is high. What property do I need to set inorder to let my image AutoScaleToFitIn the PicutreBox? ...
Which exception should be thrown here? public static string DoStuff(this Control control) { if (control == null) { throw new ArgumentNullException(); } // Code goes here... } I thought about the following: ArgumentNullException (as used below) InvalidOperationException NullReferenceException My choice wou...
I am having a very frustrating problem with the WCF test client. When I build my WCF service locally and debug I am able to test it in the test client app. However, when I make a change, sometimes even completely removing a service method, it absolutely will not refresh. It's like it's caching a copy of the service somewhere. I have trie...