Passing data between C# applications

T

Todos Menos [MSFT]

Heaven help us if every web
request or machine to machine transmission depended on XML to
facilitate some form of data handling.
 
T

Todos Menos [MSFT]

There are faster and more efficient methods of passing
information between technologies and XML can often just add a layer
of complexity and lag that isn't required.
 
T

Todos Menos [MSFT]

and I'll bet that it's not a requirement of your project

I'll bet that the end users said 'oh we need an XML thinga-ma-bobber'

go to friggin SQL Server classes kid; if you think that SQL Server is
too slow then you're doing it wrong





Wow what a lively discussion,

Todos, thanks for the suggestion but using that 'Xml_Crap' as you
referred to it, is a requirement for this project. I might add
database access later but for now I prefer to using an IPC, so I have
decided to use sockets. Thanks to everyone for their input, appreciate
it!

~ Maryam
uh.. I'm pushing from App1 into a DB and then pulling App2 from the
database
where's the rocket science.. I don't see the problem.
it's synchronous
Step 1 - Push Data into a Database
Step 2 - Pull Data out of a Database
Where's the complexity?
Do you really think that the database won't display the data until I
get some notification or something?
Shit; i'll write a record that say 'uh the eagle has landed' is that
what you want me to say?
I don't see the problem here kids; databases are 100 times simpler
than this XML _CRAP_
whoever invented XML should be shot.
whoever connect HTML people into renaming HTML into XHTML should be
shot
Web Services don't make for better or faster data entry
stick a friggin fork in it; databases are simpler inherently
On Mar 14, 4:08 pm, "Todos Menos [MSFT]"
App 2 knows that the data is there-- because App1 just wrote the
data. I mean.. Do you know how to speak english?
What mechanism do you propose to use that would notify app 2 in an
unsolicited manner that app 1 wrote data to a database?- Hide quoted text -

- Show quoted text -
 
J

John Timney \(MVP\)

Dude - stop skipping high school - your making no sense! Go ask your
teacher for some advice!

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog


Todos Menos said:
and I'll bet that it's not a requirement of your project

I'll bet that the end users said 'oh we need an XML thinga-ma-bobber'

go to friggin SQL Server classes kid; if you think that SQL Server is
too slow then you're doing it wrong





Wow what a lively discussion,

Todos, thanks for the suggestion but using that 'Xml_Crap' as you
referred to it, is a requirement for this project. I might add
database access later but for now I prefer to using an IPC, so I have
decided to use sockets. Thanks to everyone for their input, appreciate
it!

~ Maryam
uh.. I'm pushing from App1 into a DB and then pulling App2 from the
database
where's the rocket science.. I don't see the problem.
it's synchronous
Step 1 - Push Data into a Database
Step 2 - Pull Data out of a Database
Where's the complexity?
Do you really think that the database won't display the data until I
get some notification or something?
Shit; i'll write a record that say 'uh the eagle has landed' is that
what you want me to say?
I don't see the problem here kids; databases are 100 times simpler
than this XML _CRAP_
whoever invented XML should be shot.
whoever connect HTML people into renaming HTML into XHTML should be
shot
Web Services don't make for better or faster data entry
stick a friggin fork in it; databases are simpler inherently
On Mar 14, 2:30 pm, "Brian Gideon" <[email protected]> wrote:
On Mar 14, 4:08 pm, "Todos Menos [MSFT]"
App 2 knows that the data is there-- because App1 just wrote the
data. I mean.. Do you know how to speak english?
What mechanism do you propose to use that would notify app 2 in an
unsolicited manner that app 1 wrote data to a database?- Hide quoted
text -

- Show quoted text -
 
T

Todos Menos [MSFT]

what.. I don't make sense because I dont' believe in XML?

you can take XML and santa clause and shove it. it doesn't make your
apps go faster.
use CSV and BULK INSERT and see which is faster, kid


XML is an invention that is used to slow thigns down and make them
unnecessarily complex


Like seriously here..

UH LETS JUST ADD A WHOLE TON OF VERBOSITY AND SEE IF THEY CAN
ACCOMPLISH ANYTHING

