Showing posts with label written. Show all posts
Showing posts with label written. Show all posts

Saturday, March 31, 2012

Separate Project DLLs

Dear Group
Apologies for this simple question. Would be grateful if you share your
opinion on this.
I've written a web application, compiling all classes into one project
DLL. Now I wonder if there are performance / resource advantages if I
compile some classes into separate DLLs and reference them instead. Any
articles, information on this? Advantages, Divantages? Will it slow
down the application if it has to reference a DLL?
Thanks very much for your help & efforts!
MartinPerformance isn't a factor...Divantage? You have 2+ dlls floating around
which might make it harder to maintain (assuming you are shipping a product,
which you likely aren't). Advantages? Better organization, reuse, less
bloat...
There's really no reason not to...but you shouldn't just do it for the sake
of it...hopefully there's some reasoning behind why they don't belong
together...
Karl
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
<theintrepidfox@.hotmail.com> wrote in message
news:1112238300.593113.237330@.f14g2000cwb.googlegroups.com...
> Dear Group
> Apologies for this simple question. Would be grateful if you share your
> opinion on this.
> I've written a web application, compiling all classes into one project
> DLL. Now I wonder if there are performance / resource advantages if I
> compile some classes into separate DLLs and reference them instead. Any
> articles, information on this? Advantages, Divantages? Will it slow
> down the application if it has to reference a DLL?
> Thanks very much for your help & efforts!
> Martin
>
It is not a matter of performance. It is a matter of your system design. For
example, if you organize your application in presentation, business and data
access layers, you might have all forms in one project, business classes in
another project and data access classes in another project. 3 projects, 3
dlls.
Eliyahu
<theintrepidfox@.hotmail.com> wrote in message
news:1112238300.593113.237330@.f14g2000cwb.googlegroups.com...
> Dear Group
> Apologies for this simple question. Would be grateful if you share your
> opinion on this.
> I've written a web application, compiling all classes into one project
> DLL. Now I wonder if there are performance / resource advantages if I
> compile some classes into separate DLLs and reference them instead. Any
> articles, information on this? Advantages, Divantages? Will it slow
> down the application if it has to reference a DLL?
> Thanks very much for your help & efforts!
> Martin
>

Separate Project DLLs

Dear Group

Apologies for this simple question. Would be grateful if you share your
opinion on this.

I've written a web application, compiling all classes into one project
DLL. Now I wonder if there are performance / resource advantages if I
compile some classes into separate DLLs and reference them instead. Any
articles, information on this? Advantages, Disadvantages? Will it slow
down the application if it has to reference a DLL?

Thanks very much for your help & efforts!

MartinPerformance isn't a factor...Disadvantage? You have 2+ dlls floating around
which might make it harder to maintain (assuming you are shipping a product,
which you likely aren't). Advantages? Better organization, reuse, less
bloat...

There's really no reason not to...but you shouldn't just do it for the sake
of it...hopefully there's some reasoning behind why they don't belong
together...

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)

<theintrepidfox@.hotmail.com> wrote in message
news:1112238300.593113.237330@.f14g2000cwb.googlegr oups.com...
> Dear Group
> Apologies for this simple question. Would be grateful if you share your
> opinion on this.
> I've written a web application, compiling all classes into one project
> DLL. Now I wonder if there are performance / resource advantages if I
> compile some classes into separate DLLs and reference them instead. Any
> articles, information on this? Advantages, Disadvantages? Will it slow
> down the application if it has to reference a DLL?
> Thanks very much for your help & efforts!
> Martin
It is not a matter of performance. It is a matter of your system design. For
example, if you organize your application in presentation, business and data
access layers, you might have all forms in one project, business classes in
another project and data access classes in another project. 3 projects, 3
dlls.

Eliyahu

<theintrepidfox@.hotmail.com> wrote in message
news:1112238300.593113.237330@.f14g2000cwb.googlegr oups.com...
> Dear Group
> Apologies for this simple question. Would be grateful if you share your
> opinion on this.
> I've written a web application, compiling all classes into one project
> DLL. Now I wonder if there are performance / resource advantages if I
> compile some classes into separate DLLs and reference them instead. Any
> articles, information on this? Advantages, Disadvantages? Will it slow
> down the application if it has to reference a DLL?
> Thanks very much for your help & efforts!
> Martin

Tuesday, March 13, 2012

Server Application Unavailable

Hi all!
I have a ASP.NET application written in C#.
I connect this app with a 4th Dimension database via ODBC.
My problem is that when i try to fill a dataset and the query dont return
any data, I get an "Server Application Unavailable"-error.
Is there a way to catch this error? Ive tried with try/catch,
application_error in global.asax and CustomErrors="On"
defaultRedirect="errorpage.aspx" but none of those can handle this error.
Does anyone knows something about this?
/MarreHi Marre,
Do you have access to the event log on this machine? That error usually
writes useful information to the event log.
"MA" <news@..removethis.supremelink.se> wrote in message
news:36edkkF4vg6l3U1@.individual.net...
> Hi all!
> I have a ASP.NET application written in C#.
> I connect this app with a 4th Dimension database via ODBC.
> My problem is that when i try to fill a dataset and the query dont return
> any data, I get an "Server Application Unavailable"-error.
>
> Is there a way to catch this error? Ive tried with try/catch,
> application_error in global.asax and CustomErrors="On"
> defaultRedirect="errorpage.aspx" but none of those can handle this error.
> Does anyone knows something about this?
> /Marre
>