Click here to Skip to main content
15,887,434 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Application pool crash monitoring Pin
Eddy Vluggen8-Jul-13 7:08
professionalEddy Vluggen8-Jul-13 7:08 
AnswerRe: Application pool crash monitoring Pin
jschell8-Jul-13 8:33
jschell8-Jul-13 8:33 
QuestionHow to write data to XML file using ASP.net/C# if that file already using by another process Pin
ven7534-Jul-13 1:18
ven7534-Jul-13 1:18 
AnswerRe: How to write data to XML file using ASP.net/C# if that file already using by another process Pin
Bernhard Hiller4-Jul-13 3:31
Bernhard Hiller4-Jul-13 3:31 
AnswerRe: How to write data to XML file using ASP.net/C# if that file already using by another process Pin
Dave Kreskowiak4-Jul-13 6:00
mveDave Kreskowiak4-Jul-13 6:00 
GeneralRe: How to write data to XML file using ASP.net/C# if that file already using by another process Pin
ven7534-Jul-13 9:23
ven7534-Jul-13 9:23 
GeneralRe: How to write data to XML file using ASP.net/C# if that file already using by another process Pin
Eddy Vluggen4-Jul-13 10:16
professionalEddy Vluggen4-Jul-13 10:16 
GeneralRe: How to write data to XML file using ASP.net/C# if that file already using by another process Pin
Dave Kreskowiak4-Jul-13 10:57
mveDave Kreskowiak4-Jul-13 10:57 
That's not at all what you described.

If the desktop application is only reading the file, then you can open it with a FileStream[^], specifying a Share.ReadWrite, allowing the ASP.NET application to Write to the file.

After you get the FileStream, you pass that object to your Xml reader.

The problem is that while you're reading it, the ASP.NET might write to it at the same time, corrupting the data you read, so you'll have to handle this case.

The ASP.NET code will have to be modified to open the file with Shared Read access so your desktop app can open it at the same time.

GeneralRe: How to write data to XML file using ASP.net/C# if that file already using by another process Pin
Mohammed Hameed9-Jul-13 8:35
professionalMohammed Hameed9-Jul-13 8:35 
QuestionTimeOut with Data Set Pin
nagham_4ng3-Jul-13 23:13
nagham_4ng3-Jul-13 23:13 
QuestionRe: TimeOut with Data Set Pin
Eddy Vluggen4-Jul-13 4:58
professionalEddy Vluggen4-Jul-13 4:58 
SuggestionRe: TimeOut with Data Set Pin
Richard Deeming4-Jul-13 5:17
mveRichard Deeming4-Jul-13 5:17 
GeneralRe: TimeOut with Data Set Pin
nagham_4ng4-Jul-13 19:23
nagham_4ng4-Jul-13 19:23 
GeneralRe: TimeOut with Data Set Pin
Eddy Vluggen5-Jul-13 7:07
professionalEddy Vluggen5-Jul-13 7:07 
GeneralRe: TimeOut with Data Set Pin
nagham_4ng5-Jul-13 19:48
nagham_4ng5-Jul-13 19:48 
GeneralRe: TimeOut with Data Set Pin
nagham_4ng8-Jul-13 21:12
nagham_4ng8-Jul-13 21:12 
GeneralRe: TimeOut with Data Set Pin
Eddy Vluggen9-Jul-13 8:44
professionalEddy Vluggen9-Jul-13 8:44 
Question[Solved] Message Queue, sending a class including a bitmap Pin
bas-man823-Jul-13 0:06
bas-man823-Jul-13 0:06 
AnswerRe: Message Queue, sending a class including a bitmap Pin
bas-man823-Jul-13 22:50
bas-man823-Jul-13 22:50 
QuestionMessage Queue Pin
Member 997471330-Jun-13 1:06
Member 997471330-Jun-13 1:06 
AnswerRe: Message Queue Pin
Pete O'Hanlon30-Jun-13 10:57
mvePete O'Hanlon30-Jun-13 10:57 
GeneralRe: Message Queue Pin
Member 997471330-Jun-13 23:19
Member 997471330-Jun-13 23:19 
GeneralRe: Message Queue Pin
Pete O'Hanlon1-Jul-13 3:01
mvePete O'Hanlon1-Jul-13 3:01 
QuestionCan not move controls over a user control Pin
dSolariuM29-Jun-13 9:53
dSolariuM29-Jun-13 9:53 
QuestionDiscussion on Screen Size and MDI Pin
Ron Beyer26-Jun-13 12:20
professionalRon Beyer26-Jun-13 12:20 

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.