rofl

a) put it in the database
b) pull it out of the database


anything else is a CON
 
T

Todos Menos [MSFT]

my teacher?

I'm sorry bud-- i'm sorry that you don't find many people that have
the balls to 'question MVPS'

I don't appreciate your attitude; I don't appreciate XML.
and I don't appreciate your MVP ranking.

I've helped 10 times as many people as you have-- but I don't get an
MVP just because I HAVE THE BALLS TO QUESTION MICROSOFTS UBER-STRATEGY

that's what demonstrates how shoddy the whole MVP program _IS_

some dipshit out here is just saying 'how dare you disagree wiht me;
im a MVP'

screw you buddy


and TODOS MESOS MICROSOFT

(anything but microsoft)






Dude - stop skipping high school - your making no sense! Go ask your
teacher for some advice!

Regards

John Timney (MVP)http://www.johntimney.comhttp://www.johntimney.com/blog



and I'll bet that it's not a requirement of your project
I'll bet that the end users said 'oh we need an XML thinga-ma-bobber'
go to friggin SQL Server classes kid; if you think that SQL Server is
too slow then you're doing it wrong
Wow what a lively discussion,
Todos, thanks for the suggestion but using that 'Xml_Crap' as you
referred to it, is a requirement for this project. I might add
database access later but for now I prefer to using an IPC, so I have
decided to use sockets. Thanks to everyone for their input, appreciate
it!
~ Maryam
On Mar 14, 5:38 pm, "Todos Menos [MSFT]"
uh.. I'm pushing from App1 into a DB and then pulling App2 from the
database
where's the rocket science.. I don't see the problem.
it's synchronous
Step 1 - Push Data into a Database
Step 2 - Pull Data out of a Database
Where's the complexity?
Do you really think that the database won't display the data until I
get some notification or something?
Shit; i'll write a record that say 'uh the eagle has landed' is that
what you want me to say?
I don't see the problem here kids; databases are 100 times simpler
than this XML _CRAP_
whoever invented XML should be shot.
whoever connect HTML people into renaming HTML into XHTML should be
shot
Web Services don't make for better or faster data entry
stick a friggin fork in it; databases are simpler inherently
On Mar 14, 4:08 pm, "Todos Menos [MSFT]"
App 2 knows that the data is there-- because App1 just wrote the
data. I mean.. Do you know how to speak english?
What mechanism do you propose to use that would notify app 2 in an
unsolicited manner that app 1 wrote data to a database?- Hide quoted
text -
- Show quoted text -- Hide quoted text -

- Show quoted text -
 
T

Todos Menos [MSFT]

if you need a faster database then use Analysis Services



Dude - stop skipping high school - your making no sense! Go ask your
teacher for some advice!

Regards

John Timney (MVP)http://www.johntimney.comhttp://www.johntimney.com/blog



and I'll bet that it's not a requirement of your project
I'll bet that the end users said 'oh we need an XML thinga-ma-bobber'
go to friggin SQL Server classes kid; if you think that SQL Server is
too slow then you're doing it wrong
Wow what a lively discussion,
Todos, thanks for the suggestion but using that 'Xml_Crap' as you
referred to it, is a requirement for this project. I might add
database access later but for now I prefer to using an IPC, so I have
decided to use sockets. Thanks to everyone for their input, appreciate
it!
~ Maryam
On Mar 14, 5:38 pm, "Todos Menos [MSFT]"
uh.. I'm pushing from App1 into a DB and then pulling App2 from the
database
where's the rocket science.. I don't see the problem.
it's synchronous
Step 1 - Push Data into a Database
Step 2 - Pull Data out of a Database
Where's the complexity?
Do you really think that the database won't display the data until I
get some notification or something?
Shit; i'll write a record that say 'uh the eagle has landed' is that
what you want me to say?
I don't see the problem here kids; databases are 100 times simpler
than this XML _CRAP_
whoever invented XML should be shot.
whoever connect HTML people into renaming HTML into XHTML should be
shot
Web Services don't make for better or faster data entry
stick a friggin fork in it; databases are simpler inherently
On Mar 14, 4:08 pm, "Todos Menos [MSFT]"
App 2 knows that the data is there-- because App1 just wrote the
data. I mean.. Do you know how to speak english?
What mechanism do you propose to use that would notify app 2 in an
unsolicited manner that app 1 wrote data to a database?- Hide quoted
text -
- Show quoted text -- Hide quoted text -

