Serializing IEnumerator<T> created using yield return
Is there a way to serialize (using BinaryFormatter) the IEnumerator<T> that gets created when I use yield returns? The autogenerated class isn't marked Serializable. ...
Is there a way to serialize (using BinaryFormatter) the IEnumerator<T> that gets created when I use yield returns? The autogenerated class isn't marked Serializable. ...
I was wonder if there were any resources regarding Mondango development out there, it's been tough to find any via google. ...
From what I understand, one can develop a stand alone desktop-app using Eclipse or Netbeans platforms (their core SDK and Runtime). Is there any similar project in .NET? Another question is regarding the Plugin feature in Eclipse and Netbeans. Is it possible to use their platform to create a stand alone application AND use their plugin ...
Hi! Iam working on a app and I need to send data from my database, As I have udnerstood arch of android, I must use REST service. I have tried finding information but I can't. I have tryied with books, and none of the are showing how to connect the services, and how to create WCF service in asp.net. PLS. Help me out ...
How do i escape HTML characters in .NET? I am grabbing html from a json string and in the title i get &quot;more text. It looks like i need to do it twice to get &quot; to become " then that to be a '"'. How do i escape all the text html escape codes in .NET? ...
in .NET, is there a way to convert a string with \n (new line) and other special characters to HTML respecting the formatting? If not I could write my own method to replace \n with < BR/>' put I wonder if there is a better way. ...
Hi all I'm looking for some good resources about network programming in .NET (c# preferably), I managed to find out few e-books but they are all the books back in 2002-2003. If you know any e-book, video, websites ... or any other resources will be thanks full to comment them for me. ...
There is a Silverlight (4.0) application that is calling to WCF-service. During 1st call to WCF-service some data are get from HttpContext.Current.Session object. During 2nd call to WCF-service HttpContext.Current is null... Do you have any idea why (and how to fix that)? Current settings: Options "aspNetCompatibilityEnabled" and "ru...
On a Windows PC in Japan, this line of C# throws a format exception: double d = double.Parse("NaN"); This line executes fine on my PC in the U.S. Don't know where to begin troubleshooting this one. Any thoughts? Thanks in advance, Jim ...
I'm not very sure but for some reasons I can't use a BlueToothListener that receives string information. I tried following this example, and it doesn't seems to work. Code Snippet private Guid Rffcomm = BluetoothService.RFCommProtocol; private void btnConnect_Click(object sender, EventArgs e) { if (comboBox1.SelectedValue != null...
I'm writing my own extension. I've created a toolbar button. The template I used was "Visual Studio Package" and there was an option during the wizard to create a command button (or something like that) So the button shows up, but I can't work out how to get the current document or the selected text within the document. Any help would ...
Developer teams usually have some class naming conventions based on class functionality and roles it plays in patterns. For example, we use the following postfixes: Info for data structure classes (only public properties, no methods, such as business entities). Helper for classes with common functionality used all over the project (S...
I have this code to load a config file and read all the values and it works fine when running the application but of course fails on team city because the appdomain's base directory is where the build script (psake) is started. I know I can change directory to the build dir before executing the tests but I thought it's better to make loa...
I'm trying to write a monitor app for Dream Daemon, a specific server app. Since the server app tends to crash (specifically, Dream Daemon is a server for a specific brand of interpreted code, so it's the interpreted code that's crashing, leaving DD idling). To avoid people having to manually log on and restart the thing several times ...
hi, my computer configured to have automatically ip address and when i use ipconfig /all command that shows something like below: Windows IP Configuration PPP adapter Broadband Connection: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 95.38.95.204 Subnet Mask . . . . . . . . . . . : 255.255.255.255 Default Gat...
I see they have a windows version that looks like WPF and a mac screenshot shows Mono in the title bar. Is it written in C# .NET with Mono? (I'm only asking because they seem to do it right) Thanks. ...
I can understand that WCF is in general better than Remoting, but the two seem quite different to me. MS make this pretty picture to show how great WCF is (or perhaps how poor the other techs are to only check one box each): But, WCF is centered around SOA and I don't think it's correct to assume every networked application wants to ex...
Hello i need to develop a .net library which exposes a java web service proxy to a legacy vb6 asp web application . Being the first time i do such a task and not knowing vb6 programming language, i need some clearifications by a more experienced programmers. To begin i've searched the web and i've found the following link (in case some...
I´m developing a rich text editor using the WPF RichTextBox control. I´ve been searching for a way to implement merge and split functionality on selected cells/rows, but can´t find a good way of doing that. Anyone who knows? Edit: Anyone? ...
Hi, we use the nunit.exe application to run our (integration)test Now i experience the problem that the connectionstring is not picked up from the app.config from the dll where the testcode is in. That sounds logical because the nunit.exe is the starting app and not the test dll (it used to work when i started the tests from the visua...