The .NET Framework is a software framework for Microsoft Windows operating systems. It includes an implementation of the Base Class Library, Common Language Runtime, and Dynamic Language Runtime. It supports many programming languages, including C#, VB.NET, F# and C++.

learn more… | top users | synonyms

3
votes
1answer
191 views

Exposing warnings\errors from data objects (that are also list returned)

I'm exposing Data objects via service oriented assembly (which on future usages might become a WCF service). The data object is tree designed, as well as formed from allot of properties.Moreover, ...
3
votes
1answer
176 views

Silverlight UI and PRISM - how to properly break down components?

This is how my solution looks like right now. And it get's to the point where my Controls need reference to Model. It get's real tough to keep Infrastructure, Constants, Controls and Model separated. ...
3
votes
2answers
701 views

What are the valid reasons to use ContentPresenter outside of template?

I stumbled upon an article by Den Delimarsky on What is a ContentPresenter? which says: In WPF there is an element called ContentPresenter, that is often used inside control templates, as well as ...
3
votes
6answers
2k views

How can I select an appropriate licensing/obfuscation system for .NET? [closed]

I saw someone suggesting .NET Reactor once as a good obfuscator. I went to their website to check it out and saw they have a product called IntelliLock which is advertised as a pretty robust ...
3
votes
2answers
3k views

In MVC where do you put action methods for views in the shared directory?

I have a website built using a MVC.NET framework with C# that uses some shared views and partial views. In order to display the views properly there is a bit of code that must reside in the ...
3
votes
2answers
2k views

Well designed Open Source WPF Applications [closed]

I'm just wondering if anyone knows about some well designed .NET Open Source Applications using WPF? I have already tried to search at the usual sites like GitHub and Sourceforge, but I wasn't very ...
2
votes
5answers
3k views

Is there any comercial application written in Visual Basic .NET? [closed]

In my work the language used to write applications is Visual Basic .NET. I read on internet and almost all the examples and questions are about C#. Is there any comercial application written in ...
2
votes
4answers
496 views

How to convince my teammates that spawning numerous threads is a bad design? [closed]

I've stumbled upon this problem when tried to run our application in bad network conditions; it spawns hundreds of threads (which exist long time before termination), and with time the application ...
2
votes
3answers
3k views

Creating Compelling Desktop Application in .NET

I'm about to create an open source desktop application. I'm primarily a .NET developer , with experience in ASP.NET and SharePoint. I've created basic Windows Forms applications before, but I have ...
2
votes
3answers
504 views

How are blocking calls implemented?

This may be a very simple question. I'm curious how blocking calls are implemented. Specifically, how do they block? Is this just thread.sleep?
2
votes
8answers
432 views

What is the proper amount of time required to interview a .NET developer?

I had two interviews during the last two weeks, one of them was about 30 minutes, and they had me fill out a job application before it, and the other one was less than 10 minutes! In your own point ...
2
votes
9answers
772 views

A Newbie .NET Developer Desperately Seeking for Advice [closed]

I am becoming a little desperate. I am 23 and for the last three months I've been working as a software developer for a British Company who develop a leisure management system. Prior this job, I was ...
2
votes
5answers
5k views

What ESB systems work the best for .Net stack [closed]

What Enterprise Service Bus would you use and why?
2
votes
3answers
387 views

invoking methods within a conditional expression

In an oft-cited (if dated) reference for C# coding standards (pdf; from Lance Hunt), the statement is made, 33. Avoid invoking methods within a conditional expression. I've not seen this ...
2
votes
7answers
1k views

Is there a quick and practical (hands on) way to learn another programming language?

Due to rather strange circumstances, I only have until Monday to learn (at least) the basics of PHP and .NET programming. I'm already fairly competent (though there is a lot of room for improvement) ...
2
votes
4answers
657 views

Do I lose anything by coding in c# and using free online vb.net code convertors? [closed]

The company I work for uses vb.net since there are many programmers who moved up from vb6 to vb.net. Basically more vb.net resources in the company for support/maintenance vs c#. I am a c# coder and ...
2
votes
7answers
3k views