- Show quoted text -
 
J

John Timney \(MVP\)

As a technical genius I think you deserve the last word and I bow to your
wisdom! You clearly understand your technology recommendations well,
especially since analysis services is a component of SQL server, not a
database.....LOL.

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog


Todos Menos said:
if you need a faster database then use Analysis Services



Dude - stop skipping high school - your making no sense! Go ask your
teacher for some advice!

Regards

John Timney (MVP)http://www.johntimney.comhttp://www.johntimney.com/blog

message

and I'll bet that it's not a requirement of your project
I'll bet that the end users said 'oh we need an XML thinga-ma-bobber'
go to friggin SQL Server classes kid; if you think that SQL Server is
too slow then you're doing it wrong
On Mar 15, 11:58 am, (e-mail address removed) wrote:
Wow what a lively discussion,
Todos, thanks for the suggestion but using that 'Xml_Crap' as you
referred to it, is a requirement for this project. I might add
database access later but for now I prefer to using an IPC, so I have
decided to use sockets. Thanks to everyone for their input, appreciate
it!
~ Maryam
On Mar 14, 5:38 pm, "Todos Menos [MSFT]"
uh.. I'm pushing from App1 into a DB and then pulling App2 from the
database
where's the rocket science.. I don't see the problem.
it's synchronous
Step 1 - Push Data into a Database
Step 2 - Pull Data out of a Database
Where's the complexity?
Do you really think that the database won't display the data until I
get some notification or something?
Shit; i'll write a record that say 'uh the eagle has landed' is that
what you want me to say?
I don't see the problem here kids; databases are 100 times simpler
than this XML _CRAP_
whoever invented XML should be shot.
whoever connect HTML people into renaming HTML into XHTML should be
shot
Web Services don't make for better or faster data entry
stick a friggin fork in it; databases are simpler inherently
On Mar 14, 2:30 pm, "Brian Gideon" <[email protected]> wrote:
On Mar 14, 4:08 pm, "Todos Menos [MSFT]"
App 2 knows that the data is there-- because App1 just wrote the
data. I mean.. Do you know how to speak english?
What mechanism do you propose to use that would notify app 2 in an
unsolicited manner that app 1 wrote data to a database?- Hide
quoted
text -
- Show quoted text -- Hide quoted text -

- Show quoted text -
 
R

RobinS

He's trolling. He has a bunch of aliases (aaronkempf, susiedba, dbahooker,
larrylinson...). Just ignore him.
Robin S.
 
G

Guest

Is this a question, or a statement? I don't see any body text in your post,
although I have seen these before and it may not be your fault. How exactly
do you want to "Pass data between C# applications"?
Peter
 
M

Matt

IMO a database is complete overkill here. Why would we need a data
repository, concurrency management, connection management services to
store a single node of xml or a node name? Clearly there are many
solutions available thanks to the versatility of .net and windows, but
the option I would choose is:

Use GlobalAlloc (dll import) to allocate an area of shared memory to
hold the XML node / node name. Then grab the handle to the 2nd
application from its window name (simple stuff) and send it a custom
message to alert it that the contents of the global memory have
changed. Finally, override WndProc to process the message and retrieve
the node name.

Granted, thats perhaps not the most elegant solution as it involves
importing potentially unsafe code, but I have had issues with windows
interfering in socket communication by alerting the user to sockets /
ports being opened. This also could raise potential firewall issues.
Im sure there are ways around these though.

Hope that helps,
Matt

P.s. whats with the XML hating? Considering its more or less the
standard in most major communication protocols (except TCP/IP)
wouldn't it be better to embrace and accept it rather than declare it
constraining - which by its very nature it isn't.
 
