.net

No application configuration file found in FUSLOGVW.exe logs

Hello, I m creating a C# .NET Project in which i m trying to load third party Assemblies which are installed in GAC. But in some machines I m getting an error stating "Unable to Load assembly of specified version 7.0.351.0". when i tried to do an assembly redirection it didn't work it still shows the same error. Note: 7.0.351.0 -The...

Is NHibernate still in active development for .NET

I heard somewhere that NHibernate for .NET will stop development because microsoft developed the enity framework. Is this true? ...

How to develop accumulator codes?

Hi everyone! This is for vb.net I've been working to develop a system which involves computation. I would just like to ask for any ideas or source code or a link perhaps that could help me resolve this issue. What I've been trying to develop in my program is, I have a textbox where user will enter a numeric value,there is a button ...

Enterprise CI (SOA / .Net)

How should I tackle Continuous integration for a SOA platform? Let me explain the setup. We have 30 web service solutions and 5 client solutions, the web services are quite dependent on each other (references contract dlls) and also share some common utility dlls. Until now we have been happy with CruiseControl.net (37 CC projects, 5 ...

.NET: System.IO.Path

Given a string that is to a directory, how can I make sure there's a closing \ character? For example, C:\foo is a directory, and so is C:\foo\. Is there a System.IO.Path method that ensures there's a ending \? ...

Right-aligned labels in WinForms

The most obvious way to right-align a Label in WinForms doesn't work: setting anchor to Top/Bottom Right and TextAlign to TopRight. If the text changes the label's Left coordinate remains unchanged instead of the Right coordinate (which, one might argue, is a bug). For this reason I've always used a full-width TableLayoutPanel for right...

Book to learn about the new features in C#/.NET 4.0?

I'm looking for an in-depth book that talks about, and only about, the new features in version 4.0 of .NET and C#. There are some good books, that are/will be published and talk about C# 4.0, but cover all the features of the language and the platform, even the old ones, and I don't want to waste time in scanning through a book of these...

.net c sharp windows Form Application : opening multiple instance of same form

I want to open Multiple Instance of a single from , and running simultaneously , independent of each other. is it possible in .net windows Form application , if yes how can I achieve it. Basically I want to make a chat Application using "**.net windows Form **" which will have ** one to one ** chat window. ...

ProActive Parallel Suite .NET alternative

I have recently started using ProActive Parallel Suite (http://proactive.inria.fr/). I was wondering if there are any alternatives for .NET Framework which are open-source and which have relatively the same feature set. ...

How to install .net dll?

In visual studio, when user Add Reference, another dialog box will be pop out and showing a list of .net component. I try to copy a dll into GAC folder but I don't know how to make that dll appear in the Add Reference dialog box. Anyone know why? Thanks in advance! ...

WPF: Binding directly to a control

I need to bind a property of a UserControl directly to another control, rather than any specific property on that control. What's the best way to achieve this? I've tried various combinations of the Binding properties to no avail. For some context, the UserControl has a Next property that specifies which control is next in the navigatio...

Should this bug be fixed?

I found a bug in the .Net framework yesterday and found that it is a known bug that won't be fixed. In short the bug is that a class that contains a field of the type IComparable can't be binary serialized and deserialized when an int (and possibly other binary types) are assigned to that field: [Serializable] public class Foo { pub...

Multiple applications sharing same configuration files

In my production environment I have several Web applications installed in the same machine. These applications access various web services and two SQL Server databases this means that my web.config files are very big and full of details. Besides this I also have windows services that consume the same web services and access different da...

HtmlAgilityPack for getiing required html

Am using C# application to feed the broken HTML into HtmlAgilityPack and get the first 200 words with proper closing of HTMl tags...anyone kindly help me with sample code for using HtmlAgilityPack to get the proper html content. ...

Where can I find the meanings of MSDN library icons?

method. what does this mean? static. and there are lot more symbols. Where can I get the reference of all these? EDIT: Just in case anybody also want here is a meaningful link http://tinyurl.com/msdnicons ...

How can I write webparts that are as lightweight as the one by Google or Yahoo

Hi, I have been writing webparts for a while and have written couple of portals too but I feel that the portal pages and webparts that I write using .net framework are much more heavy and browser specific. Can some body guide me to write light weight webparts that are browser independent and do not take long time to load or change zone. ...

Create the same border type around all my controls

I tried to create my own Border class and then insert it in my controls but then it seems I cannot assign names to everything inside the borders: .. <my:ElementBorder> <StackPanel Name="ifBlock" Background="#E0E8FF" /> </my:ElementBorder> .. How can I get around this? Can I use templating somehow for that? EDIT: Sorry that I...

How does ironpython speed compare to other .net languages?

Hi, I would like to give sources for what I'm saying but I just dont have them, it's something I heard. Once a programming professor told me that some software benchmarking done to .net vs Python in some particular items it gave a relation of 5:8 in favor of .NET . That was his argument in favor of Python not being so much slower than ...

what type of bug causes a program to slowly use more processor power and all of a sudden go to 100%?

Hi, I was hoping to get some good ideas as to what might be causing a really nasty bug. This is a program which is transmitting data over a socket, and also receives messages back. I could explain lots more, but I don't think this will help here. I'm just searching for hypothetical problems which can cause the following behaviour: p...

What OR-mappers allow one-to-many AND One-to-one relationship between the same tables?

Hi, I'm currently looking for an OR-mapper to use for a side project I'm about to start. Since we're using an inhouse developed OR-mapper at work I don't really know much about how other mappers work (and have a pretty incomplete picture of which exist). After some research it seems that NHibernate, Linq-to-SQL and Entity Framework are ...