.NETGURU
ASPFriends.com 'aspngarchitecture' list
Up to: Discussion Lists

  • RSS Syndication
  • Latest Discussions Archive
    Sort Based on Property. (8 replies)
    ASPFriends.com 'aspngarchitecture' list
    Hello, A few days ago someone, Bryan? maybe, posted a slightly modified version of the ECC design pattern called MCC. Well anyways, I want go over the pattern again but basically it had a custom collection of a User Created Class referred to as ObjectCollection. In it he suggested adding a method Sort() that allowed objects to be sorted based on a property. How would this function look (some sampl...
    MS have no managed Application server? (57 replies)
    ASPFriends.com 'aspngarchitecture' list
    Hi guys, I have been wondering for a long time about something very important how can MS offer the .NET Framework for Enterprise developement, when they have no managed application server?! I am sure at this point all of you will start saying how so, there is the EnterpriseServices namespace, and there is the .NET Server coming. However both statements have nothing to do with a MANAGED APP Server,...
    stateless data access layer (12 replies)
    ASPFriends.com 'aspngarchitecture' list
    Hi All. If my data access layer is completely stateless (in the sense each class is nothing but a group of methods where in each method just takes some input paramters and returns the required values via o/p parameters....there are no member fields), does it make sense to mark all the methods as static so that the client doesn't need to create instance for accesssing the methods??? or is it that e...
    Design Question... (3 replies)
    ASPFriends.com 'aspngarchitecture' list
    I'm pretty new to ASP.NET, and a new requirement looks like it may need something slightly different from what I've used up to now. I'd welcome opinions from those more expert in ASP design (which means pretty much anyone, at this stage : ) I've got a C# object created by an ASP.NET page, watching a data feed which periodically provides new data values. These are displayed on the page, and what I'...
    Data Strategy help required (3 replies)
    ASPFriends.com 'aspngarchitecture' list
    Moved from [aspngdatagridrepeaterdatalist] to [aspngarchitecture] by Alex Lowe webmaster@asp grandrapids.net I am still deciding out a data strategy !!! Is it better to use datasets or direct SQL updates ?? I understand if I was implementing a e commerce web site similar to Microsoft's IBUYSPY Store example, I need to use datasets and sessions for the Shopping Cart However, if I wanted to implemen...
    common configuration for several applications (2 replies)
    ASPFriends.com 'aspngarchitecture' list
    Hi, Here is the story. We've got several different database applications interconnected with each other and multiple role based WebIU's for those applications. Database applications and UIs are hosted on multiple SQL and Web servers on our LAN. I am looking for solution to store common configuration settings for this system. Obvious solution is to put a config file somewhere in public place and le...
    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
    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...
    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...
    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...
    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...
    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
    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
    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...
    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...
    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/
    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...
    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
    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...
    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...
    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...
    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...
    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...
    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 ...
    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...
    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...
    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...
    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...
    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...
    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...
    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 ...
    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...
    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.
    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...
    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...
    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'...
    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...
    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...
    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 ...
    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...
    Accessing user controls and classes in another application. (4 replies)
    ASPFriends.com 'aspngarchitecture' list
    SSBhbSB0cnlpbmcgdG8gZmlndXJlIG91dCB0aGUgYmVzdCB3YXkgdG8gYWNjZXNzIGEgc2V0IG9m IHVzZXIgY29udHJvbHMgdGhhdCBzaXQgaW5zaWRlIGFub3RoZXIgYXBwbGljYXRpb24uDQogDQpC b3RoIG9mIHRoZSBhcHBsaWNhdGlvbnMgcnVuIGFzIHJvb3QgYXBwbGljYXRpb25zIGJ1dCBJIGhh dmUgYmVlbiB0cnlpbmcgdG8gZmlndXJlIG91dCBhIHdheSB0byBwZXJoYXBzIG1ha2UgdGhlbSBT dWJ3ZWJzIHRoYXQgZXhlY3V0ZSBhcyByb290IGFwcHPigKYgd291bGQgdGhpcyBhbGxvdyBtZSB0 byB0cmF2ZXJzZSB...
    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...
    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 ...
    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...
    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...
    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...
    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...
    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...
    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...
    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...
    Visit the archive for messages from this site.
  • August 2001 (7 items)
  • September 2001 (5 items)
  • October 2001 (29 items)
  • November 2001 (11 items)
  • December 2001 (21 items)
  • January 2002 (38 items)
  • February 2002 (30 items)
  • March 2002 (37 items)
  • April 2002 (20 items)
  • May 2002 (21 items)
  • June 2002 (23 items)
  • July 2002 (26 items)
  • August 2002 (4 items)
  • June 2004 (1 item)
    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