Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 14th, 2009, 10:23 AM
Registered User
 
Join Date: Mar 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default ASP.NET 2008 WITH C#.NET 2008 N-TIER APPLICATION

Dear All;

I'm new in asp.net with c#.net n-tier application.
i have a design like these:

1. application layer
2. business layer
3. data access layer
4. data stored

here is my problem how can we communicate its layer?
can i have the link so that i can solve my problem..

thank you very much..
honorable

Last edited by Honorable; March 16th, 2009 at 02:58 AM.. Reason: add
  #2 (permalink)  
Old March 14th, 2009, 12:03 PM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

Hello..

Sorry, what are you asking? How to comunicate between layers?
__________________
HTH

Gonzalo


================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the
proof.
================================================== =========
  #3 (permalink)  
Old March 14th, 2009, 12:29 PM
Imar's Avatar
Wrox Author
Points: 72,035, Level: 100
Points: 72,035, Level: 100 Points: 72,035, Level: 100 Points: 72,035, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,079
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

You may want to take a look here: http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=476

It's not *the* link, but it's at least "a link" on N-Layer design.


Cheers,

Imar
---------------------------------------------------------------------------------------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
The Following User Says Thank You to Imar For This Useful Post:
jminatel (March 14th, 2009)
  #4 (permalink)  
Old March 14th, 2009, 01:01 PM
jminatel's Avatar
Wrox Staff
Points: 18,895, Level: 59
Points: 18,895, Level: 59 Points: 18,895, Level: 59 Points: 18,895, Level: 59
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,944
Thanks: 72
Thanked 139 Times in 101 Posts
Default

In addition to Imar's excellent article, Wrox has a very nice book all about building an n-Tier ASP.NET solution:
http://www.wrox.com/WileyCDA/WroxTit...764584642.html
__________________
Jim Minatel
Associate Publisher, WROX - A Wiley Brand
Did someone here help you? Click on their post!
  #5 (permalink)  
Old March 14th, 2009, 02:12 PM
Friend of Wrox
Points: 894, Level: 11
Points: 894, Level: 11 Points: 894, Level: 11 Points: 894, Level: 11
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: London, , United Kingdom.
Posts: 166
Thanks: 2
Thanked 33 Times in 33 Posts
Default

As well as these two very useful but shameless plugs, there is the official Microsoft guide to creating n-tier applications. See http://www.codeplex.com/AppArchGuide
It's not exactly light reading, but it's given me a few ideas in the past, and is apparently based on much of the best practice actually used there.
(Of course, I'm sure the Wrox book is far superior, so that should be your first choice )
  #6 (permalink)  
Old May 22nd, 2009, 09:12 AM
Registered User
 
Join Date: Mar 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default n-tier application

Hi, there,

I have a question regarding/ implementing n-tier application
How can i create a layer?

1. is it put in the app_code folder?
or a separate class library.
2 what is the most advantage between
layer in putting app_code or a different class library


thnks
  #7 (permalink)  
Old May 24th, 2009, 07:26 AM
Imar's Avatar
Wrox Author
Points: 72,035, Level: 100
Points: 72,035, Level: 100 Points: 72,035, Level: 100 Points: 72,035, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,079
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

Separate layers don't have to be in separate projects, although they typically are. By putting your code in separate libraries, they become easier to version, update and maintain. However, you could put everything in a single App_Code folder (if using Web Site Projects) or some other folder (when using the Web Application Project model) and still speak of a layered application.

The article series I linked to show how to do both. The 2.0 articles are using App_Code while the 3.5 articles use a separate App_Code folder.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
Honorable (May 30th, 2009)
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL 2008 will not run on Windows 2008? dkrus Book: Professional Microsoft SQL Server 2008 Administration ISBN: 978-0-470-24796-9 1 February 23rd, 2009 12:34 PM
Article: Script Task (.NET) in SQL Server 2008 Integration Services (SSIS) jminatel BOOK: Professional Microsoft SQL Server 2008 Integration Services ISBN: 978-0-470-24795-2 0 February 4th, 2009 12:52 AM
why buy vs-2008 instead of vb-2008 jerryham VB.NET 7 September 2nd, 2008 02:39 PM
keyPress of C#.net 2008 therese C# 0 July 26th, 2008 06:24 AM
Is ASP.NET 3.0 in market ? or Visual .NET 2008 ? myquery C# 3 October 18th, 2007 08:43 AM



All times are GMT -4. The time now is 07:27 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.