Finding the best .NET related techniques and libraries for logging, database federation, message queues, and more.

I am new to the .NET platform and started working on developing a web application, it would be great if I could find answers to a couple of my newbies listed below (I really appreciate your answer).

  • Where can we find best practices related to designing, coding, testing and deploying .NET (ASP.NET/C#)? - I have googled and found many resources that are not sure which is better?

  • What's the best logging framework for .NET? - log4net or something else? - any suggestions for using ASPECT.NET ?.

  • What's the best framework for joining database connections? (are there any) - any resource links will be of great help.

  • We are developing a component that updates the web (changing users via email) - any good messaging platforms? and what are the best practices to follow when developing resource intensive services within the main web application.

Thank you very much for your time and look forward to working with you in the near future.

Vijay R's relationship

+2


source to share


5 answers


Just run with a comment:

I am new to the .NET framework and started working on creating a network application ...



The Microsoft Patterns and Practices group has published an Application Architecture Guide that is probably worth checking out.

+1


source


With regard to registration. Check out log4net as you mentioned, but you can check ELMAH as well. This is a nice little project.



http://code.google.com/p/elmah/

0


source


Merging database connections

If you are using SQL Server, the database connection pooling will be done automatically. Unless you have extremely fast transaction speeds, this shouldn't be a concern.

Design, coding, testing, etc. can really be answered on two levels.

If you are looking for Agile resources such as ("meta" level), Robert Martin's work is usually considered a reference. It has one name "Agile Principles, Patterns and Practices in C #" which is good if you are a C # developer. I can recommend it, although I will tell you that it is quite a derivative of earlier work, and its C # is not truly world class (see Jon Skeet's book mentioned below). Martin's book is very useful for learning Agile techniques and design patterns, but not for teaching coding techniques.

For most of the perspective of an algorithm in design patterns, I can recommend James Cooper's "C # Design Patterns".

For a deeper perspective on the language itself, see Jon Skeet C # in Depth . This is by far the best cutting edge C # book I own.

Finally, there are a lot of Test-Driven Development related questions here on SO, so make sure you go through!

If you like what you see and decide to use Test Driven development methods, then you will either accept Microsoft's testing library (built into Visual Studio) or you can go for the open source NUnit standard . I use and highly recommend NUnit. The folks at Testdriven.net have created a nice tool that allows you not only to run NUnit tests from within Visual Studio, but also provide a great test-analytic analysis tool! I really like their tools and use them constantly.

Messaging using email and SMTP

Finally, if you do a lot with email as a messaging platform, then you will want to check out the AspNetEmail library. This is by far the best email platform. It not only provides features like automatic processing of ASP.NET Web Forms, mail merge, etc. Etc., but also tech support with guys who know more about SMTP than anyone else I have ever met. Highly recommended!

0


source


welcome to the .Net world. I'm sure you will find .Net great.

  • Design Patterns: Don't go over all of Martin Fowler's articles . Also I agree with Mark: Test Driven Development rock. Perhaps you could find an interesting project with domain management, Eric Evans talks about this topic.
  • Log4net: I use at work and my personal projects. Works like a charm, highly customizable via .config files. Also if you are thinking about using some ORM and thinking in nHibernate you will be using it.

Everything is with me. Welcome again Vijay

0


source


I would recommend that you take a look at Microsoft's site and practices . There are a few libraries out there that help with database access and logging (especially if you're stuck with .Net 2).

0


source







All Articles