Click here to Skip to main content
15,914,943 members
Home / Discussions / C#
   

C#

 
AnswerRe: Dictionary Pin
BillWoodruff20-Oct-17 16:49
professionalBillWoodruff20-Oct-17 16:49 
QuestionAdd Authentication to Web MVC API Pin
Member 47739879-Oct-17 11:02
Member 47739879-Oct-17 11:02 
QuestionHow to click one of many buttons with its name of an web page to submit an form? Pin
Carvin Chen9-Oct-17 5:16
Carvin Chen9-Oct-17 5:16 
QuestionGenerate a WPF-Menu based on a XML-document Pin
Member 131005738-Oct-17 3:08
Member 131005738-Oct-17 3:08 
QuestionRe: Generate a WPF-Menu based on a XML-document Pin
Eddy Vluggen8-Oct-17 3:40
professionalEddy Vluggen8-Oct-17 3:40 
AnswerRe: Generate a WPF-Menu based on a XML-document Pin
Member 131005738-Oct-17 4:16
Member 131005738-Oct-17 4:16 
GeneralRe: Generate a WPF-Menu based on a XML-document Pin
Eddy Vluggen8-Oct-17 5:01
professionalEddy Vluggen8-Oct-17 5:01 
AnswerRe: Generate a WPF-Menu based on a XML-document Pin
Meshack Musundi8-Oct-17 4:37
professionalMeshack Musundi8-Oct-17 4:37 
AnswerRe: Generate a WPF-Menu based on a XML-document Pin
Pete O'Hanlon8-Oct-17 6:01
mvePete O'Hanlon8-Oct-17 6:01 
AnswerRe: Generate a WPF-Menu based on a XML-document Pin
Henrik Jonsson10-Oct-17 10:23
Henrik Jonsson10-Oct-17 10:23 
Questionnetworking Pin
Member 134168087-Oct-17 6:59
Member 134168087-Oct-17 6:59 
AnswerRe: networking Pin
Eddy Vluggen8-Oct-17 1:16
professionalEddy Vluggen8-Oct-17 1:16 
Questionconvert 20171005 to 10/05/2017 Pin
jkirkerx6-Oct-17 8:45
professionaljkirkerx6-Oct-17 8:45 
AnswerRe: convert 20171005 to 10/05/2017 Pin
Richard Deeming6-Oct-17 9:24
mveRichard Deeming6-Oct-17 9:24 
GeneralRe: convert 20171005 to 10/05/2017 Pin
jkirkerx9-Oct-17 7:05
professionaljkirkerx9-Oct-17 7:05 
GeneralRe: convert 20171005 to 10/05/2017 Pin
Richard Deeming9-Oct-17 8:00
mveRichard Deeming9-Oct-17 8:00 
AnswerRe: convert 20171005 to 10/05/2017 Pin
Gerry Schmitz7-Oct-17 6:08
mveGerry Schmitz7-Oct-17 6:08 
GeneralRe: convert 20171005 to 10/05/2017 Pin
jkirkerx9-Oct-17 7:07
professionaljkirkerx9-Oct-17 7:07 
QuestionSerializing \r\n read issue Pin
C. David Johnson6-Oct-17 6:07
C. David Johnson6-Oct-17 6:07 
AnswerRe: Serializing \r\n read issue Pin
jschell6-Oct-17 7:03
jschell6-Oct-17 7:03 
GeneralRe: Serializing \r\n read issue Pin
C. David Johnson6-Oct-17 7:26
C. David Johnson6-Oct-17 7:26 
GeneralRe: Serializing \r\n read issue Pin
Richard Deeming6-Oct-17 7:46
mveRichard Deeming6-Oct-17 7:46 
GeneralRe: Serializing \r\n read issue Pin
C. David Johnson6-Oct-17 8:05
C. David Johnson6-Oct-17 8:05 
Well crap that is not the answer I was looking for. again its not whitespace it is literally a crlf. Perhaps XML treats it the same. Just wanted to make sure I was clear. Our current reader / writer is almost 200 lines of code that is unbelievably slow. If I can get over that one hurdle I can replace it with 10 poco classes and this method

public static MyType Load(string filename)
{
    var ser = new XmlSerializer(typeof(MyType));
    var returned = (MyType)ser.Deserialize(new FileStream(filename, FileMode.Open));
    return returned;
}


Guess its time to get the other Guy to test my output and see if it breaks his app, if not I'm good. I was trying to open an existing file and save it as an exact match with the exception of
<Key FIELDID="123"></Key>

becoming
<Key FIELDID="123"/>


Thanks again for all your help.
If I have to keep the crlf in the file and find a way I'll post it here
I can't be the only moron to ever need to do this
GeneralRe: Serializing \r\n read issue Pin
Richard Deeming6-Oct-17 8:07
mveRichard Deeming6-Oct-17 8:07 
GeneralRe: Serializing \r\n read issue Pin
jschell11-Oct-17 5:53
jschell11-Oct-17 5:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.