|
What you have is not SOAP, since SOAP is a specialized version of XML; but thats a minor detail.
What is happening is the .NET framework is creating a class at runtime to serialize the data. This is why after the first time you serialize the class there is a delay; it is creating and compiling code then caching it away.
If speed is that incredibly important search through the DOTNET mailing list archives and see if anyone had figured out how to keep that serializer class after the program has run. I remember some people working on it, they had gotten pretty far with it too. I do not remember when the discussion about it was, but I know it has been since early February.
Hope that gives you some idea what is going on
Just out of curiosity do you see the speed problem with the SOAP formatter? IIRC the SOAP formatter just uses reflection to generate the packet rather than creating a class at runtime.
James
Sonork ID: 100.11138 - Hasaki
"I left there in the morning
with their God tucked underneath my arm
their half-assed smiles and the book of rules.
So I asked this God a question
and by way of firm reply,
He said - I'm not the kind you have to wind up on Sundays."
"Wind Up" from Aqualung, Jethro Tull 1971
|
|
|
|
|
I can't find the right function to get the time in C#.
Any one can lend me a hand?
|
|
|
|
|
DateTime structure
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
Thank you. Then i can get the time cost in my work...
|
|
|
|
|
I have a printpreview dialog,How can I make it be maximize when it create or set size for?It seems that this dialog do not have those properties?
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
According to MSDN it has the Size property available to it. I don't have a project setup where I can test this though.
James
Sonork ID: 100.11138 - Hasaki
"I left there in the morning
with their God tucked underneath my arm
their half-assed smiles and the book of rules.
So I asked this God a question
and by way of firm reply,
He said - I'm not the kind you have to wind up on Sundays."
"Wind Up" from Aqualung, Jethro Tull 1971
|
|
|
|
|
Yes,that exists,but what about Maximize and Minimize?
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
Set the WindowState property to FormWindowState.Maximized
James
Sonork ID: 100.11138 - Hasaki
"I left there in the morning
with their God tucked underneath my arm
their half-assed smiles and the book of rules.
So I asked this God a question
and by way of firm reply,
He said - I'm not the kind you have to wind up on Sundays."
"Wind Up" from Aqualung, Jethro Tull 1971
|
|
|
|
|
James T. Johnson wrote:
WindowState
I know it James,the point is that I can't find it for PrintPreviewDialog,thats the reason I said it does not exist Have you test it for PrintPreviewDialog?
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
The documentation shows it being there; but Intellisense doesn't....
Oddly enough this compiles and works correctly.
PrintPreviewDialog foo = new PrintPreviewDialog();
foo.WindowState = FormWindowState.Maximized; I still don't know why some items don't appear in IntelliSense, especially when its parent class contains something and its not changed in the sub-class.
James
Sonork ID: 100.11138 - Hasaki
"I left there in the morning
with their God tucked underneath my arm
their half-assed smiles and the book of rules.
So I asked this God a question
and by way of firm reply,
He said - I'm not the kind you have to wind up on Sundays."
"Wind Up" from Aqualung, Jethro Tull 1971
|
|
|
|
|
James T. Johnson wrote:
I still don't know why some items don't appear in IntelliSense, especially when its parent class contains something and its not changed in the sub-class.
Me too. Thanks again James.
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
Hi,
Could anyone suggest how to get a list of SQL servers and a list of databases using ADO.NET?
In VB6, SQLDMO could be used for this, but how it is done in .NET?
Any help would be appreciated.
Thanks,
Denis
|
|
|
|
|
I know how to get the list of database, but list of SQL servers.
It's simply just the following query statement
SELECT name FROM sysdatabases
sysdatabases is located in Master Database.
Please let me know when you get the list of SQL servers
|
|
|
|
|
I have a DataView.in some part of my application I I use filter statement to filter it..Then I want to read records in FILTERED dataiview.When I use myDataView.Table.Rows.Count or myDataView.Table.Rows[i][k] it gives me all records not filter ones.
Any suggestion?
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
myDataView.Table refers to the original table, not the filtered data. Just use myDataView[i][k]; .
James
Sonork ID: 100.11138 - Hasaki
"I left there in the morning
with their God tucked underneath my arm
their half-assed smiles and the book of rules.
So I asked this God a question
and by way of firm reply,
He said - I'm not the kind you have to wind up on Sundays."
"Wind Up" from Aqualung, Jethro Tull 1971
|
|
|
|
|
wowww,I didn't know it is possible,I have to test it now.
Thanks
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
Neither did I, this is the second look I've taken at the DataView class and I just noticed it had an indexer on it (so you can use the myDataView[] syntax).
James
Sonork ID: 100.11138 - Hasaki
"I left there in the morning
with their God tucked underneath my arm
their half-assed smiles and the book of rules.
So I asked this God a question
and by way of firm reply,
He said - I'm not the kind you have to wind up on Sundays."
"Wind Up" from Aqualung, Jethro Tull 1971
|
|
|
|
|
I have another question about it,I used myDataView[][] and it was ok.Now How can I return NUMBER of filterd ROW,myDataView[] is index of recordset not row.
Thanks.
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
myDataView.Count;
James
Sonork ID: 100.11138 - Hasaki
"I left there in the morning
with their God tucked underneath my arm
their half-assed smiles and the book of rules.
So I asked this God a question
and by way of firm reply,
He said - I'm not the kind you have to wind up on Sundays."
"Wind Up" from Aqualung, Jethro Tull 1971
|
|
|
|
|
ya,thats it;)
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
I'm surprised that nobody noticed that source code of .NET CLI is available at http://msdn.microsoft.com...
Just to let you know, as well as to point out the quality of discussions...
|
|
|
|
|
It was posted in the lounge
The sources aren't anything too spectacular unless you wanted to see how certain parts of it worked. For the framework itself there was always ILDASM and Anakrino for seeing how that worked :-P
I do think it is a good thing they have been released though as that gives others a chance to experiment with .NET
James
Sonork ID: 100.11138 - Hasaki
"I left there in the morning
with their God tucked underneath my arm
their half-assed smiles and the book of rules.
So I asked this God a question
and by way of firm reply,
He said - I'm not the kind you have to wind up on Sundays."
"Wind Up" from Aqualung, Jethro Tull 1971
|
|
|
|
|
I downloaded the stuff out of curiousity and I was amazed how simple the build process was. I just need to download the activeperl, and thats it. All of the build process happened through a single command.
Since, I have tried all the other so called open source stuff like star office (though it was long time back) it was a real pain to set up the environment for the build (cygwin ... etc) and I was always scared of 'n' no of other things that are required to setup the build environment.
Anyway, Shared source is a great thing for the academics. Imagine people at college doing research. Now they can play around with whole lot of these stuff.
What is the Anakrino is it a decompiler of some sort .. can u give me the url.I searched in google but couldnt get any direct link.
thanks
Cheers
Kannan
|
|
|
|
|
Kannan Kalyanaraman wrote:
What is the Anakrino is it a decompiler of some sort .. can u give me the url.I searched in google but couldnt get any direct link.
Anakrino formerly exemplar
James
Sonork ID: 100.11138 - Hasaki
"I left there in the morning
with their God tucked underneath my arm
their half-assed smiles and the book of rules.
So I asked this God a question
and by way of firm reply,
He said - I'm not the kind you have to wind up on Sundays."
"Wind Up" from Aqualung, Jethro Tull 1971
|
|
|
|
|
System.Diagnostics.Process object.........
I just cant handle this event.
Some code examples or documentation on this will do!
Somebody ?
Thanx!!
XxX
|
|
|
|