ASPFriends.com 'aspngarchitecture' list Archive - July 2002
Messages
Page: 12
Need opinion on a design... (3 replies)
ASPFriends.com 'aspngarchitecture' list
I hope this is the best group for this, if it is not, please let me know if there are any others. I'm working on a new work order system for my company. I'm basically converting most of our on line system that is currently done in Cold Fusion and the rest from a Lotus Notes system (I would like to kill this one as quickly as possible). I'm starting the foundation level of the system and wondering ...
Method of passing data between logical tiers : DataSet vs DataReader (2 replies)
ASPFriends.com 'aspngarchitecture' list
Hi I've just finished reading Wrox relatively new book, ASP.NET Problem Design Solution, and had some question on architecture decision made by the authors. They used DataSet to pass data around the Data Access Tier, which are just code to run stored procs and get values etc, and business logic which are code that wraps those data access tier classes. I was thinking though, it is very unlikely tha...
Is this good object design? (57 replies)
ASPFriends.com 'aspngarchitecture' list
Currently, I usually make 2 objects for 1 entity.. 1st object is the object that represents a single entity so in case of a prog with users, there is a object called USER and contains methods like Update and properties of user information and 2nd object is called USERS which is the collection of USER objects that implement IEnumerator and IEnumerable. and it also contains methods like Create() and...
OOP Design Question (6 replies)
ASPFriends.com 'aspngarchitecture' list
I've got what must be a classic object design issue that has been solved many times. I'm building a time tracking system. To simplify a bit there are Projects and Resources that work on the projects. A Project has Resources assigned to it, therefore the Project object has a Resources property implemented as a collection of Resource objects. A Resource has Projects assigned to them. Therefore the R...
Custom Collection Question (2 replies)
ASPFriends.com 'aspngarchitecture' list
I have a simple Person class that exposes FirstName, LastName, EmailAddress, and ID properties. Now I want to build a custom People collection class. I have read Chapter 15 in the Wrox Professional ASP.NET book which talks a lot about working with collections and lists. So it would seem that I would want to hold the list of Person objects in the People class using some class that implements IEnume...
MCC Design Pattern (6 replies)
ASPFriends.com 'aspngarchitecture' list
All, Some time ago, in the neighborhood of 8 months ago captured a pattern that is similar to the ECC pattern but a lot simpler and more .NET friendly while being every bit as robust. The pattern had a great reception and in fact was very familiar to a lot of people, hence it being a pattern, and I got a lot of good feedback on completing the pattern. However, I never got around to finishing it up...
documentation of 250 webforms (2 replies)
ASPFriends.com 'aspngarchitecture' list
Hey, I am in the process of defining the content of 250 forms. We have to write down on paper whats the purpose of the form,controls and their names. Also we have to add the buttons functionality to the documentation. There must be a better way! I am thinking about doing the forms in C# and then extract the information afterwards! Am I missing something here or is there a better tool than C# to ac...
localazing strings (2 replies)
ASPFriends.com 'aspngarchitecture' list
for my (old) ASP apps where string localization was required I implement a string localization schema using COM components , SQL Server database, since all of them were Intranet apps with small number of users I was happy with the performance.... but now ASP.NET comes with a lot of new features for localazing apps i was rethinking my approach to localization of strings... I would like to hear any ...
Business Object design for WebForm and WinForm... (8 replies)
ASPFriends.com 'aspngarchitecture' list
I've got business objects (custom objects, collections of objects, hierarchies, etc) that I want to use for both web apps and windows apps. They use a helper object that takes care of talking to the sql server database (sets up parameter lists, builds commands, etc). This helper object (SqlPersist) is instanciated by the Update method at the top of the object tree it will contain the open SqlConne...
Multi-threading issues with Application scoped objects (3 replies)
ASPFriends.com 'aspngarchitecture' list
I want to scope an object to the application but am concerned about possible multi threading issues, here's the scenario: 1. I have an object Functions (type FunctionCollection), that is a custom collection of Function objects available in the application (the security role, the url, the link button image, etc). 2. I want to load up Functions when the App starts and keep it in memory for the durat...
QN: Global functions? (11 replies, VIP)
ASPFriends.com 'aspngarchitecture' list
Moved from [aspngfreeforall] to [aspngarchitecture] by Marcie Jones marciejones@yahoo.com What is the best way in ASP.NET of handling functions which one previously put into include files and had available globally? I am thinking of custom code which performs simple functions which are often needed and which is not suitable for a class since a single function is more than adequate. Should one crea...
ECC design pattern class (8 replies)
ASPFriends.com 'aspngarchitecture' list
The following is a skeleton of an ECC design for the Person, PersonCollection, and PersonEngine objects in my community site. Does this skeleton look OK? FS using System; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; using pr2002.DataAccess; namespace pr2002.DataDesign { public interface IBusinessObject : IDisposable { } class Person : IBusinessObject { public void Di...
Custom Collections (11 replies)
ASPFriends.com 'aspngarchitecture' list
Hello Everyone, I wanted to ask everyone a quick question about how do you go about creating a custom collection, say, UserCollection. Do you create a child class, UserCollection that inherits from a class, perhaps ArrayList OR do you create a class, UserCollection that implements the needed interfaces. (i.e. UserCollection: IEnumerable, IList). I started out doing the latter of the two and implem...
try catch (11 replies)
ASPFriends.com 'aspngarchitecture' list
I was wondering why the catch part is compulsory when doing a try like in: try { do something; } catch {} I usually end up leaving the catch part blank (like above) witch doesn't look right. Yannick Smits
New Intranet Web Site: Content Mgmt, Security, Navigation/Design (2 replies)
ASPFriends.com 'aspngarchitecture' list
Hi all, We are looking to redesign our Company Intranet which is currently written Using ASP/ VB Com / Sql2K. Some of our main design issues are: 1. Content Management: Authoring / Publishing by various Depts. 2. An attractive and functional Web Site design with flexible navigation. 3. Security integrated with Active Directory with WAN users and alternate method for Web Users who are required to l...
MSDN .net Architecture Site - New I think (2 replies)
ASPFriends.com 'aspngarchitecture' list
New Section in MSDN on .net Architecture... http://msdn.microsoft.com/architecture/
Best Practices (2 replies)
ASPFriends.com 'aspngarchitecture' list
Hello All, Here is a best policies question. I have a website where users will be able to upload images. The files are all checked at time of upload to insure that they are all less than 50k in size. I could potentially have several hundred thousand images. (Perhaps a few million.) At some point I may upgrade to a server farm if user load calls for it. My question is: Is it better to store the ima...
HttpContext question (4 replies)
ASPFriends.com 'aspngarchitecture' list
Hi there. I'm creating a common DLL for my web app that handles a particular type of authentication request. If a user fails to have certain credentials for a given page, I want to redirect them to the no access page. I recognize that there are other ways to authenticate users with ASP.Net, but I'm rolling the ASP.Net stuff for this project into an existing framework that already has other scripti...
Jacobson? (3 replies, VIP)
ASPFriends.com 'aspngarchitecture' list
Hi Rick, Damon, and all Earlier in a global functions thread a book written by Jacobson was mentioned. What is the title of this book? Thanks, Daniel Wilson
Creating Dynamic Menus (5 replies)
ASPFriends.com 'aspngarchitecture' list
Dear All, I need your help to find out the best way to create the run time menus. I'm caught up in a situation where I need to create different menus at runtime for every different user at the time he logs in the application. I know the number of possible menus that is available. How do I manipulate them? Looking forward for your co operation. Thanks in advance for your time. Warm Regards, Priyank
Architecture book topics (4 replies)
ASPFriends.com 'aspngarchitecture' list
Hello everyone, I am in the process of writing a book (aimed at .NET architects) entitled '.NET scalability' (or something similiar, not sure on exact title) and would greatly appreciate opinions or ideas on two topics. We have discussed including a brief description of nant, a port of the popular ant tool for java development, and nunit, the port of java's junit unit testing framework. Do you thi...
is this a good abstract base class design? (4 replies)
ASPFriends.com 'aspngarchitecture' list
I am trying to follow the Engine Collection Class design pattern in building some abstract base classes for my business objects to inherit from. I was going to use interfaces, but decided abstract classes were more appropriate for my circumstances. Please glance at this code if you have a minute, it's just skeleton code with no meaningful methods defined yet. I am just trying to see if I am headin...
Localizing ASP.NET string resources (12 replies, VIP)
ASPFriends.com 'aspngarchitecture' list
Hi all, I am creating a portal in ASP.NET that should bear the multi language. For the simple content as the new ones, I think the solution is comparatively simple. But for the web forms, Microsoft counsels us to use the resource files. But until now, I didn't succeed to make it work in VS.NET with web forms, but it works with WinForms. Would someone have an idea on the better manner to manage tha...
Architecture for Credit Card Storage... (3 replies)
ASPFriends.com 'aspngarchitecture' list
Here's a break from all the OOP architecture that's been going around.... I'm looking for the experience of others in terms of persistent storage of Credit Card info. Obviously, all online transactions are taking place between the site and the Credit Card Processor through SSL. The question is once saved to the database how have you secured it. My thoughts: Symmetric encryption (AES, DES, RC4, etc...
NUnit (2 replies)
ASPFriends.com 'aspngarchitecture' list
Has anyone out there sucessfully used NUnit to build test cases. If so can you post sample(s) to be referenced. I am having a hard time figuring out real world usage on the test cases. Thanks Rich
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