3
Answers

Want to run the multiple wcf service on the same machine

dipak mange

dipak mange

8y
334
1
We have one wcf service hosted using window services. This service works as the server and can accept TCP connections. currently it works fine with 70 connections but when connections exceeds the service goes slower and new connections do not get established. So now on the same machine we want to run multiple instances of this wcf service owith its own configuration so that we can have more than 200 connections. Questions is if we add multiple end points in the service does it create two separate instances of services running in separate processes or thread? or is it same service instance accessed by different end points? 
Answers (3)
1
Midhun T P

Midhun T P

NA 19.7k 281.1k 8y

Attachment Repeater.rar

Hi,
 
Please check the attached file. 
Accepted
1
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 8y
Try like below : 
  1. <ItemTemplate>  
  2.     <%# Container.DataItem("columnName") == "N" ? "<a href="" />" : "<asp:ImageButton ID='ImageButton1' ImageUrl='<%#Eval("Item")%>' OnClick='ImageButton1_Click' runat='server' />"  %>  
  3. </ItemTemplate>  
 
0
Raja

Raja

NA 1.7k 45.2k 8y

Manas Mohapatra

Thank you!
0
Raja

Raja

NA 1.7k 45.2k 8y

Midhun T P

Thank you so much it's working fine
0
Raja

Raja

NA 1.7k 45.2k 8y
Hi
 

Midhun T P

In data table one column have value like 
N
R
N
N
R
 
how to change the button to image button inside the repeater(button is inside the repeater) .
Is this in table we hide and show but it is in repeater
if N comes button show if R comes button to image button how to do it.
 
0
Midhun T P

Midhun T P

NA 19.7k 281.1k 8y
Hi,
 
You can use both and hide one of them according to the value in itemdatabound