Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 08-10-2007, 08:23 AM   #1
Default ASP.Net Project Structure Question


Hi all,

I am developing an ASP.Net 2.0 Web Application. I have used an n-tier project structure. So I have a class library for all my entities in the project. In here I have classes with properties. This classes just are storing the data. No operation is made. Also I have put my custom exceptions classes in this entities project.

Then I have another class library called data. Data references the entities.dll. then I have a business project, which is again a class library. This references to entities.dll and data.dll. This project is doing the necessary business operations.

And last but not least I have a Web Application, which is referencing to all of the projects. I am using localization in my project. Therefore I have resource files in App_GlobalResources and App_LocalResources folders.

The only problem is with my exceptions, which I cannot localize. Every exception is deriving from System.Exception. I have a constant string in my customException class. And in the constructor without parameters, I just pass that string to the base constructor as parameter. So that string is displayed as exception message.

But because the exceptions are in entities.dll and my resource files are in the web application, I cant acces the resources.

So the question is: Which kind of object is an exception? Is it an entity? Maybe a business object? But in either case I can't localize them. The only option is to put them in the web app. But is this logical? I don't know.

So, I just would like to see what other people think about that.
Thanks for help,

Bye...


koraykazgan
koraykazgan is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Physical sythesis tool PALAC is not supported by Formal Verification tool Conf bbiandov Software 0 12-22-2008 05:25 AM
New Project Management Certifications Rob MCITP 3 10-10-2007 05:36 PM
StudentFilmmakers.com Hosts Second Annual PROJECT: FAIR Anti-Piracy PSA Contest and Online Showcase For VSDA Walter Traprock DVD Video 2 02-06-2006 01:49 AM
Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good God DVD Video 3 04-25-2005 04:19 PM
Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good Filthy Mcnasty DVD Video 0 04-25-2005 04:29 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46