Search

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

Matching Posts

  • Re: Circular Dependecy

    The simplest way is to put them in the same class library. I normally separate my class libraries according to which layer of the solution architecture they represent so in my case Product and Category would be in the same class library anyway. Other than that the only other thing I can think of is to create another class library containing an IProduct and an ICategory interface and have both other class libraries reference the interface class library. You would need to declare all types of Product
    Posted to C# (Forum) by Mercury082 on 9/24/2009
  • Re: Object reference not set to an instance of an object error

    Can you post the HideForm() and BindData() methods please?
    Posted to Web Forms (Forum) by Mercury082 on 9/23/2009
  • Re: T-SQL If-Else Basic Structure - How To?

    http://doc.ddart.net/mssql/sql70/ia-iz_4.htm Syntax IF Boolean_expression { sql_statement | statement_block } [ELSE { sql_statement | statement_block }] Arguments Boolean_expression Is an expression that returns TRUE or FALSE. If the Boolean expression contains a SELECT statement, the SELECT statement must be enclosed in parentheses. { sql_statement | statement_block } Is any Transact-SQL statement or statement grouping as defined with a statement block. Unless a statement block is used, the IF or
  • Re: Object reference not set to an instance of an object error

    One of the objects you are attempting to dereference somewhere in the try block is null. A quick and easy way to find the problem will be to set a breakpoint inside the catch block and inspect the Exception.StackTrace to find where the exception is thrown and narrow down the search for the null reference from there. Having a quick browse over your code, the HideForm() and BindData() stand out to me because a) the rest of the posted code doesn't seem to have any places where an object is deferenced
    Posted to Web Forms (Forum) by Mercury082 on 9/22/2009
  • Re: ListView Hide if Null

    Ok, It's been a while since I've done much ASP.Net development so you might have to double check the syntax here but I think you should be able to do something like this: [quote user="x2voyager"] <asp:ListView ID="lvFoo" runat="server" DataKeyNames="ID" DataSourceID="sdsFoo" GroupItemCount="3"> <EmptyItemTemplate> <td runat="server" /> </EmptyItemTemplate> <ItemTemplate> <td runat="server"
    Posted to Data Presentation Controls (Forum) by Mercury082 on 9/22/2009
  • Re: Help with DAL / BLL Question

    I use a thin security layer ontop of the BLL. It implements the same interface as the corresponding BLL component (eg ICompanyService) and calls the corresponding BLL component but also performs all necessary security checks and returns different sets of data based on user roles and custom security rules. I put both components into a service container - with the security component being the default one for the interface type (ICompanyService). This way when I get ICompanyService out of the service
    Posted to Architecture (Forum) by Mercury082 on 2/11/2008
  • Re: Performance

    It would make sense to remove references to assemblies not used by your project to increase performance but as the previous poster pointed out, removing unneccessary Using statements won't help performance. It does help keep your code tidy though, so I would do it anyway.
    Posted to Architecture (Forum) by Mercury082 on 2/10/2008
  • Re: Path to an Architect

    I am doing the same thing as you czuvich. I have decided that a combination of certification, degrees and experience will give me the best possible foundation and the most opportunity. In the past it's been proven to me in more than one situation that experience is worth more than formal qualifications however there are also alot of cases where a company won't even consider you if you dont have X certification or Y degree. So the path I have chosen is to continue working full time, getting
    Posted to Architecture (Forum) by Mercury082 on 2/7/2008
  • Re: Architect responsibilities

    http://eagroup.blogspot.com/2007/05/roi-from-enterprise-architecture.html http://www.ddj.com/blog/architectblog/archives/freelancer_2006_07.html http://www.steptwo.com.au/columntwo/archives/cat_metrics_roi.html http://sunset.usc.edu/events/2006/CSSE_Convocation/publications/BoehmROI.pdf
    Posted to Architecture (Forum) by Mercury082 on 2/4/2008
  • Re: Code Patterns

    [quote user="gumby2701"]I can see that with the SoC idea you could end up with heaps of interfaces. I mean how far do you go ie (One interface to save, another to insert , delete etc etc). Are there any websites/books which help conceptually of how to design the layers because Im not sure how to think n level deep :) [/quote] Generally each class that will reside in the service container is interfaced. You don't have to have a seperate class for each method (eg. Save, Update, Delete
    Posted to Architecture (Forum) by Mercury082 on 2/3/2008
Page 1 of 16 (156 items) 1 2 3 4 5 Next > ... Last »