One of the downsides of web.config/app.config is that it's just Magic Strings everywhere, since it's just an XML file.
Interpreted languages like PHP or Ruby have the advantage that the configuration is just code that is executed. In .net, doing stuff in code requires a redeployment, which defeats the purpose.
Now, before I build my own web.config replacement based on Boo or PowerShell I wanted to know if there is an existing one?
.NET 4 includes new concurrent data structures. The Bag and Dictionary collections have obvious applications but I cannot see any use for the Queue and Stack data structures. What are people using these for?
Also, I've noticed that the design based upon linked lists incurs a lot of allocation and that destroys scalability. This is surprising given that the sole purpose of these collections is multicore programming. Is this an inherent limitation or are they just badly implemented?
I am using Eazfuscator.NET 3.0.41 to obfuscate a (VS 2010) WPF 4 application. After obfuscating, when I double click the exe file it's throwing an error message like this.
"Description: The process was terminated due to an unhandled exception.
Exception Info: System.Windows.Markup.XamlParseException"
Is there a way I could enable some sort of a logging to check where it's going wrong ? How can I solve this problem? please advice
Hi,
I'm new to C# and .NET, ,and have been reading around about it.
I need to know why and when do I need to release resources? Doesn't the garbage collector take care of everything? When do I need to implement IDisposable, and how is it different from destructor in C++?
Also, if my program is rather small i.e. a screensaver, do I need to care about releasing resources?
Thanks.
I'm writing a .NET application that will make an RPC call to a Java application (via a message queue). The data sent in both directions will be large arrays of floating-point numbers. What is the best way to serialize them to send them across the wire? I'd like something more compact than text, but architecture-independent as the server may not be an x86 machine. The Java application can be changed as needed.
I would like to be able to display the version of the .NET framework a windows form or wpf project is targeted at and display it in the title bar of the app.
Is there a way I can do this?
Thanks
In a project using .Net4 - should there be any issues referencing dlls built for older versions of .Net? We're talking 3rd Party dlls here.
I'm asking this as a general question. Specifically I have a problem referencing FluentNHibernate.dll - built with .Net3.5. It worked justed fine before I updated my project from .Net3.5 to .Net4.
I can't find any good documentation on what the concept of a Class Loader is in the .NET Framework? What is it? Where can it be found? Does anyone know?
Hello All, I'm searching for a plot .NET component to plot a 2D line chart, given an array of data. It will be used with WindowsForm (C#) and It will be very helpful if it could be freeware. It is for a scientific application.
This is my first asked question in stackoverflow, and excuse me for my terrible English written.
I want to setup values for a combobox in vb.net through code. But I don't know what's the code for setting it up. please help.
I want to do something like this:
if combobox1.selecteditem="1" then
combobox2.values=("x", "y", "z")
end if
I am designing an auto downloader using .NET and C#. I was wondering if there is a decent/robust FTP/SFTP module out there that I can use, preferably free of charge.
Hi
Can anyone suggest the ways we can choose to reduce the size of the rendered html
or response to reduce page weight in .net so that the client can experience a faster loading of the UI
i've heard of JSON and GZip
but don't have much idea about how to use it or even better ways are there
hi guys,
I am upgrading from vb6 to vb.net.
I used to list my query results in datagrid in my previous applications. What can be more visually attractive control in replacement of datagrid?
I hate the classic look of datagrid
Suppose I want to use the ASCII special character FS(0x1C) in a .Net string, and then be able to format a byte array from that same string with the special character properly represented as a single byte, how would I do that? I can't seem to get my head around it.
Thanks for any help you can give.
Looking for a variety of Windows Form (winforms) tutorials for visual studio.NET C++
I found a few basic ones:
How to: Create a Windows Forms Application
Walkthrough: Retrieving Dialog Box Information Collectively Using Objects
Any others?
Thank You.
Hi, I`m looking for best mechanism for self update in .net programs!
solution should cover this subject:
1) Server - Client Program
2) When new update released, after installing that on the sever-program, all client-program must update itself base on server version.(no need automatic-update for server)
3) Full-Update : for example if server on version 3 and last update package version is 5, update package must contain any older package.
Hi
just looking for abit of guidance here if possible.
I recently downloaded a .net component for VS 2008 to handle sftp.
After struggling with it for a day i uninstalled and deleted it.
When going back into VS 2008, any of my previous projects have this error
at the bottom in the error window:
failed to create app domain.
I was going to do a re-install, but is there anything I can try before I resort to this?
thanks again
DD
Hi
What are the possible ways of representing data in memory in .Net (or in general)?
It would be great if data could be sorted and looked up by key (or multiple keys).
We are thinking to use collections, arrays, list of collections/arrays. One object would be in several collections (one sorted asc, other desc, etc.).
Maybe this is not a good idea, and we would like to hear some other possible solutions.
Thank you
I came across this article discussing why the double-check locking paradigm is broken in java. Is the paradigm valid for .net (in particular, C#), if variables are declared volatile?