I am developing smart device application. In that I am consuming the java web services in .net window application ( C# ). The java web services resides on the another machine. I am able to add the web reference in .net application. It is showing the list of web methods. But I am not getting the proxy class in my .net application. I am no...
I remember once seeing a project a guy did where he write something like this in some language with json like strings which created pretty good html. Is there something like it i can use for C# or .NET
radio-box{ AName, [First|Second|Value:9|ItsLikeAnEnum]}, TextBox[user, password],
Checkbox[RememberMe:true, blah]} //blah is default wh...
I am developing in ASP .NET, C#.
I'm looking for third party components that support the following requirements:
1) Ability to enter information into a numeric (preferably spin button enabled) text box as fractions.
2) Support for conversion between fractions and decimal.
3) Support for conversion between metric and imperial units of...
Can we write some add-ons for Firefox with .Net Framework (C# or VB) ?
...
We need to integrate our application with a client's applications, and this integration will happen through WebServices.
We will have to instantiate different classes depending on which release the client is on. The thing is, I don't know how other companies do that, we were thinking about some dynamic assembly loading for code readabi...
I need to improve memory performance on my application and I could see that I have problems with memory fragmentation.
I've read an interesting article on large objects from Andrew Hunter of Red Gate, and one of the solutions he recommends is:
If large data structures need to live
for a long time, and especially if
they need to ...
hi im itrying to debug javascript using vs2010
but i can't set breakpoints?
how can i do this? thanks
edit:
ive used your tips, debugger etc... thanks guys.
wow! i just noticed something, every time i try to call a function, no matter what function, in javascript, somehow jquery and ms ajax framework javascript captures it and checks ...
I am looking into Performance issues of an Asp.Net 2.0 Web Site which uses a WCF service. On the Web and the WCF Host Service I am adding some Perf Counters to analyse the application behaviour. What are the Performance Counters which will be useful. I have created a partial list. Can someone suggest me if I am missing any important coun...
I am currently investigating whether to build a windows application using unmanaged C/C++ or in .NET and would like to know of the kind of performance and responsiveness that is capable with a managed C#/.NET GUI app?
Not surprisingly it looks like the fastest most responsive applications (e.g. chrome, spotify, etc) are written in unman...
I did some research and looking around and it seems the way to do this is using an AutoResetEvent. I quickly put this together and it seems to work and seems to be thread-safe. Can I have some feedback?
class Program
{
private Thread workerThread;
private AutoResetEvent aResetEvent;
private bool _continueProcessing;
priv...
Hallow, I have a Master DataGridView on the WinForm, say Partner and TWO Child DataGridViews Mails and Phones which reflect the DB structure
I create DataSet including: DataTables partners, mails, phones, DataRelations partner_mail,partner_phone and initialize 3 Bindingsources
BindingSourcePartner=new BindingSource();
BindingSourceMail=...
Hi everyone!
In MSDN description of the Thread.Abort() method stays: "Calling this method usually terminates the thread."
Why not ALWAYS?
In which cases it doesn't termenate the thread?
Are there any other posibility to terminate threads?
Regards, Lerax.
...
Tables: Article, Author, Comment (1 article and 1 author can have * comments)
In the database is 1 article, 1 author and 1 comment.
The problem is, that code
myBD my_bd = new myBD();
var articles = by_bd.Article;
works OK, I can see that an Author and an Article has 1 comment.
But that code
var comm = (from u in my_bd.Commen...
FTP doesn't support the notion of transferring entire directories. much less the option to /MIRror them a la Robocopy.
Given a local folder C:\MyFolder and an FTP destination ftp://example.com/home/MyFolder, I'm looking for some solid code to transfer the contents of the local folder.
If the destination exists, the contents of the lo...
Hi, is it possible to use the XmlSerializer in .NET to load an XML file which includes other XML files? And how?
This, in order to share XML state easily in two "parent" XML files, e.g. AB and BC in below.
Example:
using System;
using System.IO;
using System.Xml.Serialization;
namespace XmlSerializerMultipleFilesTest
{
[Serializ...
I'm having trouble right aligning a label.
I set the TextAlign to MiddleRight, yet when I change the text of the label the label autogrows right.
Is TextAlign the correct parameter for setting the desigered behavior?
Is there a way to fix the problem other than using a TableLayoutPanel?
...
I want to input data into my table (sql 2008) using linq to sql:
public static bool saveEmail(Emailadressen email)
{
TBL_Emailadressen saveMail = new TBL_Emailadressen();
destil_loterijDataContext db = new destil_loterijDataContext();
saveMail.naam = email.naam;
saveMail.emailadres = email.emai...
This is very odd, and I'm just wondering if anyone can explain this to me. I have a web service run by traditional old asmx style web services. We had a public property that was used in a internal method that was not displayed to consumers like this:
public class User {
public string EmployeeID;
protected override void DoSomethin...
I have added some nullable value types to my serializable class. I perform a serialization using XmlSerializer but when the value is set to null, I get an empty node with xsi:nil="true". This is the correct behaviour as I have found here: http://msdn.microsoft.com/en-us/library/ybce7f69%28VS.80%29.aspx
Is there a way to switch off thi...
Similar to http://stackoverflow.com/questions/2222849/boost-preprocessor-library-for-generating-a-set-of-types-based-on-a-list-of-basic I am asking how to generate:
struct Point##TYPE_SUFFIX_NAME
{
TYPE X
{ get; set; }
TYPE Y;
{ get; set; }
// Other code
};
for different basic (POD) data types e.g.:
PointF32, Poi...