.NET internals:Where is a good place to learn the “under the hood” stuff in .NET? [closed]

I'll be completely honest, one reason I love C# and .NET is that it has for ALL of my development career abstracted me from the well crafted under the hood stuff, I believe as a .NET developer I ...
2
votes
2answers
441 views

microsoft .Net license

Am about to start coding using microsoft .Net technologies, am just worried about the license, so if I compile my code using the .Net compiler "not visual studio" can I distribute, sell or use my ...
2
votes
4answers
369 views

Standardised Programming Techniques / Procedures

I don't know if this is a question, or a start of a conversation or even a completely irrelevant topic. Why isn't programming more standardised? Im really new to this and I find it hellish ...
2
votes
6answers
189 views

Upgrading from XP Pro to Win 7, anything I should worry about?

I do mainly .NET work so I assume that the framework is all fine and that. But have there been reports of various tools like .NET Reflector and the like not working properly with Win 7? This is a ...
2
votes
5answers
426 views

Is “WinForms” a widely-known and acceptable substitute for “Windows Forms” on a résumé?

I'm always trying to hone my résumé to the bare-bones essentials -- no fluff. I want to keep as many points as possible to a single line, and to this end I have used the term WinForms in several ...
2
votes
7answers
540 views

Is there a pattern to restrict which classes can update another class?

Say I have a class ImportantInfo with a public writable property Data. Many classes will read this property but only a few will ever set it. Basically, if you want to update Data you should really ...
2
votes
4answers
3k views

Microsoft's coding standards for ASP.NET controls

I cannot find any naming standards/conventions in MSDN for naming ASP.NET controls. One of the following standards tends to be used by programmers: lblAddress AddressLabel Address According to ...
2
votes
2answers
557 views

Messaging technologies between applications ?

Recently, I had to create a program to send messages between two winforms executable. I used a tool with simple built-in functionalities to prevent having to figure out all the ins and outs of this ...
2
votes
5answers
2k views

I feel unprepared to start my first job out of college… how can I improve? [closed]

I just graduated from university with a degree in Computer Science/Engineering and was fortunate enough to land a job working in the pharmaceutical industry as a developer. My title is System ...
2
votes
3answers
2k views

Anybody using VB with ASP.net MVC? [closed]

When a .net project use newer technologies like ASP.net MVC or Silverlight, is VB.NET being used? Or it is used just in the legacy projects? What is the situation now?
2
votes
3answers
119 views

.NET Framework standard container type for multi-value property?

I'd like to create a simple class property which can contain multiple values set from the outside. (Values are of the same type.) Example of property name and contained items: KnownHidScanners ...
2
votes
2answers
598 views

Data representation with C# and WPF

I'm developing an application handling DB parts. I retrieve the data from the DB with stored procedures and prepared statements. Now I want to display the data in the GUI. What is the current ...
2
votes
4answers
285 views

Is there a pattern for subscribing to fired events/messages at specific intervals?

I'm not sure if this a common scenario or not, but I have a need along the following lines: I have an object (I'll call it node) and this object has methods X, Y, and Z. I want to be able to have ...
2
votes
2answers
228 views

What is the advantage of a programmers VM apart from portability [duplicate]

I can understand the benefits of Java running on a JVM. Portability. Nice simple reason. But I have always been puzzled as to why Microsoft brought out their own version of a JVM - .NET. C# is ...
2
votes
3answers
341 views

Want to know performance issues of Class types & access modifiers

Someone suggested me to mark classes as SEALED that are not being inherited anywhere. I was using default style and was not concerned with the type of class. At present I don't have a benchmark tool ...
2
votes
2answers
1k views

Why aren't extension methods being used more extensively in .NET BCL?

I found the "Extension method" concept of C# just wonderful. It enables us to do things like: More flexible alternative to Abstract Classes. Provide missing Java-like functionalities to C# enum. ...
2
votes
2answers
661 views

Optimize Reading of Multiple files

I have a unique problem which I'm hoping someone can assist with. I have One big text file, our Production file. The data in the file is delimited in the following format Reference|Cost ...
2
votes
1answer
374 views