T

Todos Menos [MSFT]

IMO XML is complete overkill here. Why would we need XML, XML, XML,
XML, XML and Unnecessary Verbosity
to store a single table of data? Clearly there are many
solutions available thanks to the versatility of .net and windows,
but
the option I would choose is:

A DATABASE
 
T

Todos Menos [MSFT]

re:
P.s. whats with the XML hating? Considering its more or less the
standard in most major communication protocols (except TCP/IP)
wouldn't it be better to embrace and accept it rather than declare it
constraining - which by its very nature it isn't.

seriously

a) performance
b) reusability
c) portability
d) security

XML is for trendy bastards; QUESTION AUTHORITY!
 
T

Todos Menos [MSFT]

john

you're an idiot

analysis services is a faster database for all your RENOBS that screw
around with XML instead of using a database


WHY REINVENT THE WHEEL?

use a database; and use it good and hard-- until you need analysis
services.

XML doesn't have _ANY_ upgrade path except.. uh CSV files

so yeah.. build everything on XML; and then when you need to make it
faster; then change it to CSV




As a technical genius I think you deserve the last word and I bow to your
wisdom! You clearly understand your technology recommendations well,
especially since analysis services is a component of SQL server, not a
database.....LOL.

Regards

John Timney (MVP)http://www.johntimney.comhttp://www.johntimney.com/blog



if you need a faster database then use Analysis Services
Dude - stop skipping high school - your making no sense! Go ask your
teacher for some advice!
Regards
John Timney (MVP)http://www.johntimney.comhttp://www.johntimney.com/blog
message
and I'll bet that it's not a requirement of your project
I'll bet that the end users said 'oh we need an XML thinga-ma-bobber'
go to friggin SQL Server classes kid; if you think that SQL Server is
too slow then you're doing it wrong
On Mar 15, 11:58 am, (e-mail address removed) wrote:
Wow what a lively discussion,
Todos, thanks for the suggestion but using that 'Xml_Crap' as you
referred to it, is a requirement for this project. I might add
database access later but for now I prefer to using an IPC, so I have
decided to use sockets. Thanks to everyone for their input, appreciate
it!
~ Maryam
On Mar 14, 5:38 pm, "Todos Menos [MSFT]"
uh.. I'm pushing from App1 into a DB and then pulling App2 from the
database
where's the rocket science.. I don't see the problem.
it's synchronous
Step 1 - Push Data into a Database
Step 2 - Pull Data out of a Database
Where's the complexity?
Do you really think that the database won't display the data until I
get some notification or something?
Shit; i'll write a record that say 'uh the eagle has landed' is that
what you want me to say?
I don't see the problem here kids; databases are 100 times simpler
than this XML _CRAP_
whoever invented XML should be shot.
whoever connect HTML people into renaming HTML into XHTML should be
shot
Web Services don't make for better or faster data entry
stick a friggin fork in it; databases are simpler inherently
On Mar 14, 4:08 pm, "Todos Menos [MSFT]"
App 2 knows that the data is there-- because App1 just wrote the
data. I mean.. Do you know how to speak english?
What mechanism do you propose to use that would notify app 2 in an
unsolicited manner that app 1 wrote data to a database?- Hide
quoted
text -
- Show quoted text -- Hide quoted text -
- Show quoted text -- Hide quoted text -

- Show quoted text -
 
T

Todos Menos [MSFT]

do you want to know what the problem is?

Microsoft CENSORS PEOPLE THAT SPEAK THE TRUTH ON A PUBLIC NEWSGROUP


I call for the USAF to drop a nuke on Redmond

PLEASE

we don't have a censorship problem in CHINA. WE HAVE ONE RIGHT ACROSS
THE POND (Lake WA), IN REDMOND
 
T

Todos Menos [MSFT]

what do you seriously not believe me when I say that MS censors my
posts?

I can make a reccomendation using no capital letters; no swear words.
and Microsoft still blocks my posts.

if this was a point system; like Experts-Exchange for example; I would
sue the crap out of Microsoft for blocking my posts
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top