Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 25th, 2008, 07:46 AM
Authorized User
 
Join Date: Jan 2008
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connected and disconnected architechture in asp.ne

hi there,

   Can anyone help me to know , how and when to use disconnected architecture and connected architecture in asp.net 2005.

Any reply or suggestion is most welcome.

Thank you
Jitesh

Sharepoint Consulting
__________________
Sharepoint Consulting
 
Old February 25th, 2008, 10:56 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

By nature of the HTTP protocol, ASP.NET web applications are always disconnected so you may need to elaborate a little on what you mean by disconnected and connected architectures? Do you mean dis/connected data models?

-Peter
peterlanoie.blog
 
Old February 26th, 2008, 02:16 AM
Authorized User
 
Join Date: Jan 2008
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi Peter,

   Let me Thank you for the reply that you had given. ya.. actually i wanted to know about the data model.which datamodel would be suitable with using least server resources and obtaining quicker result.

Thank you
Jitesh
Programmer


Sharepoint Consulting
 
Old February 26th, 2008, 10:43 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Well... consider this: as I previously stated, the nature of a web application is to be disconnected. So you are inherently using a disconnected data architecture. However, that does not preclude you from using a connected data architecture underneath, you just have to remember that the life of the connection corresponds to the life of the page hit which is very short.

It is generally accepted that "connected" data is faster because of the internal optimizations provided by the data provider. In my web application architectures, I typically get data using data readers. These are forward only and very fast. I populate custom classes with them and consume those classes in the application. I seldom use data tables or data adapters because of the abstraction of data into class models.

One rule of thumb to go by is: get only the data you need when you need it.

-Peter
peterlanoie.blog
 
Old February 27th, 2008, 06:33 AM
Authorized User
 
Join Date: Jan 2008
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

 Thanks once again.so i got the concept.actually i wanted my application to work like ajax but without using ajax.in Ajax when the page is refreshed only the values get changed instead of loading whole page again. do you know how to do such thing.

Any concept or idea is most welcome.

Thank you
Jitesh
Programmer


Sharepoint Consulting
 
Old February 27th, 2008, 09:23 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

If you are using 2.0 you can use the ClientCallBack feature which is similiar to AJAX although it doesn't require you to download the AJAX Framework.

This article describes the process farily well:
http://dotnetjunkies.com/Article/E80...0EECF13D7.dcik

Google has plenty more resources:
http://www.google.com/search?hl=en&r...ient+callbacks

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
 
Old February 27th, 2008, 12:53 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Jitesh,

Do you have a compelling reason NOT to use Ajax?

-Peter
peterlanoie.blog
 
Old February 28th, 2008, 01:47 AM
Authorized User
 
Join Date: Jan 2008
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi dparsons

    Thank you very much for the reply.i was eagerly looking for this one and you gave it correctly.yes i was looking for the client callback feature, i just forgot the word "client callback".your reply had helped me a lot.

Thank you
Jitesh
Programmer




Sharepoint Consulting
 
Old February 28th, 2008, 01:52 AM
Authorized User
 
Join Date: Jan 2008
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi planoie,

          it's just because we have been told to do it without using Ajax,because it was possbile with asp.net. as even , i am not familier using AJAX.

Any replies or suggestion is most welcome.

Thank you
Jitesh
Programmer



Sharepoint Consulting





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to dynamically set windows service C# ,asp.ne vinod_yadav1919 C# 6 April 9th, 2008 01:51 AM
How can evaluate and test a website made by asp.ne mycwcgr ASP.NET 2.0 Professional 0 August 30th, 2007 06:07 PM
put an xml schema in an email content using asp.ne ariyanto ASP.NET 1.0 and 1.1 Basics 0 September 11th, 2006 09:02 AM
Sending message to multiple clients through asp.ne madhavan General .NET 0 January 27th, 2006 07:36 AM
Using ASP.NET Code-Behind Without Visual Studio.NE rupen ASP.NET 1.0 and 1.1 Basics 0 October 12th, 2005 05:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.