ASPFriends.com 'aspngarchitecture' list Archive - June 2002
Messages
Page: 1
Getting Data out of a DataReader (12 replies, VIP)
ASPFriends.com 'aspngarchitecture' list
Hi all, I've just begun seriously re architecting our flagship product under .NET and I've got a basic question that's been bugging me: All the examples I've seen of reading data out of a DataReader do it as follows: String name dr.GetString(0); but everything I've learned until now teaches me that this is a Bad Thing (tm), and it would be much better to do: String name (string) dr["Name"]; since ...
Can my Business service layer be a Web service (2 replies)
ASPFriends.com 'aspngarchitecture' list
hi all, We are developing a product in asp.net, almost 80 % of its functionality and data can be shared accross the other applications.. like jsp, servlets etc. The debate going on is, Can we develop all our business layer as Web Service instead of just components? My question is when i say some function as Webmethod() , and use this class in my asp.net application {without web reference} and acce...
Advice on N-Tier Design (5 replies)
ASPFriends.com 'aspngarchitecture' list
Moved from [aspngcs] to [aspngarchitecture] by Devin devinr@drone interactive.com Hello all, I need some advice. I have a program that I am trying to use an N Tier design for. Would you consider N Tier to be a DB in SQL2000, a Businiss Object Layer, and a UI? Or would you consider it to be SQL2000, a DBLayer, Business Object Layer, and then finally a UI. Second, I would like to use my own classes ...
objects and caching (2 replies)
ASPFriends.com 'aspngarchitecture' list
I have an object stored in session for each user visiting my site. I want to record clickpath info. Instead of writing to the DB every click, I want to write to a Cache copy of a DataTable and dump it to SQL every 5 minutes or so. Should I create an object to represent the DataTable, so I can call its constructor in Application OnStart, or should I just write out the code to define and create the ...
Dynamic Controls and ViewState (3 replies)
ASPFriends.com 'aspngarchitecture' list
Hi all, Having some trouble understanding the documentation here: http://msdn.microsoft.com/library/en us/vbcon/html/vbtskAddingControlsToW ebFormsPageProgrammatically.asp Specifically, the warnings about inserting dynamic controls between existing controls: "If you insert dynamic controls between existing controls, the dynamic control's view state information is inserted into the corresponding lo...
local XML file or trip to SQL DB? (7 replies)
ASPFriends.com 'aspngarchitecture' list
Which is faster: reading and writing to and from a tiny XML file on the web server, or reading and writing to and from the SQL DB on the same box as the web server? The purpose is to simulate IIS Logging, but with some custom items I need. I don't wantto make a trip to the DB every click of every user. I think it would be better to accumulate the strings somewhere faster, and every 15 minutes or s...
What is best technique for dynamically formatted page content (3 replies)
ASPFriends.com 'aspngarchitecture' list
I am looking for advice on how best to create HTML report pages given the new features of .net. Ultimately, I'd like to adapt a more object oriented approach to looping thru rows of data and selectively formatting particular lines of output. I will have several different basic report styles so I want to get established with the best technique. All my trials seem to have problems and I am sure ther...
How can I print at the server (2 replies)
ASPFriends.com 'aspngarchitecture' list
Hello everyone. I was wondering if anyone has some sample code that shows how I can print a document from the printer attached to the web server. I am creating a small app for a local intranet. The application uses the office web components to generate a chart of the data stored in SQL Server. This chart is then displayed on the iPaq (using mobile web forms). I want to add a button to the mobile w...
Master Detail forms (2 replies)
ASPFriends.com 'aspngarchitecture' list
Moved from [aspngstart] to [aspngarchitecture] by Tony Stark IronMan@aspelite.com Hi, What is the best methodology for creating Master Detail forms in ASP.NET??? Requirement is that the form should have a grid like detail portion where you can easily edit the data in the existing detail records in the same page, as well as add any number of detail records as you want to. Problem is that we need to...
ASP Session forwarding (3 replies)
ASPFriends.com 'aspngarchitecture' list
Moved from [aspngcs] to [aspngarchitecture] by Christie Walker christie.walker@risetime.com Hello, Not sure if this one has been discussed before. We are moving our ASP.NET applications to run on a cluster. The problem that we have is that this cluster will also be serving the ASP applications. Several of the ASP applications created by other teams use the session state. This works fine in a non c...
Machine Info (4 replies)
ASPFriends.com 'aspngarchitecture' list
Hi all, I am trying to build a web based machine tracking system, but I am not sure on how to go about it is there any way of find out or scanning a machine for information such as what os its running software on the machine etc etc I was thinking of using the diag class with a small app that runs on the machine and sends info to the server this will all be run on a intranet so eternal people woul...
What data structure/objects to usde (2 replies)
ASPFriends.com 'aspngarchitecture' list
The problem: I have a VB 6.0/ASP app that I'd like to convert to .Net. The app essentially pulls and combines event data from several sources. The resulting data is sortable by time order and can be filtered by date and or time. Currently it uses a database table and SQL to collect, sort and filter the events. When a run is complete, the table is disposed of. The goal: Ideally, I would like to do ...
Object Design Question (11 replies)
ASPFriends.com 'aspngarchitecture' list
I found this on the list archieve./..and the answers to this question really didn't explain why? so im posting it again. Thank you Most of the samples web apps that I've seen posted do not specifically create "entity" objects as one might do in Java. Instead, the C# objects typically contain methods that return the equivalent data as a datareader or resultset of some sort. I.e. the data is frequen...
Accessing user controls and classes in another application. (4 replies)
ASPFriends.com 'aspngarchitecture' list
SSBhbSB0cnlpbmcgdG8gZmlndXJlIG91dCB0aGUgYmVzdCB3YXkgdG8gYWNjZXNzIGEgc2V0IG9m IHVzZXIgY29udHJvbHMgdGhhdCBzaXQgaW5zaWRlIGFub3RoZXIgYXBwbGljYXRpb24uDQogDQpC b3RoIG9mIHRoZSBhcHBsaWNhdGlvbnMgcnVuIGFzIHJvb3QgYXBwbGljYXRpb25zIGJ1dCBJIGhh dmUgYmVlbiB0cnlpbmcgdG8gZmlndXJlIG91dCBhIHdheSB0byBwZXJoYXBzIG1ha2UgdGhlbSBT dWJ3ZWJzIHRoYXQgZXhlY3V0ZSBhcyByb290IGFwcHPigKYgd291bGQgdGhpcyBhbGxvdyBtZSB0 byB0cmF2ZXJzZSB...
Generic Form Control (form generator) (2 replies)
ASPFriends.com 'aspngarchitecture' list
Hi, I am currently evaluating the different possibilities to build a server control to generate complex web forms automatically ... They should more or less have the same functionality just to enable our programmers to use the same functionality within our intranet projects. One Web form should for example look like, or so it looked like with our classic asp form generator form action "" table ali...
Design (3 replies)
ASPFriends.com 'aspngarchitecture' list
About the dataset aproach vs oo aproach. After rewing the opinions here and there, searching in msdn i found what i think, describes best this situation. The "pet shop" example, if you look at the panel discussion in the pdc, the people that made dwamish, nile, fauvorites, etc.. discuss what they did and why. It very interesting to hear the story about "pet shop" it was encomended by microsoft to ...
To WebForm Or Not To WebForm (3 replies)
ASPFriends.com 'aspngarchitecture' list
Dear all, I'm designing a big project by .NET. I use Response.Write() instead of Webform to build all of my UIs. It's well known that Webform has tons of advantages such as Event Handle,Databound and wide browser compatibility while I just can't make it fit my system architecture. In other words, I like the freedom of spit out HTML code by myself and gain 100% control of the Form Submit. My system...
Using Windows domain accounts along with database defined roles (4 replies)
ASPFriends.com 'aspngarchitecture' list
Anyone have some concise sample code that integrates Windows domain accounts security along with roles/groups contained/defined within a database or possibly Enterprise Services? (formerly known as COM Services) What I'm looking to do is utilize existing Intranet accounts while applying a custom user group structure (as developers don't often have the ability to have the IS department define domai...
Why web.config for Connection strings? (5 replies)
ASPFriends.com 'aspngarchitecture' list
Moved from [aspngconfig] to [aspngarchitecture] by Yannick Smits dotnet@stepcompany.com I am just curious as to why the web.config seems to be the place of choice for connection strings? It is one of the few files in the application that is not compiled and thus not as secure (right?). Am I missing something? What is better about putting your connection string there rather than in a component? It'...
How to make my website wake up at some time each day (2 replies)
ASPFriends.com 'aspngarchitecture' list
What is the easiest way for me to construct a timer driven task in my web site. Rather than serve up pages based on user's requests, I want to wait on a timer expiration (e.g. say daily at 0930) and then have some code do a database query and ultimately send some email content to some recipients determined by the query. I'd like to avoid a Windows service for this if possible and just have an "eve...
Circular References (13 replies)
ASPFriends.com 'aspngarchitecture' list
Does anyone know if the GC takes care of cleaning up objects that have circular references to eachother if those are the only references beng held. I have a typical object hierarchy structure, and the 1 to 1 child objects as well as the 1 to many child collection objects along with the objects in those collections need a reference to their parent so they can subscribe to eachothers events, etc I w...
exception types (4 replies)
ASPFriends.com 'aspngarchitecture' list
Can anyone tell me all the different types of exceptions that can be caught in .Net? Basically I am looking for all the exception classes which derive from the exception base class. I would greatly appreciate any kind of help. Thanks, SG.
Which way to build control? (2 replies)
ASPFriends.com 'aspngarchitecture' list
Moved from [aspngcontrolscs] to [aspngarchitecture] by Tony Stark IronMan@aspelite.com I'm sure that I want to create a server control, however, I'm not sure if I need a composite control or to inherit and extend and existing control. I want to create an enhanced textbox control that always creates a custom validator control along with it. The validator would provide various validation functionali...
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification