Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:35554
More Search Options
RSS Available
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: A question: is more perfect object-oriented designed project more weak to cope with change request?
But you don't want to design for change too much ;)
Posted to
Architecture
(Forum)
by
rponton
on 3/2/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 »
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online