How can I break my vendor lock-in situation?

I'm developing software for about 10 years. I began on QBasic and now I'm developing .NET using C# language. I'm always trying to follow the best design patterns and principals like SOLID. In short ...
2
votes
6answers
965 views

Randomly select from list with increased odds

I have a list of entities. Every entity contains a number that holds how many times the entity has been selected. I need to make a function that selects n (say 25%) of the entities, randomly. What I ...
2
votes
3answers
827 views

Suggestions for connecting .NET WPF GUI with Java SE Server

BACKGROUND We are building a Java (SE) trading application which will be monitoring market data and sending trade messages based on the market data, and also on user defined configuration parameters. ...
2
votes
3answers
1k views

How to build a .Net app which runs on desktop and as a Windows Service

Ok, I hope this is not too much confusing (with my poor English). I want to build a small .Net 4.0 app which monitors several other applications on a Windows Server OR on a regular Windows PC. It will ...
2
votes
1answer
2k views

How to choose a good namespace name? (Linguistically)

English in not my native language, therefore it is a little more difficult to pick a good name for a namespace. One example to make you see my problem a bit better: We have a set of classes that have ...
2
votes
3answers
539 views

The future for a .net developer after the BUILD conference [closed]

Looking back on Microsoft's BUILD conference and everything that came out of it, I'm not sure what direction I'm supposed to take as a developer? If I understood it right MS is putting HTML5 before ...
2
votes
3answers
52 views

Pre-processor usage to separate logic to different versions of product

In the .NET code base of a product, there are #if pre-processor statements to define whether certain functionality should be available. Like so: shared logic #if version1 some logic #endif #if ...
2
votes
1answer
189 views

The most effective arguments in favor of improving code quality, for a manager [closed]

My employer's legacy system started off (in 1997) as very structured procedural code (with a smidgeon of OO), and it was luckily one of the 10% of software projects that was successful. It may look a ...
2
votes
3answers
242 views

Best Practices - separation of concerns and inheritance issues

Here's the situation: I have a "common" Data Access assembly that contains classes used in all my projects. Some of those are abstract classes that are only implemented by my data access layers for ...
2
votes
4answers
393 views

Is it bad practice to update an object in a static method?

Still learning .net and OOP and have a basic question I hope. This is an asp.net mvc app. Looking at the code below, I am most concerned with the line in CheckShippingVendor that says ...
2
votes
1answer
141 views

WCF hardware requirement

I read the hardware requirements of WCF in a book and two of them are the following ones: A DVD-ROM drive A 1024 × 768 or higher resolution display with 256 colors or more Why is there a ...
2
votes
1answer
301 views

Better way to read XML

We are storing config files as XML. With that being said, when reading the XML file, is it better to use LINQ to query the XML file or would using the XMLDocument and/or XMLNode classes better to use? ...
2
votes
2answers
416 views

Is it considered best practice to dynamically bind return types from the Entity context?

MyDbEntities context = new MyDbEntities(); var result = context.StoredProcedureName(userId); In the situation above, is it considered best practice to use var or ObjectResult<ComplexType>?
2
votes
5answers
608 views

Design Methodology for Developing Interoperable Systems?

A bit of background The company I work for has been creating database applications since around 1980 and, until relatively recently, most of these systems have been stand-alone "silo" systems. ...
2
votes
5answers
262 views

Delegate vs Method

Is there any advantige using delegates instead of methods? For example: public void LoginAuthenticate(object sender, AuthenticateEventArgs e) { if (Membership.ValidateUser(lgUserLogin.UserName, ...
2
votes
2answers
359 views

What is an alternative to bitwise flags?

I was trying to be smart and elegant, and I ended up shooting myself in the foot by coding my entire application to use flags to store various combinations of settings. Now, I have hit a point where ...
2
votes
1answer
124 views

How to define item level permissions in a relational database

I need to model a database design to provide item level permissions to users based on the user's role access. I am using asp.net with sql server 2012 I am looking at similar experience on how ...