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

5
votes
3answers
462 views

How to Implement Error Handling [closed]

Even though I've programmed on a professional level for some years I still do not fully understand error handling. Although my applications work fine, the error handling isn't implemented at a ...
12
votes
7answers
632 views

Is .NET experience information overload?

It used to be that, if you wanted to develop an N-Tier app in .NET you built your UI with Winforms or WebForms, your BLL with standard C#/VB.NET/{.NET Language}, your DAL with ADO.NET and maybe throw ...
10
votes
6answers
728 views

What factors to consider when choosing runtime/language for Windows desktop applications?

My users all have Windows. Some of them use Linux or a Mac, but if they do they're generally capable of using something like Mono, Wine, Parallels or dual-boot. My development team (including myself) ...
9
votes
4answers
413 views

How would I design an interface such that it's clear which properties may change their value, and which will remain constant?

I am having a design issue regarding .NET properties. interface IX { Guid Id { get; } bool IsInvalidated { get; } void Invalidate(); } Problem: This interface has two read-only ...
8
votes
2answers
4k views

Dependency injection with n-tier Entity Framework solution

I am currently designing an n-tier solution which is using Entity Framework 5 (.net 4) as its data access strategy, but am concerned about how to incorporate dependency injection to make it testable / ...
5
votes
5answers
2k views

JQuery / JSON + .Net Service Layer - to WCF or Not to WCF?

I Recently had a discussion with a colleague of mine about the pros / cons of WCF. He mentioned about how much code is generated to support WCF, and also the overhead required. It was mentioned that a ...
15
votes
10answers
2k views

Declaring interface in the same file as the base class, is it a good practice?

To be interchangable and testable, normally services with logic needs to have interface, e.g. public class FooService: IFooService { ... } Design-wise, I agree with this, but one of the things ...
15
votes
11answers
2k views

Why all classes in .NET globally inherits from Object class?

Its very interesting for me which advantages gives "global root class" approach for framework. In simple words what reasons resulted the .NET framework was designed to have one root object class with ...
10
votes
3answers
3k views

Why is there no generic implementation of OrderedDictionary in .net?

Why did Microsoft not provide generic implementation of OrderedDictionary? There are a few custom implementations I've seen, including: ...
6
votes
5answers
3k views

Learn C++ before/at the same time as C#?

I'm currently learning C#, but wondering whether it is beneficial to learn some C++ before/at the same time as in order to understand the concepts a little better? I've got a C++ book and it does seem ...
4
votes
6answers
547 views

What are ways I can speed of development time when building applications? [closed]

I noticed that overtime with experience that the curve of learning shifts from trying to learn a language or technology (the way it works) to how to develop applications faster and with less code. I ...
2
votes
5answers
532 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
3answers
210 views

Is it practical to retroactively write specifications documenting a system via automated acceptance tests?

If a project was coded without much (or any) formal documentation and is without unit tests, does it make any sense to use tools like Fitnesse and SpecFlow to write automated acceptance tests as the ...
10
votes
3answers
611 views

What's the reasoning behind the “I” prefix naming convention for interfaces in .NET?

I know the "I" convention has been around since COM, but I've never understood why it hasn't been reconsidered like every other naming convention before .NET has. Consumption wise, the only thing ...
10
votes
4answers
1k views

Best practice with branching source code and application lifecycle

We are a small ISV shop and we usually ship a new version of our products every month. We use Subversion as our code repository and Visual Studio 2010 as our IDE. I am aware a lot of people are ...
9
votes
3answers
1k views

Is there a proper way to create a file format?

I'm building a proprietary file format for an application I wrote in C# .NET to store save information and perhaps down the line project assets. Is there a standard on how to do this in any way? I was ...
9
votes
3answers
715 views

Why do we have so many flavors of .NET? Is it a good thing? [closed]

There are many "flavors" of the .NET Framework: Full ("normal") Client profile subset Silverlight in web browsers "Silverlight" on Windows Phone Compact framework WinRT When C# code is needed on a ...
3
votes
4answers
2k views

Migrating myself from .Net 1.1 to .Net 4.0

I have been working with .Net for 7 years. ASP Web Apps, Windows Forms, Windows Services, mostly done in C#, but some in VB.Net. And as we started to work with .Net 1.1, we stayed on .Net 1.1. ...
3
votes
3answers
729 views

How to interpret programmer salary survey data, especially concerning different job titles?

