.net

Tools to profile the most computational cost of my .NET application.

I have a C# application which sometimes cost the CPU very high. I want to see which part of the code cost most. But the Microsoft CLR Profiler only determins the memory usage, it's not meant for computational profiling according to here. Is there any tools to do this? Thanks. ...

How do I do continuous testing in .NET?

I'm using Infinitest for continuous testing when I do java development and i really miss the instant feedback when I develop in .nET How do I do continuous testing in C# & .NET? EDIT: I'm not looking for continuous integration, like CruiseControl, TeamCity etc. It's an instant feedback tool that works with your IDE that I'm looking fo...

converting string to valid datetime

string strdate="15/06/2010"; DateTime dt = DateTime.Parse(strdate, System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat); i cannot able to get the datetime value as dd/mm/yyyy. it is giving exception 'string is not recognized as a valid datetime' oly if it is in 06/15/2010 it is working. how to get the same...

.NET "Timer" would block other method calls?

Hi guys: In ASP.NET 3.5, we suspect a delegate triggering by a "Timer" will block other method calls. From logs, some function calls will wait for the finishing of the delegate and continue to work. Is it true? If yes, what workaround can I do? PS: The delegate contains codes to use WCF to retrieve data and the following code pr...

List<a> to List<b> converting when a and b have the same structur?

Hi, I use C# 3.5 DotNet Framework and Linq. I have 2 Views which have the same result-schema, but in linq that are different objects of course. How can I convert List a to List b? ...

To set a Background image in .Net form

i want to set an image to my .net form background using BackgroundImage propery but its not working so plz help me with it as soon...thnx in advance ...

To set a background image in .Net form

i want to set an image to my .net form background using BackgroundImage propery but its not working so plz help me with it as soon...thnx in advance ...

Can I use a single instance of a delegate to start multiple Asynchronous Requests?

Just wondered if someone could clarify the use of BeginInvoke on an instance of some delegate when you want to make multiple asynchronous calls since the MSDN documentation doesn't really cover/mention this at all. What I want to do is something like the following: MyDelegate d = new MyDelegate(this.TargetMethod); List<IAsyncResult> re...

MYSQL Download Links.....

I want to download MySQL Database..... Any one can suggest me for best link to download the MYSQL ...

Deploy SMO application to workstation without SQL Server 2008 installed

I am trying to deploy an application that uses SMO on a workstation without SQL Server installed on it. The instance the app is connecting to is SQL Server 2008. The application is failing with: Could not load file or assembly 'Microsoft.SqlServer.Replication, Version 10.0.0.0, Culture=neutral, PublicKeyToken=89845cdc8080cc91' or one ...

Attempted to access an unloaded AppDomain, Windows Azure

I created a cloud service with a worker and a web role. While running the app, the system says "Attempted to access an unloaded AppDomain" any solution ? ...

LINQ to SQL or classic ADO.NET?

I am asking my self many times before start writing a new app or data access library , should I use LINQ to SQL or classic ADO.net , I have used both and the development time I spend on building an app with LINQ to SQL is like the 1/3 compared to ADO.net. The only think I like using LINQ to SQL is that I don't have to design the domain ...

Compare datetime property to certain date via HQL (.Net)

Hello, I have problems comparing the datetime property of objects and when trying to compare to a given date. For example, I tried IQuery query1 = session.CreateQuery(String.Format( @"Select s.Id From InventoryProductStateItem s Where s.ValidFrom = " + stateItem.ValidFrom)); but get an exception...

Getting the PublicKeyToken of .Net assemblies

What is the simplest way to find the Public Key Token of an assembly? The simplest way i can think of would be a simple right-click, get public key, but this fonctionnality isn't there, maybe there is a VS Extension for that. I'm using VS2010, if an extension is available ...

C# .net and CLR Stored Procedures Question

Are normal operations like: DELETE From Product where ProductId = x faster in CLR then normal MS SQL 2005 Server Stored Procedures? ...

What things should I be aware of before moving to extJs as an asp.Net developer?

Hi, In the development environment where I code, there is a recent discussion on using extJs JavaScript framework in one of our upcoming project. My question is: As an asp.NET developer who is more or less familiar with JavaScript and jQuery, what critical points should I be aware of to not to be surprised or upset in the middle of my...

Is there any tutorial on connecting .NET 4 Pipeline with Pipeline from some C\C++ programm?

Is there any tutorial on connecting .NET 4 Pipeline with Pipeline from some C\C++ programm? For example how to get data from VLC Pipeline output ... I mean VLC docs say that there command line args can eat name of pipe like YUV video output --yuv-file=<string> How to give such name to pipe created in your .Net programm so to be...

How do I change "Specific Version" default value when adding a reference?

When I add a reference to my project, I usually want to use Specific Version = FALSE. This is because our automated build will set the version number. I see the default behavior is to be TRUE. Is there a way to change this? Counting on manually changing that value is error prone (and I end up breaking the build). ...

How can i start a MultiThread Heavy Excel data to add Sql Table?

i want to start Multi Thread while adding 20000 rows Excel Data to sql data.How can i do that? (this is windows Application) ...

Open source Graph control library or control for .net compact framework.

Hi All, Does anyone know any graph control library for .net compact framework ? Please provide me with links or details if someone knows about it ? ...