Search

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

Matching Posts

  • Re: OR Mappers with ASP.NET 2.0

    "Is there any reason OR mappers are not used in these products?" 1. Not Invented Here 2. possibly need more control over performance than they believe they can achieve with someone else's ORM. 3. NHibernate is LGPL, which MicroSoft will never, ever, ever use. " I do prefer the way ActiveRecord and Gentle.NET use attributes to set the table names, primary keys, column names and relations compared to using a XML file which NHibernate does." There's an NHibernateContrib add-on that lets you do your
    Posted to Architecture (Forum) by rponton on 3/30/2006
  • Re: Architecture Basics

    A Layer is merely an API. As thona said, it should be designed as if it *could* be on a seperate machine. As far as any code that uses your Layer is concerned, it's just another class library. To use it, you create some objects and call some methods, just like any other class library. Now, you may originally write a Data Layer as code that operates against a single huge XML file for data storage (which would be stupid, but it's just an example) and then some day change it to operate against an RDBMS
    Posted to Architecture (Forum) by rponton on 3/22/2006
  • Re: Security approach.

    I'm using Windows Integrated Authentication, not my own user scheme. This is an intranet app. IE users and FireFox users with Kerberos enabled never even enter their username or password. I've already got access to IsInRole() and I'm using that. I don't need any user management or role management. What I'm asking is if there's a better way than just manually checking permission logic in code. Manually checking permission logic in code forces me to create my own security model. I'd *rather* just reuse
    Posted to Architecture (Forum) by rponton on 3/22/2006
  • Security approach.

    So I am currently in the process of writing a fancy CRUD+Workflow app for Travel Authorizations (made overly complex by the byzantine federal government-funded travel regulations). Basic security is dirt simple. I'm using integrated windows authentication. Everything is behind SSL. Wherever possible, folder/url security is used. For example, all Admin functions are handled from an Admin folder and the web.config limits access to the Admin folder to a specific windows group. What's a little more complicated
    Posted to Architecture (Forum) by rponton on 3/21/2006
  • Re: Business Layer in stored procedure?

    IIRC, you can write stored procs in .NET on Oracle now too -- as long as it's Oracle on Windows. You can write Java StoredProcs for Oracle on most any platform though. But also, IIRC, the glue between the Java/.NET StoredProcs and the rest of the system was pretty weak.
    Posted to Architecture (Forum) by rponton on 2/23/2006
  • Re: Can and should a global SqlConnection be reused?

    rmprimo wrote: Thanks I am now fully convinced in the error of my ways! No problem. And I didn't mean to come off too critical or high-and-mighty in my previous post. Premature optimization is a natural tendancy for programmer-type personalities. It's a really hard habit to break. But unless you're doing embedded development, low-level optimization is just not something you should be doing until the very end when you need to get the last ounce of performance out of your softwrae. In today's software
    Posted to Architecture (Forum) by rponton on 2/23/2006
  • Re: Class Design Question

    I believe the official original MS naming guidelines were that private and protected member variables were to use camelCase with no leading "_" or "m_". Most coders (including myself) ignore this guideline for private fields, but leading underscores for public or protected fields are not CLS compliant since not all languages (namely VB.NET) allow leading underscores on variable names. Changing it so that FxCop does not complain about leading _ is a good learning tool on how to customize the rules
    Posted to Architecture (Forum) by rponton on 2/22/2006
  • Re: Business Layer in stored procedure?

    yonscun_lie wrote: 2. Overhead caused by O-R Mapper, because network traffic is reduced when using stored procedure than O-R Mapper. For example, plain SQL query (ex: select * from table1 where.....) use more traffic then just call stored procedure (just stored procedure name and parameter) If you assume the resultsets are exactly the same*** between the StoredProc and the Parameterized SQL Query generated by the ORM (or by hand), the data overhead between the call to the stored proc and the SQL
    Posted to Architecture (Forum) by rponton on 2/22/2006
  • Re: Common Page methods, inherit System.Web.UI.Page ? (best practice)

    Something to consider: Before you choose to use inheritence, consider using a seperate utility class the takes a Page as a parameter (either as a Property it's initialized with or as a parameter to static methods). There's nothing wrong with inheritence, per se, but there's no multiple inheritence in C#/.NET. What if you have to work with someone else's framework that requires you to inherit from their AutoMagicWorkflowSpiffyPage? What if you want to get the ProfileUserId() from a Membership API
    Posted to Architecture (Forum) by rponton on 2/22/2006
Page 1 of 30 (292 items) 1 2 3 4 5 Next > ... Last »