Search

You searched for the word(s): userid:482

Matching Posts

  • Re: Business Entities in the DAL

    JohanNL's answer is a good one that is largely accepted by developers. However, personally I've always been afraid of going with a BOL/BLL split because I've got a sneaking suspicion that it could lead to anemic business objects since the BOL can't reference the BLL. I could be way off on that hunch as I've never gone the BLL/BOL route long enough to find out. To get around having to have a third layer (in this case the BOL), I've typically let my DAL reference the BLL, but
    Posted to Architecture (Forum) by dauger on 6/9/2008
  • Re: Multiple Return values

    [quote user="srulyt"] public string , string , string GetResults() { return "Bill" , "Tom" , "John" ; }[/quote] That could come in handy in a pinch, but the real downside of that syntax is that the developer who calls the method has to have a high degree of understanding of the internal workings of the method (example: they need to know the order of the return variables). For this reason, I think returning an object, or using out params are better choices because
    Posted to C# (Forum) by dauger on 4/29/2008
  • Re: A simple C# Question

    Readonly is definitely the way to go because of the reasons Svante lists. There are very few cases where const should be used when something is publicly visible. FYI: For anyone out there who didn't know this truth about const vs readonly, I recommend the book Effective C# by Bill Wagner. It lists this and other gotchas every C# coder should know.
    Posted to C# (Forum) by dauger on 4/28/2008
  • Re: Trouble Exporting Huge Reports Via Webservices and/or Viewer - The underlying connection was closed: An unexpected error occurred on a receive.

    [quote user="akjoshi"] Thanks for the details Corwin, but I am still not sure whether 25000/50000 page reports will be generated successfully or not; as this technique will reduce the time needed for querying the data but not the time RS takes to build the report. [/quote] If it helps: In my situation the actual query takes less than 5 minutes. It's the export to PDF or CSV that was initially killing the server. The export was not possible on a 32 Enterprise 2003 server even with the
    Posted to SQL Server Reporting Services (Forum) by dauger on 3/18/2008
  • Re: Trouble Exporting Huge Reports Via Webservices and/or Viewer - The underlying connection was closed: An unexpected error occurred on a receive.

    I found this post that discusses this error occurring from a web service call: http://www.eggheadcafe.com/software/aspnet/31509957/an-existing-connection-wa.aspx It would seem that enabling chunking to the client could solve the problem, However, the SSRS client api effectively hides the web service call to the report server, so I cannot set the request's sendchunked property to true. Does anyone know a way around this?
    Posted to SQL Server Reporting Services (Forum) by dauger on 3/17/2008
  • Trouble Exporting Huge Reports Via Webservices and/or Viewer - The underlying connection was closed: An unexpected error occurred on a receive.

    First off I understand that it is a horrible idea to run extremely large/long running reports, but sometimes it ends up being the best possible solution due to external forces. I've got a 25,000 page report that we recently converted from crystal reports to SSRS. The SSRS server is a 64bit 2003 server with 32 gigs of ram running SSRS 2005. When running the report through the report manager application, it renders in the browser/viewer after about 12 minutes. Exporting to pdf through the browser
    Posted to SQL Server Reporting Services (Forum) by dauger on 3/12/2008
  • Re: "Datasets aren't OO"?!

    whenpigsfly, I am not sure I am reading your original post correctly, but you are wondering if you can consider wrapping a dataset in a business entity/object to be OO? That does seem a little unorthodox, but I'd still consider that to be true encapsulation. Typically if people want to return datasets out of the db, they still manually map/translate that dataset to a business object so they can drop the dataset and its overhead. However, if you did want to keep the dataset hidden/wrapped internally
    Posted to Architecture (Forum) by dauger on 2/26/2008
  • Re: I need a Real Time example for Interface.....

    This thread might help: http://forums.asp.net/p/954179/1171066.aspx#1171066
    Posted to C# (Forum) by dauger on 12/14/2007
  • Long Running Thread Broke in Conversion to 2.0

    We have a large web application that runs scheduled reports in a background thread. The basic process/architecture is: an exe executes at a scheduled interval. The exe simply calls a webservice in our asp.net application. This web service in turn kicks off an asynchronous thread that processes up to 500-600 crystal reports one at a time in the same thread. This process is usually run at night when there are not any users on the system. This thread typically runs for 1-3 hours. Since we have converted
  • Re: Polymorphism and Static Methods

    Marco Mendonça: Hi, That's what i was trying to avoid. I was hoping that some kind of "polymorphism alike" issue would solve something like this... In C# and in most other typed languages, things can only be cast implicitly up the inheritance chain. A ddl control can be implicitly converted to a Control object, but not the other way around. Initially it does seem odd to the programmer since we know that GetType will tell you an objects true type, but that sort of automatic downcasting just isn't
    Posted to Architecture (Forum) by dauger on 5/3/2007
Page 1 of 12 (112 items) 1 2 3 4 5 Next > ... Last »