wcf service long time transition server client
I have a WCF service
in my application.
When the amount of data that passes from server to client is small I do not have problems.
The problems come when there's a big amount of data.
The proxy method runs a stored procedure
that retrives data in an acceptable time.
The method server side return correctly,
BUT it takes more that two minutes to return properly to the client and continue the execution client side.
During this period if I stop the application it seems that no actions are in execution.
I don't know if it's an IIS problem or a configuration of the net.tcp binding.
The only thing I'm able to do is to execute the proxy in an external application and it that case I no have problems.
EDIT***
This is the binding configuration:
<binding name="NetTcpBinding_INService" closeTimeout="24.00:00:00" maxReceivedMessageSize="2147483647"
openTimeout="24.00:00:00" receiveTimeout="24.00:00:00" sendTimeout="24.00:00:00">
<security mode="None" />
</binding>
wcf iis proxy net.tcp
add a comment |
I have a WCF service
in my application.
When the amount of data that passes from server to client is small I do not have problems.
The problems come when there's a big amount of data.
The proxy method runs a stored procedure
that retrives data in an acceptable time.
The method server side return correctly,
BUT it takes more that two minutes to return properly to the client and continue the execution client side.
During this period if I stop the application it seems that no actions are in execution.
I don't know if it's an IIS problem or a configuration of the net.tcp binding.
The only thing I'm able to do is to execute the proxy in an external application and it that case I no have problems.
EDIT***
This is the binding configuration:
<binding name="NetTcpBinding_INService" closeTimeout="24.00:00:00" maxReceivedMessageSize="2147483647"
openTimeout="24.00:00:00" receiveTimeout="24.00:00:00" sendTimeout="24.00:00:00">
<security mode="None" />
</binding>
wcf iis proxy net.tcp
1
what is your client and server binding configuration , please provide them.
– Aria
Nov 21 '18 at 14:39
@Aria I added the configuration
– Galma88
Nov 21 '18 at 15:08
I think the time is spent in the query process, not in the WCF. I try using your binding configuration and found that there was no problem with returning string. I suggest that you review the process of querying data, for example, using windows integration authentication for connecting database.
– Abraham Qian
Nov 23 '18 at 7:22
@Galma88, Is your problem resolved?, There is no defined message size in your config, you know the default message size is 64K, but you can increase the message size if you need to use streamed mode and transfer large chunks of data. Anyway 2 minutes is not good at all.
– Aria
Nov 24 '18 at 6:03
add a comment |
I have a WCF service
in my application.
When the amount of data that passes from server to client is small I do not have problems.
The problems come when there's a big amount of data.
The proxy method runs a stored procedure
that retrives data in an acceptable time.
The method server side return correctly,
BUT it takes more that two minutes to return properly to the client and continue the execution client side.
During this period if I stop the application it seems that no actions are in execution.
I don't know if it's an IIS problem or a configuration of the net.tcp binding.
The only thing I'm able to do is to execute the proxy in an external application and it that case I no have problems.
EDIT***
This is the binding configuration:
<binding name="NetTcpBinding_INService" closeTimeout="24.00:00:00" maxReceivedMessageSize="2147483647"
openTimeout="24.00:00:00" receiveTimeout="24.00:00:00" sendTimeout="24.00:00:00">
<security mode="None" />
</binding>
wcf iis proxy net.tcp
I have a WCF service
in my application.
When the amount of data that passes from server to client is small I do not have problems.
The problems come when there's a big amount of data.
The proxy method runs a stored procedure
that retrives data in an acceptable time.
The method server side return correctly,
BUT it takes more that two minutes to return properly to the client and continue the execution client side.
During this period if I stop the application it seems that no actions are in execution.
I don't know if it's an IIS problem or a configuration of the net.tcp binding.
The only thing I'm able to do is to execute the proxy in an external application and it that case I no have problems.
EDIT***
This is the binding configuration:
<binding name="NetTcpBinding_INService" closeTimeout="24.00:00:00" maxReceivedMessageSize="2147483647"
openTimeout="24.00:00:00" receiveTimeout="24.00:00:00" sendTimeout="24.00:00:00">
<security mode="None" />
</binding>
wcf iis proxy net.tcp
wcf iis proxy net.tcp
edited Nov 21 '18 at 15:08
Galma88
asked Nov 21 '18 at 9:33
Galma88Galma88
1,35152037
1,35152037
1
what is your client and server binding configuration , please provide them.
– Aria
Nov 21 '18 at 14:39
@Aria I added the configuration
– Galma88
Nov 21 '18 at 15:08
I think the time is spent in the query process, not in the WCF. I try using your binding configuration and found that there was no problem with returning string. I suggest that you review the process of querying data, for example, using windows integration authentication for connecting database.
– Abraham Qian
Nov 23 '18 at 7:22
@Galma88, Is your problem resolved?, There is no defined message size in your config, you know the default message size is 64K, but you can increase the message size if you need to use streamed mode and transfer large chunks of data. Anyway 2 minutes is not good at all.
– Aria
Nov 24 '18 at 6:03
add a comment |
1
what is your client and server binding configuration , please provide them.
– Aria
Nov 21 '18 at 14:39
@Aria I added the configuration
– Galma88
Nov 21 '18 at 15:08
I think the time is spent in the query process, not in the WCF. I try using your binding configuration and found that there was no problem with returning string. I suggest that you review the process of querying data, for example, using windows integration authentication for connecting database.
– Abraham Qian
Nov 23 '18 at 7:22
@Galma88, Is your problem resolved?, There is no defined message size in your config, you know the default message size is 64K, but you can increase the message size if you need to use streamed mode and transfer large chunks of data. Anyway 2 minutes is not good at all.
– Aria
Nov 24 '18 at 6:03
1
1
what is your client and server binding configuration , please provide them.
– Aria
Nov 21 '18 at 14:39
what is your client and server binding configuration , please provide them.
– Aria
Nov 21 '18 at 14:39
@Aria I added the configuration
– Galma88
Nov 21 '18 at 15:08
@Aria I added the configuration
– Galma88
Nov 21 '18 at 15:08
I think the time is spent in the query process, not in the WCF. I try using your binding configuration and found that there was no problem with returning string. I suggest that you review the process of querying data, for example, using windows integration authentication for connecting database.
– Abraham Qian
Nov 23 '18 at 7:22
I think the time is spent in the query process, not in the WCF. I try using your binding configuration and found that there was no problem with returning string. I suggest that you review the process of querying data, for example, using windows integration authentication for connecting database.
– Abraham Qian
Nov 23 '18 at 7:22
@Galma88, Is your problem resolved?, There is no defined message size in your config, you know the default message size is 64K, but you can increase the message size if you need to use streamed mode and transfer large chunks of data. Anyway 2 minutes is not good at all.
– Aria
Nov 24 '18 at 6:03
@Galma88, Is your problem resolved?, There is no defined message size in your config, you know the default message size is 64K, but you can increase the message size if you need to use streamed mode and transfer large chunks of data. Anyway 2 minutes is not good at all.
– Aria
Nov 24 '18 at 6:03
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53408994%2fwcf-service-long-time-transition-server-client%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53408994%2fwcf-service-long-time-transition-server-client%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
what is your client and server binding configuration , please provide them.
– Aria
Nov 21 '18 at 14:39
@Aria I added the configuration
– Galma88
Nov 21 '18 at 15:08
I think the time is spent in the query process, not in the WCF. I try using your binding configuration and found that there was no problem with returning string. I suggest that you review the process of querying data, for example, using windows integration authentication for connecting database.
– Abraham Qian
Nov 23 '18 at 7:22
@Galma88, Is your problem resolved?, There is no defined message size in your config, you know the default message size is 64K, but you can increase the message size if you need to use streamed mode and transfer large chunks of data. Anyway 2 minutes is not good at all.
– Aria
Nov 24 '18 at 6:03