Click here to Skip to main content
15,891,864 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can't bind listbox to IList Pin
Judah Gabriel Himango23-Jan-08 3:59
sponsorJudah Gabriel Himango23-Jan-08 3:59 
GeneralRe: Can't bind listbox to IList Pin
Alan Balkany23-Jan-08 4:13
Alan Balkany23-Jan-08 4:13 
GeneralRe: Can't bind listbox to IList Pin
Roger Alsing23-Jan-08 4:57
Roger Alsing23-Jan-08 4:57 
GeneralRe: Can't bind listbox to IList Pin
Alan Balkany23-Jan-08 5:01
Alan Balkany23-Jan-08 5:01 
GeneralRe: Can't bind listbox to IList Pin
Alan Balkany23-Jan-08 5:03
Alan Balkany23-Jan-08 5:03 
GeneralSerializing Generic List<another class=""></another> Pin
RichardContact-123-Jan-08 2:36
RichardContact-123-Jan-08 2:36 
GeneralRe: Serializing Generic List Pin
led mike23-Jan-08 4:38
led mike23-Jan-08 4:38 
GeneralAnother WS x WCF Pin
Walter Dias23-Jan-08 2:19
professionalWalter Dias23-Jan-08 2:19 
Hello every one,

After read some articles about WCF, I made some performace test, and in my test the WCF is worst than WS

The first test I have made it the time response, I create 3 services, one is WS and 2 WCF, one with basicHttpBiding(WS standard equivalent) and another with wsHttpBindig(WSE equivalent).

All services return one dataset, I try with 2mb data anda 128k data, in both cases the WS is faster than WCF, faster in comparison basicHttpBinding and aldo wsHttpBinding, in all cases I tested in IIS6 as a host.

http://img132.imageshack.us/img132/6813/wsxwcfmt8.png

Tempo gasto = time elapse
milisegundos = milliseconds

<br />
private void btnNormalWeb_Click(object sender, EventArgs e)<br />
{<br />
    DataSet dsReturn;<br />
    DateTime d1, d2;<br />
    wsTeste.wsTeste objwsTeste = new wsTeste.wsTeste();<br />
<br />
    d1 = DateTime.Now;<br />
    dsReturn = objwsTeste.Retorno();<br />
    d2 = DateTime.Now;<br />
    lblTempoExecucaoWS.Text = string.Format("Tempo Gasto Normal: {0} milisegundos", (d2 - d1).TotalMilliseconds);<br />
}<br />
<br />
private void btnNormalWCF_Click(object sender, EventArgs e)<br />
{<br />
    DataSet dsReturn;<br />
    DateTime d1, d2;<br />
    wcfServiceBasic.WCFServiceClient objwcfTeste = new wcfServiceBasic.WCFServiceClient();<br />
<br />
    d1 = DateTime.Now;<br />
    dsReturn = objwcfTeste.Retorno();            <br />
    d2 = DateTime.Now;<br />
    lblTempoExecucaoWCFBasic.Text = string.Format("Tempo Gasto Basic: {0} milisegundos", (d2 - d1).TotalMilliseconds);             <br />
}<br />
<br />
private void btnNormalWCFWSE_Click(object sender, EventArgs e)<br />
{<br />
    DataSet dsReturn;<br />
    DateTime d1, d2;<br />
    wcfServiceWSE.WCFServiceClient objwcfTeste = new wcfServiceWSE.WCFServiceClient();<br />
<br />
    d1 = DateTime.Now;<br />
    dsReturn = objwcfTeste.Retorno();<br />
    d2 = DateTime.Now;<br />
    lblTempoExecucaoWCFWSE.Text = string.Format("Tempo Gasto WSE: {0} milisegundos", (d2 - d1).TotalMilliseconds);<br />
}<br />
;

Some one know why the WCF im my case are not fast enough WS.

Sorry by English!
Generalcreate new items and get data from them Pin
Member 464351023-Jan-08 2:14
Member 464351023-Jan-08 2:14 
GeneralCopying columns from one DataTable to another DataTable Pin
free_soul42423-Jan-08 2:01
free_soul42423-Jan-08 2:01 
GeneralRe: Copying columns from one DataTable to another DataTable Pin
PIEBALDconsult23-Jan-08 2:58
mvePIEBALDconsult23-Jan-08 2:58 
GeneralRe: Copying columns from one DataTable to another DataTable Pin
free_soul42423-Jan-08 17:27
free_soul42423-Jan-08 17:27 
GeneralBackgroundWorker question Pin
RugbyLeague23-Jan-08 1:50
RugbyLeague23-Jan-08 1:50 
GeneralRe: BackgroundWorker question Pin
Ed.Poore23-Jan-08 1:56
Ed.Poore23-Jan-08 1:56 
GeneralRe: BackgroundWorker question Pin
RugbyLeague23-Jan-08 2:03
RugbyLeague23-Jan-08 2:03 
GeneralRe: BackgroundWorker question Pin
S. Senthil Kumar23-Jan-08 6:09
S. Senthil Kumar23-Jan-08 6:09 
GeneralRe: BackgroundWorker question Pin
RugbyLeague23-Jan-08 6:21
RugbyLeague23-Jan-08 6:21 
GeneralRe: BackgroundWorker question Pin
S. Senthil Kumar23-Jan-08 6:53
S. Senthil Kumar23-Jan-08 6:53 
GeneralRe: BackgroundWorker question Pin
RugbyLeague23-Jan-08 6:54
RugbyLeague23-Jan-08 6:54 
GeneralRe: BackgroundWorker question Pin
Ed.Poore23-Jan-08 7:18
Ed.Poore23-Jan-08 7:18 
Generalhttp port listening using sockets. Pin
_tasleem23-Jan-08 1:30
_tasleem23-Jan-08 1:30 
GeneralRe: http port listening using sockets. Pin
stancrm23-Jan-08 1:46
stancrm23-Jan-08 1:46 
QuestionHow to preview setup dialogs in setup project ? Pin
hdv21223-Jan-08 1:29
hdv21223-Jan-08 1:29 
AnswerRe: How to preview setup dialogs in setup project ? Pin
hdv21223-Jan-08 10:43
hdv21223-Jan-08 10:43 
GeneralRe: How to preview setup dialogs in setup project ? Pin
Jimmanuel23-Jan-08 11:22
Jimmanuel23-Jan-08 11:22 

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.