I've been trying to understand how my compensation stacks up against the competition. I understand that this can be a bit of a localized question, so I'll do my best to avoid local issues. There are ...
1
vote
4answers
475 views

How do you evaluate learning C# from videos for a beginner? [closed]

I have an idea about programming in general so I know what a variable and a method is but I didn't program before. I liked C# because of Visual Studio and I only tried Hello word program in it. I ...
1
vote
5answers
727 views

Transitioning To Java [duplicate]

I'm primarily a VBA/VB3-6/VB.Net developer of 15+ years with several years of C# experience. Myself and another developer (a seasoned senior level java developer) were hired on at this new company at ...
13
votes
8answers
1k views

Is it common to use partial classes to achieve 'modularity'?

I recently encountered a situation in our codebase where a different team created a 'god class' containing around 800 methods, split across 135 files as a partial class. I asked the other team about ...
8
votes
3answers
687 views

Virtualized Development Environments in Enterprise Networks

We are attempting to implement a development environment using virtualization for a small team of 4 developers within an enterprise organization. This would allow us to set up separate development, ...
7
votes
3answers
840 views

How to share methods and properties between custom web controls

I'm building some custom web controls in .NET using C#. The controls inherit from the standard web controls, and add additional properties and functionality (e.g. I'm creating an 'extendedTextBox' ...
7
votes
8answers
786 views

How should I introduce a coding standard to my team?

First a bit of background: My current development manager is taking another opportunity the end of this week, leaving our team with four fulltime developers, a part-time intern and a web designer ...
5
votes
2answers
256 views

What technologies are typically used to implement enterprise services in .NET?

I'm trying to get an idea as to how what I currently do (implementing enterprise services in Java) would be done in a .NET environment. In .NET, would it typically be done using: IIS as the server? ...
5
votes
5answers
2k views

How to switch From Java to .Net? [closed]

Has anyone out there done this? Did you have to spend a few years learning .NET before you could get a job or were there employers just willing to throw you into the fire based on your Java ...
4
votes
1answer
239 views

How do you handle time series .Net?

I have been looking for Time Series models over in SO, but I figured this place was the best site to actually ask the question. I am wondering what is the "best" way to handle Time Series in .Net. ...
4
votes
2answers
293 views

How do I get people to contribute ideas for my .NET library?

I maintain a LGPL library for rapid development of large scale .NET applications, It's a general purpose class library containing functionalities that are used at the DAL and BLL level. So, in ...
3
votes
6answers
762 views

How to include database changes during application publish

I am maintaining a WinForms application, which talks to a SQL Server database. Sometimes I have to change database schema (for example to alter a sql procedure or add new one). For this purpose I have ...
3
votes
2answers
232 views

In the context of semantic versioning, does a change in the default configuration warrant a new major version?

My module is enabled by default (i.e. when you add the module). There's also a configuration you can optionally use, which supports an enabled="true|false" setting. This way the module can be disabled ...
2
votes
2answers
998 views

Is there an Auto Generator for DataContracts? [closed]

Is there a tool out there that can quickly and simply generate a DataContract from either XML or JSON? Doing it manually can be a real pain.
1
vote
2answers
284 views

Approach of delivering “Logging API”

I faced a question in a .NET interview. As a client i need a LoggingAPI. How you go the approach of design and development and delivering Logging API to the client? I don't care about WPF or a ...
1
vote
1answer
522 views

In Windows 8 will it be possible to use WCF in conjunction with HTML5/JS?

Correct me if I'm wrong but I've heard that communicating with a database in Windows 8 will more than likely be done with WCF when working with C#/XAML. If this is true then will this also be the ...
0
votes
1answer
193 views

Anemic domain models - what sort of methods a domain object might need?

This question might seem strange, but it's something I've faced sometimes. I've been trying to adopt DDD, however I'm always facing the problem of anemic domain models. The problem is that when I ...
0
votes
2answers
417 views

embedding programming languages into other languages [duplicate]

In C/C++, there is a keyword that allows you to enter assembly language directly into a method. Example int Main() { __asm // notify the compiler that this block is assembly language. { ...
-1
votes
1answer
780 views

process for learning .NET and C# [duplicate]

Possible Duplicate: Approach to learning .NET? had just completed my Bachelors in Computer Science, I Know c and C++. Now I need to learn C# for my Job work but I don't know anything about ...