blah blah blah is here! blah blah » Close

0
votes
1 answers

target namespace of schema

Hello everyone, I want to do XML validation to validate whether an input XML file conforming to a schema file (.xsd). My question is when do we need to specify the target namespace parameter and what is the function of the target namespace ...

0
votes
1 answers

How to programatically play a video?

Hello everyone, I want to programtically play a remote (streamed) video using C#, the purpose is to test web sites performance/stress. No need to have any GUI, just using Media Player API to playback a speific video by URL is fine. I sear ...

0
votes
1 answers

.Net default proxy setting

Hello everyone, If I have a client application which needs to call a web service. I want to know the pros/cons and impact if I set default proxy property to true or false in app.config file? Thanks! Here is the property I am talking abo ...

0
votes
1 answers

app.config issue

Hello everyone, If the app.config format is wrong, for example, not a correct format XML file, application will fail from loading. Are there any ways to let me know such issue -- for example, receiving some events (so that I could write fi ...

0
votes
1 answers

customize deserialization sample in C#?

Hello everyone, I am looking for a sample, which could let me deserialize an XML stream encoded in UTF-8 into a field of a class. More specifically, I have a class like, [Code] class Foo { string abc; byte[] bc ...

0
votes
1 answers

base64 and UTF-8 encoding issue

Hello everyone, I am writing a simple web method which returns byte[], and the byte[] is encoded by UTF-8. I have investigated related WSDL and soap message, seems the underlying web services stack will use base64 encoding? For various re ...

0
votes
1 answers

Encoding issue

Hello everyone, I am developing a Web Services based on ASP.Net asmx web service. The server end will response byte[] to client encoded in UTF-8, and client to convert the byte[] to string. My confusion is, the England pound character at ...

0
votes
1 answers

web application architecture design ask for advice

Hello everyone, Previously my ASP.Net web application connects to database directly using ASO.Net. Now I want to change it to 3 layers, ASP.Net layer, middle web service layer and backend database layer. I think there is benefit that I cou ...

0
votes
1 answers

C# convert object array into datatable

Hello everyone, I failed to find a sample about how to convert an array instances of user defined types into a (C# ADO.Net) datatable -- I want to use the datatable to bind to ASP.Net data bound controls (e.g. gridview). Could anyone provi ...

0
votes
1 answers

file upload error

(sorry I ask again, not resolved for a week before.) Hello everyone, Here is my code at both client side and server side. My code is simple, just upload a file to an ASP.Net web site. My client code throws exception when it works on Vist ...

0
votes
1 answers

how to send user ID across differnet application in ASP.Net?

Hello everyone, I have two web applications all are developed by ASP.Net. Now I want to provide a feature which enables the user to click from one URL in application site (one virtual directory of IIS) A to the other URL in application sit ...

0
votes
1 answers

multithread performance problem for web service call

Hello everyone, Here is my sample program for web service server side and client side. I met with a strnage performance problem, which is, even if I increase the number of threads to call web services, the performance is not improved. At t ...

0
votes
1 answers

browse WSDL error

Hello everyone, I met with issues when browse for WSDL information for a web service. When I am using F5 in Visual Studio to browse http://localhost:21530/Service1.asmx, everything is fine (e.g. web service textual description is shown) B ...

0
votes
1 answers

file upload error

Hello everyone, Here is my code at both client side and server side. My code is simple, just upload a file to an ASP.Net web site. My client code throws exception when it works on Vista (x64, Enterprise, SP1), but works fine on Windows Se ...

0
votes
1 answers

measure performance of function

Hello everyone, I have a managed console application which invokes both managed DLL and native COM (by using COM interop). I am using VSTS 2008 and Windows Server 2003 x64 edition. My question is, I want to measure a specifc function call ...

Feedback