.net

is there any way that we can develop application in .net for iphone

can we develop application for iphone in visual studio itself are there any emulator for testing it that is compatible with visual studio ...

Difference Between QuickGraph from CodePlex and CodeProject

I'm wanting to use QuickGraph to draw some graphs in C# using GraphViz. I've had a look at the libraries available from CodePlex and CodeProject. They appear to be quite different. What are the major differences between the two? ...

How to use the PerformanceCounter to find the bandwidth used by my appication?

there are 2 problems with the following code: 1- it gets bandwidth used by all network cards... 2- it gets all bandwidth used.... I wanna be able to change it to do the following: 1- dynamically use the network card I am using to connect to the internet. 2- to show only the bandwidth used by the current application private voi...

Flex 3 ,ASP.NET and WCF

I want to create a web app. I want to use WCF for distributed transactions, ASP.NET at the middle, and because Flash is so popular, I want to write the front end with Flex3. Does that sound like a good architecture to you ? are there any benefits including WCF ? Can Flex interact nicely with ASP.NET ? or should I go Silverlight ? ...

Use reflection stub to initialize a delegate field lazily

The problem: a .Net 2.0 class with a few thousand delegate fields generated by a code generator varying signatures delegates may or may not return values no generics these delegates much be initialized quickly at runtime initializing a delegate is simple but expensive initializing the whole lot costs ~300ms right now - acceptable,...

Range of .ToARGB() return values

I want to be able to store a backgroundcolor for a panel in my application in the database. The value can be either a concrete color or empty, indicating it has been inherited from the parent. I wanted to store this in an int-field that is non-nullable, by calling the System.Drawing.Color.ToArgb() method. The return value of this meth...

Access to the same Exchange Server account using the IMAP protocol and Microsoft Outlook

Hi, I am developing a .NET C# application that will access the Exchange Server using the IMAP protocol. The application will retrieve emails, mark them as read, and move them from Inbox to some other folder based on some predefined rules. My question is, will the user that will be accessing same email account using the Outlook (Exchan...

Should you have an interface for all objects/classes

As part of process improvements we are trying to ensure that all our projects have suitable unit tests, as there is a bit of education required in house I am trying ascertain what exactly is the best way to ensure we are making our classes as 'testable' as possible. I suspect that we will start moving down the Mock object route and wit...

How do you upgrade Settings.settings when the stored data type changes?

I have an application that stores a collection of objects in the user settings, and is deployed via ClickOnce. The next version of the applications has a modified type for the objects stored. For example, the previous version's type was: public class Person { public string Name { get; set; } public int Age { get; set; } } And ...

Sending XML file over a 3G Network(JAVA+ C#)

I am involved in a project where I have to send string data to another computer using a 3G network. The severer is using C# and the client is using JAVA. Client side functions are working fine. But when it comes to the server side which uses C# I am having problems. I can read the input from the client with out any problem but sending is...

Retrieving an Expression from a property and adding it to an expression tree

I've tried to simplify this example, as the actual code I'm playing with is more complex. So while this example may seem silly, bear with me. Let's say I'm working with the AdventureWorks database and I decide I want to add a property called Blarg to the Product table that returns an expression that contains code I would like to use in...

configure IIS 7.0 meta database issue

Hello everyone, I am using IIS 7.0 + Windows Server 2008. Anyone has experience to configure the Timer_MinBytesPerSecond configuration items -- either programmatically or manually is fine? I also want to know how to check the current values for Timer_MinBytesPerSecond configuration items (either programmatically or manually is fine)? A...

How to read attribute value from XmlNode in C#?

Suppose I get a XmlNode and I want to attribute value of attirbute "Name". How can I do that?? XmlTextReader reader = new XmlTextReader(path); XmlDocument doc = new XmlDocument(); XmlNode node = doc.ReadNode(reader); foreach (XmlNode chldNode in node.ChildNodes) { **//Read the att...

Is the Workflow Foundation Storing State in Memory a Problem?

We have a contractor who has developed a system that uses the workflow foundation in .NET 3.5. One of my colleagues has concerns "around the workflow service storing state in memory and it possibly becoming out of sync with our underlying database". Are his concerns justified? ...

ServiceLayer or Controller?

I have gallery in my project. I save images on the hard drive but tags, descriptions, etc. I save to the database. Working with the database and data validation going through the service layer. Since the user has remove the image, the files will be removed from the hard drive and the record will be removed from database. //Action publ...

Order of calculation and iterations for physics engines

I'm writing a physics engine that uses Verlet integration, and i can't get some constraints to work right. Some (like a bond/weld constraint) are extra "soggy" and aren't stiff enough, while others (like an area constraint) are extra bouncy and send atoms flying. The code for my update ethod in my physics simulator is like this: Pr...

iphone application using xcode

can xcode be used to develop iphone applications using .net and is it compatible with windows ...

ASpxGridView Evaluation

I'm evaluating the AspxGridView. I'm interested in peoples experiences of it and whether they would recommend it. I'm also interested in any insight into the following Accessibility Support (to me it looks poor in this regard) The quality of the Xhtml outputted How to deal with change tracking and/or concurrancy ...

dynamic programming

is it possible to do dynamic programming in monodevelop for developing iphone applications using .net ...

How can I use IHTMLTxtRange.pasteHTML to paste HTML containing a span with a class?

Dim selection As IHTMLTxtRange = Doc.selection.createRange() selection.pasteHTML("<span class=""header"">" + selection.text + "</span>") I am using the above code to wrap the selection in span tags but the pastHTML method is removing the quotes around my class name. Is there another way to do this or am I doing something wrong...