ASPFriends.com 'aspngarchitecture' list Archive - March 2002
Messages
Page: 12
DataSet-Class VS DataReader-Class (2 replies)
ASPFriends.com 'aspngarchitecture' list
Can someone tell me in an overloaded environment, should DataReader class be used instead of DataSet class to access the database server?
Connection object stored in Session (5 replies)
ASPFriends.com 'aspngarchitecture' list
Someone I know wants to hold the connection object in session because he feels that creating a new object on each page is not efficient. Eg. (using the PetShop Database.cs component) Database data new Database() ... .. He feels that this is slow, and therefore he is storing the object in session state instead. Can you please provide me with arguments against this architecture? (unless u think its ...
serving pages from the database (9 replies)
ASPFriends.com 'aspngarchitecture' list
I ve read with interest some comments on the ibuyspy list regarding using the Application BeginRequest and the RewritePath method to redirect the server to serve a different page than the one requested. In the ibuyspy context it was to map pretty URL s to the ugly querystring URL s. All the docs aren t very helpful about RewritePath, simple saying Assigns an internal rewrite path. . ; ) I m now wo...
Shared Components (6 replies)
ASPFriends.com 'aspngarchitecture' list
I about to build an application that will almost work like a Windows Service. The application will be a directory watcher that moves output files from one program into a directory. This directory will have a watcher that parses those files into a database. I want to build a web interface for the application that sets the configuration stuff for the watchers and gets reporting data about the status...
Application Structure (13 replies, VIP)
ASPFriends.com 'aspngarchitecture' list
I would like to store some basic information in application objects. Such as codes tables. Ie. State, Country, and local zip codes. Etc... I don't want to populate all the time or at least for each session. And could this method work across web farms? Could someone point me to examples on how this could be done in C#? Thank you, Simple
UserControl Template parameter swapping (8 replies, VIP)
ASPFriends.com 'aspngarchitecture' list
Tribe, Kindly follow along the below disertation... C# site has 20 usercontrols. 5 make up the UI with a hole control in the middle for presentation. 1 control combines the above 5 1 into a collective control. I use this 1 collective as a template. Rather than do the J.Goodyear conversion of all my HTML into: AddStaticText(" html " " head " " title "); Controls.Add( title); I just use this collect...
C# vs C++ (9 replies)
ASPFriends.com 'aspngarchitecture' list
Dear All (especially all Microsoft peeps and list modifiers and anyone who really, really knows what they are talking about) I have a major question && decisions to make, so I need advice. I studied Computing Maths at college and we were tought Ada and Maple and a bit of Borland C . I started to get into computers somewhat and in the summer just before my final year I bought Visual Studio. The goa...
CLR on a chip WAS RE: C# vs C++ (6 replies, VIP)
ASPFriends.com 'aspngarchitecture' list
Sounds cool, but does this mean we have to upgrade our hardware every time MS comes out with a service pack?? :) Original Message From: William (Bill) Vaughn [mailto:billva@nwlink.com] Sent: Monday, March 04, 2002 2:45 PM To: aspngarchitecture Subject: [aspngarchitecture] RE: C# vs C I talked to the Intel guy at the conference. He said there would be no difference in executing machine code vs CLR ...
Building Web Farms (2 replies)
ASPFriends.com 'aspngarchitecture' list
hi, Does anybody point to any resource as to where can I find about constructing a Web Farm in ASP.NET? Please note that I am a novice in this aspect. So, I would like to know the basics, the issues to be taken care of when having a Web Farm, etc. Any help is welcome... Thanks, N.T.GOPALAKRISHNAN
DataSource binding question (17 replies)
ASPFriends.com 'aspngarchitecture' list
Folks, I am trying to write an abstraction class that would be bindable to ASP.NET list controls like DropDownList or DataList. I know, DataReader, DataSet and ArrayList can bind to them. I was looking for a specific interface that would be in common for all of them. I cannot find it. I can bind list controls by passing a reference to IDataReader or IEnumerable interfaces of a data reader, but tho...
Persistence and inheritance (14 replies)
ASPFriends.com 'aspngarchitecture' list
I have an interesting problem that I have been going round in circles to design, and so would appreciate some input I'll simply the requirement to it's bare bones to highlight the problem The overall requirement is to have "pluggable" modules to be available and sold separately, but that co operate. we are already aware that some modules will depend on others presence, etc so inter dependence isn'...
IbuySpy not a good example? (27 replies)
ASPFriends.com 'aspngarchitecture' list
Folks, some people from my company have recently visited Microsoft campus and heard from someone at MS that IBuySpy is not a recommended sample application. One of the reasons that they remember cited was its alleged poor web farm support. I was asked to investigate, and it is the first time I've heard anything like this. In fact, we wrote an app based on IBuySpy portal and it runs in a web farm a...
Dealing with deleted objects (8 replies)
ASPFriends.com 'aspngarchitecture' list
Does anyone have any opinions on how to handle an object once its data has been deleted? For example, if I call Create() then Delete() on an object: Foo myFoo Foo.Create(fooId); myFoo.Delete(); I'd like myFoo to effectively turn into NullFoo, or DeletedFoo, so its properties are empty and immutable, and useless to any client. Does anyone use the State pattern for that? Is there an easier way to (a...
MSMQ for server to server comm (3 replies, VIP)
ASPFriends.com 'aspngarchitecture' list
One computer sends a XML to a remote server that receives this XML. I want to gaurantee delivery so I began experimenting with MSMQ. Computer A sends a XML to the QUEUE. Computer B has to somehow recieve this message and end the transaction. I understand how to do this programatically when the MSMQ is setup on my local system as I am running win2k pro that only allows for private queues. To move t...
dynamic controls and post back doubt (6 replies)
ASPFriends.com 'aspngarchitecture' list
Moved from [aspngstart] to [aspngarchitecture] by Marcie Jones marciejones@yahoo.com Dear all, I have this thing on my mind since the time I started playing around with aspx. If I am painting a page dynamically, so that all the controls are painted depending on the data coming from the database, then everytime I post my page back, I have to repaint all the controls or else nothing is seen on my pa...
Unit Testing database classes? (4 replies)
ASPFriends.com 'aspngarchitecture' list
SSBoZWFyIGEgbG90IGFib3V0IHVuaXQgdGVzdGluZyBhbmQgd2hhdG5vdC4uLiBBbmQgSSB1bmRl cnN0YW5kIGhvdyB0byBtYWtlIHRlc3Rpbmcgcm91dGluZXMgaW4gZ2VuZXJhbC4uLiBidXQgaG93 IGRvZXMgb25lIGNyZWF0ZSByZWxpYWJsZSB0ZXN0ZXJzIGZvciBkYXRhYmFzZSBjb21wb25lbnRz PyBBbnkgdGlwcyBmcm9tIHRob3NlIHdobyBoYXZlIGRvbmUgaXQgYmVmb3JlPw0K
Database Locking (9 replies)
ASPFriends.com 'aspngarchitecture' list
Hey all, We're in the midst of rewriting a classic ASP application that requires very strict locking of the data while in use by a process. In the past, with ADO, we had the ability to set Optimistic and Pessimistic locking on data so that access to data while in use by another user/process would be restricted. My question is, in ADO.Net, what are the strategies that we can employ to mimic the sam...
server control over use? (2 replies)
ASPFriends.com 'aspngarchitecture' list
Generally speaking, does it make sense to use server controls for hyperlinks when those hyperlinks are static/constant? Is this not adding additional overhead on the server? FrameSets are built how using server controls? htmlgeneric?
coding techniques (12 replies)
ASPFriends.com 'aspngarchitecture' list
This is probably something I should already know.. .but don't.... The scenario is I'm writing a networking component that requires around 30 reads and writes to a network stream to succeed. And each read must succeed before I perform the next write, and that write must succeed before I perform the next read.. This question is based around nested if's... is it more efficient to nest the ifs So it l...
Internal Exception was coding techniques (6 replies)
ASPFriends.com 'aspngarchitecture' list
If it is never going to be handled there is no need to throw it, just log your information and move forward. Paul D. Murphy ServiCentral Network Corp. Microsoft MVP, ASP.NET Original Message From: dave wanta [mailto:support@123aspx.com] 20 Sent: Saturday, March 09, 2002 12:39 PM To: aspngarchitecture Subject: [aspngarchitecture] Re: coding techniques that was one option i've explored, except what ...
Object Cloning (26 replies)
ASPFriends.com 'aspngarchitecture' list
Hi everyone, Is there a way to clone an object when that object has not implemented ICloneable interface? Thank you Sri
State management - session vars? (10 replies)
ASPFriends.com 'aspngarchitecture' list
We're considering using ASP.NET session variables for state management in our app. This is based in part on having read this article: State Management Recommendations http://msdn.microsoft.com/library/en us/vbcon/html/vbconChoosingServerStateO ption.asp We have multi step wizards that get info from the user and then run a report, submit a request, etc. The plan is to put the information from each ...
UI Rendering Engine (2 replies)
ASPFriends.com 'aspngarchitecture' list
I am planning to design a Common UI Rendering Engine, The purpose of this engine is to churn out UI dependent code i.e 1. Code for Thick Client ( using Windows.Forms Control ) 2. Code for thin Client ( HTML ) 3. Code for hand held devices In today scenario we build a complete different set of code for thick client and when the need arises for a internet based app we re write the entire UI code and...
Back Button (15 replies)
ASPFriends.com 'aspngarchitecture' list
Folks, it seems to me that I have heard in the past that there was something in ASP.NET to help with Back button problem (when it causes a duplicate submission of a form). I even seem to remember people cheering up on that news, but I may have dreamed it up : ) Anyway, can anyone suggest any good solution to this problem? On my part, I can think of a couple solutions. One is to keep a counter in a...
common assemblies (5 replies, VIP)
ASPFriends.com 'aspngarchitecture' list
Hi, Here is the task. I'm going to have a multiple web sites using the common codebase for business logic and web engine. I want to compile common components into DLLs and put somewhere in public place where all web sites can access them via LAN. I don't want to use web services because of performance hit and I don't want to use GAC because it is for one PC only. Is there any way to implement that...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com