Hello everyone,
I am using VSTS2008 + C# + .Net 3.5 to run this console application on x64 Server 2003 Enterprise with 12G physical memory.
Here is my code, and I find when executing statement bformatter.Serialize(stream, table), there is out of memory exception. I monitored memory usage through Perormance Tab of Task Manager and I fin...
I've been trying to get some instrumented profiling going for one method (and children) in a large C# 2.0 application using the built in VSTS 2005 or 2008 performance tools.
However, I can't find any form of the /include command that will work - the profiler just keeps failing to find the method. The docs are so bad that all I can do is...
Hello everyone,
I am using Silverlight 2 and new to Silverlight 2. I want to develop a ASP.Net web application which uses Silverlight at client side (in browser) to let end user select a file to upload to server side. The server is running ASP.Net 3.5 on IIS 7.0. A special requirement is I want to control the upload speed, for example, ...
Hello everyone,
In side a Silverlight Page, I want to redirect to another aspx page in the same web site and using POST method to send some additional header information. Any ideas how to implement this? Any samples are appreciated. :-)
I am using VSTS2008 + .Net 3.5 + Silverlight 2.0 + C#.
thanks in advance,
George
...
Hello everyone,
I need to send some XML element to some other services and I want to ensure my XML file is of elegant format so that other people could use their XML parser to parse the XML file.
For such kinds of XML file, is it elegant format, breaking any rules of XML? Not sure whether  is valid XML character sequences in .Net/C...
Hello everyone,
For a .Net MemoryStream object instance, do I need to close it explicitly after using it? Or no need to close it? Which is the best practices?
I am using VSTS2008 + .Net 3.5 + C#.
thanks in advance,
George
...
Hello everyone,
I am using Networking Tab of Windows Task manager to monitor local network traffic to test how much bandwidth my application will use. My scenario is, I will use a local console client application to send data (using Http POST method) to local IIS 7.0 server.
My issue is no traffic could be monitored using Networking Ta...
Hello everyone,
I want to use https to upload a file using WebClient's UploadData method. And I want to ignore server side certificate verification (always accept server certificate and only use encryption feature of https).
I have tried hard but cannot find a similar sample. Could anyone advise me how to implement? Any reference sampl...
I'm seeing some weird behavior from VS2008 integrate with TFS 2008. When I delete a file from a solution from within the Solution Explorer and check it in, the file still appears in the Source Control Explorer.
In the Source Control Explorer the file appears having the value 'delete' under the Pending Change column. It also appears in t...
Hello everyone,
I have two databases called DB1 and DB2 on the same database server. I have Table1 in DB2 and Table2 in DB2. Currently, I am using insert into select * to transfer all data from Table2 into Table1 (Table1 is empty, my purpose is to make a copy of data from Table2 to Table1). The table structure is clustered ID column (of...
Hello everyone,
I am using VSTS 2008 + C# + WCF + .Net 3.5 + Silverlight 3.0. I host Silverlight control in an html page and debug it from VSTS 2008 (press F5, then run in VSTS 2008 built-in ASP.Net development web server), then call another WCF service (hosted in another machine running IIS 7.0 + Vista). The WCF service is very simple,...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.5 to develop a Silverlight 3 application and I need to access some https address on another web server (other than the server delivering the Silverlight application).
Here is my code which works with .Net 3.5 console application, But I cannot find class like ServicePointManager when us...
Hello everyone,
Suppose I have a touch screen which supports single finger touch, is it very hard to use software based solution (e.g. programming to detect multi-finger touch and movement) to make the touch screen support multi-touch?
Just like I bought a cheap single finger touch cell phone and through programming I make it work as i...
Hello everyone,
I am using VSTS 2008 + ADO.Net + C# + .Net 3.5 + SQL Server 2008. I am using ADO.Net at client side to connect to database server to execute a store procedure, then return result from the store procedure.
Here is my code. I have two issues about timeout,
If I do not explicitly set any timeout related settings, for the...
I have a .DLL which contains .NET Runtime callable wrappers for COM/DCOM objects.
I have written a testing suite in C# in VS 2008 which calls our server functions which are in the abovementioned .DLL.
When code coverage was turned on and testing suite ran, code coverage test results did not yield any statistics and displayed zeroes for...
Hello, How to change the default directory for app installed with ClickOnce? I mean how to change it for example to "C:\Program Files\CompanyName\Applications\etc.."
...
Well, Im a little worried about where to put the user controls and the forms (childs and parents), the helpers classes and so on. So Im using RepositoryPattern for DataAccess and my Forms was added in the ViewLayer with any organization.
I want yours opinions about using some Architecture for deal with this, or just create some folders a...
Hello everyone,
If I have .Net 3.5 + VSTS 2008 + IIS 7.0 on my machine, could I develop and debug some classic ASP code (in VB Script).
If I can, any reference guide to setup development environment for both IIS 7.0 and VSTS 2008?
thanks in advance,
George
...
Hello everyone,
I am using Silverlight 3 + VSTS 2008. I have a image (Multiscale image control) and I place tooltip on this image. The function of Tooltip works fine. Since the image is big (about 500 * 500 size), and since end user could move mouse on the picture, and I want to display tooltip position along with the mouse (i.e. when m...
Hello everyone,
I am using VSTS 2008 + Silverlight 3 with Silverlight Popup control. I am confused about the VerticalOffset property.
From MSDN, it is mentioned,
"Gets or sets the vertical distance between the target origin and the popup alignment point. This is a dependency property."
http://msdn.microsoft.com/en-us/library/system.w...