Solved

business logic - best practices for web app

Posted on 2014-03-02
4
221 Views
Last Modified: 2014-03-06
Back in 2003 I used to separate code into a BL logic on a namespace like

CompanyName.BuisnessLogic

This code was mostly database calls

I have been out of the software industry for some time and wanted to know if this is still best practice
I read a lot about loosely coupled architecture, and was wondering what other ways there are and what I should be following
Using .net 4.5
0
Comment
Question by:websss
4 Comments
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 39899923
@padas,  Ok, NP.
I was intended to help the asker to go with 3-tier architecture way to build the apps.   I was involved 3 months C# project with 3 tier architecture. So I just posted information about the idea.  Anyway, let me provide more details later when I start post an answer.
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39900048
Loganathan Natarajan, that sounds like a good plan. Thank you.
0
 
LVL 36

Accepted Solution

by:
Miguel Oz earned 500 total points
ID: 39902834
Yes it is still in use today. In fact if you are building a new web application you are better off using ASP.NET MVC as it encourages proper separation of UI, business logic and storage (e.g. SQL database)
For tutorials in MVC check:
http://www.asp.net/mvc/tutorials/mvc-5/introduction/getting-started
http://www.asp.net/mvc/tutorials/mvc-music-store
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question