| Bit of an inheritance quandary (2 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| Have the following base classes: RandomWeighted Methods: Overrided Render Variables: intLimit Properties: Limit WeightedItem Variables intWeight Properties Weight I want to inherit from both for one class. What's the standard practice now that multiple inheritances aren't allowed? I can't think of an easy way to do this without it being very messy and wasteful. These two base classes are inherited... |
|
| best way to create two similar classes? (3 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| I have an ASP web app where I classify users into two categories: person visitor or person member. A person visitor is any old user clicking around on the site, tracked via a GUID in the querystring (now to be tracked via the very handy "cookieless session id" that .NET embeds in the querystring I love that!). A person visitor can do a defined set of functions, so I want to build a class to encaps... |
|
| question about architecting a DataAccess class... (2 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| In building a Data Access class, would it be better practice, in general, to allow the developer full control over the Connection object, and to force them to explicitly Open(), Close(), and Dispose() it, OR should the construction/destruction of the Connection object be managed internally by the class itself, and out of the reach of the developer? I noted in Microsoft's Data Access Application Bl... |
|
| So am I the inventor of the "Tree of Responsibility" pattern? (4 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| a few days ago i posted a message about my solution to a problem, asking if anybody else had seen that pattern anywhere else... didn't get a response... so can I assume I am the inventor and acrue fame and fortune from it? |
|
| Connected Object state (2 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| Moved from [aspngdata] to [aspngarchitecture] by Charles M. Carroll darthcarroll@asplists.com Hi guys, Does anybody knows a way to keep objects connected in web application in .Net other than session or serialization ??? Nik Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ |
|
| Patterns (3 replies, VIP) |
| ASPFriends.com 'aspngarchitecture' list |
| I also have never used patterns, at least not by name, but I had a quick look at this Singleton definition at http://www.clipcode.com/components/singleton designpattern.cs.txt I'm intrigued to know why it is better to go to such lengths as providing an Instance methods when by declaring a class as Shared (VB.NET) or Static (C#) you have the same effect (I think). I've used this method a lot, and c... |
|
| DAL of Sorts on MSDN (5 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| Hello, Has anyone read about the Data Access Application Block for .NET on MSDN? http://www.msdn.microsoft.com/library/default.asp?url /library/en us/dnbda/h tml/daab rm.asp?frame true On the MSDN home page the article is dated January 9, but on the main article page, it say November 2001, so this could have been discussed eariler. Summary: The Data Access Application Block encapsulates performanc... |
|
| my SqlService ADO.NET class...any more suggestions? (2 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| I have significantly revised my ADO.NET SqlService class to support Dispose() for safer memory management, I removed the ability to Run inline SQL (to reduce the lines of code) since I only used stored procs, I modularized the loop of code to create the Command Object and Parameters, and I made the SqlConnection object available for user control of Close() and Dispose(). Please, if you have a minu... |
|
| Universal Data Access Components? (6 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| Moved from [aspngdata] to [aspngarchitecture] by Charles M. Carroll darthcarroll@asplists.com Most examples I see don't use a seperate Data Access Layer, and even on sites like IBuySpy (as far as I saw) there's no real Universal Data Access Component where you just pass the object a connection string, type to return (dataset or datareader), type of provider to use, etc... and all the work is done ... |
|
| Transactional Support Question (6 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| I have written an application that includes automated transaction support. Everything seems to be working fine. My database transactions are completed when they are supposed to be, and rolled back when aborted. I did all of this prior to reading the chapter in Professional ASP.NET that discusses this topic. In there, it talks about "Serviced Components" and registering my C# components with COM Se... |
|
| Uses for inheriting from Page? (17 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| I'm sure many of you use a derived Page class in your apps. My first question is... What services are yall creating and finding useful in your derived Page? My second is mostly just a "what do you think" thing. I was thinking of creating a service in my Page class which automattically persists querystring values on an intial request, and provides access to them across postbacks. The purpose would ... |
|
| RRe: Universal Data Access Components? (9 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| I too have begged, borrowed & stolen code from F&M, MSDN, etc for my DAL component, I have a nice HTMLHelp file (DOC.Net) along with the src code if anyone wants a look. Here's a breakdown of the properties and methods. It is contstantly evolving and I will (oneday) consolidate the methods and clean it up a little. Public Instance Properties Connection Open a connection to the datasource and retur... |
|
| Alternative to LoadControl or DataBinding? (2 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| I want to dynamically add server controls to pages and I am looking for an alternative to loadcontrol or databinding b/c I am finding that they both have limitations (functional and stylistic). Is the only way to dynamically at server/user/html/web controls by using loadcontrol or databinding with a template? With classic html form controls one could and still can simply loop through and add them ... |
|
| Some ECC coding lessons - part 2 of 2 (5 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| Here's the code snippet for the previous message I sent. Now before you freak out at how much code I've pasted, let me tell you what it is and why I've included all of it. This is basically the top portion of my Engine class together with a supporting ICollection derived class that all my Collection objects inherit from (Paul Murphy has posted similar Collection code in the past; in fact I think I... |
|
| Implementing Undo/Redo on a website? (8 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| anybody got any insights on a good method to implement a generic undo/redo ability for web applications? Of course, as soon as you start tracking per user commands, that scalability is going to go down the tubes... however, i'm going to restrict the reqs by saying that it's a low volume application that could be a windows app just as easily, except the users want it in their browser. My first thou... |
|
| Beck & Cooper (22 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| This seems the most appropriate group to post this to. It is a head to head between Kent Beck (he of eXtreme Programming) and Alan Cooper (Interaction Design, plus the books About Face, and The Inmates are Running the Asylum). http://www.fawcette.com/interviews/beck cooper/ Ollie ollie@cornes.org .NET Books http://www.cornes.org/books/ |
|
| Open source CMS written in .NET? (9 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| Is anyone working on an open source web content management system (CMS) based on .NET? There's a number of them available for PHP in the unix world, and .NET would make a much better platform for a flexible object based CMS system with pluggable modules. IBuySpy is a good start for ideas, but IMHO is too rigid, lacks WYSIWYG editing, clean URLs, advanced templates, and has a framework that seems b... |
|
| XML Application Design Issues (2 replies, VIP) |
| ASPFriends.com 'aspngarchitecture' list |
| Hi, My question is when would I use xml? It may sound ridiculous but when I have A database why use it!!. If there is any literature related to this I would appreciate the whereabouts. Dean |
|
| "Template" aspx (5 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| Moved from [aspngstart] to [aspngarchitecture] by Charles M. Carroll darthcarroll@asplists.com Is it possible to create a "template" aspx page? I have particular elements and code I attach to all of my pages and would like to inherit that info instead of having to add these elements and code to every page by hand. Or is there a way to edit the WebForm template? Sean ************************* Sean ... |
|
| 3 tier architecture (5 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| Moved from [aspngfreeforall] to [aspngarchitecture] by Charles M. Carroll darthcarroll@asplists.com Hi All, I work in a company which use mainly Java technology. Front end JSP Middle tier Web Logic / EJBs Database Oracle 8i I wanted to present to the management that we could do 3 tier development using ASP.NET. But I have a confusion about the middle tier layer in using ASP.NET. What will be the m... |
|
| DNA-style architecture guidlines (2 replies, VIP) |
| ASPFriends.com 'aspngarchitecture' list |
| I'm looking to develop an application that somewhat resembles a traditional DNA style application. I want to have a SQL Server backend, database access layer, business logic layer, and finally a web service as a presentation tier. Are there any good .NET Specific DNA guidelines on the web? Additionally I have questions about the role of COM in the various tiers. Would it be a bad idea or a good id... |
|
| Calendar app w/display (4 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| Hi! Does anyone know of a good ASP.NET app which uses the .NET calendar server control, and then also displays content (perhaps in a sub window) to sow what's on that day? Thanks! Jas |
|
| Relational Object Mapping (4 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| Any suggestion on how to do it best? Have heard that there will be a tool from MS to do it? Tia Stefan Outgoing mail is certified Virus Free. Checked by AVG anti virus system (http://www.grisoft.com). Version: 6.0.314 / Virus Database: 175 Release Date: 11/01/2002 |
|
| design question (10 replies) |
| ASPFriends.com 'aspngarchitecture' list |
| Hello, I'm trying to rewrite a data entry application in ASP.NET. Until now we have developed this application in classic ASP. This application offers a lot of pages (4 20) with a lot of formfields (10 50) in each page. It's absolutly necessary to navigate between all pages at every time from every page to every page. That means if you leave a page for moving to another page the data which are in ... |
|
| Suggestion Wanted (5 replies, VIP) |
| ASPFriends.com 'aspngarchitecture' list |
| Moved from [aspngcommunity] to [aspngarchitecture] by Charles M. Carroll charlesmarkcarroll@yahoo.com This is a multi part message in MIME format. NextPart 000 009F 01C1A42A.1B32F2B0 Content Type: text/plain; charset "iso 8859 1" Content Transfer Encoding: quoted printable Hi im designing a web site using asp.net/c# i just would like to gather some tips and suggestions from you guys before actuall... |
|