|
What are some common mistakes made by .NET developers, and how can we avoid them?
For example, trying to open a file without checking whether or not it exists, or catching an error unnecessarily.
Please look in to the list before posting new
Please justify...
Started by amazedsaint on
, 78 posts
by 71 people.
Answer Snippets (Read the full thread at stackoverflow):
Only if the program logic is such that you anticipate obj may or may not be of type tree with an 'if' or other appropriate logic....
If an exception is thrown, it should as Tree;
...
Seeing exceptions used to control program flow.
Exceptions.
|
|
I'm trying to create a code to allow an existing classic asp program to use an asp.net web service. Updating from the classic asp is not an option, as I'm working in a big company and things are the way they are.
I've been browsing through a chunk of ...
Started by Zan on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Are you using Windows Authentication....
Then, use COM.
As you've seen, there is no tooling to help you in classic ASP, so consider using as much .NET as possible, for the tooling.
The .NET code as a COM object that the ASP can call directly.
|
|
My team is getting new XP64 workstations. We've been using XP32 up until now. Most of our work is done in managed C#/VS2008/.net 3.5 and SQL Server 2005. However we do have a couple apps that are still in VS2005/.net 2.0. The majority of our applications...
Started by Daniel Auger on
, 13 posts
by 13 people.
Answer Snippets (Read the full thread at stackoverflow):
Hope this help
Registering COM 32 bit DLL for asp 64 bit call
Many links the exception
"....
An attempt was made to load a program with an incorrect format where you will see issues.
Etc etc or one of its dependencies.
|
Ask your Facebook Friends
|
As programmers, what was your first personal (not professional), serious, programming project? In which language was it written? Did it came to an end?
Made it community wiki after advice.
Started by tunnuz on
, 27 posts
by 27 people.
Answer Snippets (Read the full thread at stackoverflow):
I hadn't gotten the hang of writing "good code" by then.)
My first "real" project was a program I put with that program was a version of Monopoly in QuickBASIC so that my friends and I had something to do during our for the time, and....
|
|
I've been doing application development for a long time but never really any web programming. I've made some (simple HTML) web pages in the past but that is the extent of it. I've got a pretty strong C/C++/C# background and I'm going to be getting up ...
Started by itsmatt on
, 21 posts
by 21 people.
Answer Snippets (Read the full thread at stackoverflow):
I would suggest using....
If you want to build that stuff).
PHP despite it's bad rep among the .Net community is incredibly powerful, not nearly as slow not let you see through its pre-made scaffoldings, so it is not very "didactic".
For you.
|
|
I am doing some research into common errors and poor assumptions made by junior (and perhaps senior) software engineers.
What was your longest-held poor assumption that was eventually corrected?
For example: I at one point failed to understand that the...
Started by Demi on
, 170 posts
by 160 people.
Answer Snippets (Read the full thread at stackoverflow):
I ....
For the longest time zero-argument constructor.
That people knew what they wanted.
Also that every program single project decision that is made.
I used to assume it's enough to program Win32 applications.
Simply dark magic.
|
|
If you have an interesting story to share, please post an answer , but do not abuse this question for bashing a language.
We are programmers, and our primary tool is the programming language we use.
While there is a lot of discussion about the best one...
Started by Ludwig Weinzierl on
, 102 posts
by 100 people.
Answer Snippets (Read the full thread at stackoverflow):
Maybe our professors just made had to use due to lack of ....
Hated every aspect of the language.
I had to learn it at the university.
Working with Netscape LiveWire (an ill-fated attempt at server-side JavaScript) and classic ASP.
|
|
Because of some suggestions, I'm going to try to gather some good programming resources in this
thread. If you know any good
websites, either post them here, or PM me and I'll add them to this post.
Tutorials, Books, Utils, Misc
* http://www.ebooksportal...
Started by amanamagus on
, 20 posts
by 2 people.
Answer Snippets (Read the full thread at ninjashoes):
CIndex.html
The Advanced C#/.NET Tutorial--
Code:
http://my.execpc.com/~gopalan/dotnet/net/java-media/jmf/index.jsp
* ASP .NET *
Official ASP .NET Website--
Code:
http://www.asp.net/Tutorials/quickstart.aspx
Learn ASP--
Code....
|
|
This is definitely subjective, but I'd like to try to avoid it becoming argumentative. I think it could be an interesting question if people treat it appropriately.
The idea for this question came from the comment thread from my answer to the "What are...
Started by Jon Skeet on
, 396 posts
by 357 people.
Answer Snippets (Read the full thread at stackoverflow):
On some....
It's either that or have custom controls for everything.
I mention to another developer that they shouldn't be doing everything in the page load method they often disable this option on all ASP controls if they're not being used.
|
|
Hi RedMX
Since you mentioned starting this thread - I thought I'd open the can of worrms lol
In the old days of procedural based languages, I'd often emplot a concept of manager rouitines (that defined the major paths of logic flow), supervisory routines...
Answer Snippets (Read the full thread at microsoft):
As I understand it .Net does its best Initialisation - declare any....
As I understand it .Net does its best to ensure/meant to be reused by whatever .NET language and program.
To be reused by whatever .NET language and program.
|