473,395 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Need advice about using ASP.NET Profile Provider

va

I realize that ASP.NET profile provider is used to create a strongly typed
storage of data that can be used like Session variables but can survive
beyond sessions.

In my ASP.NET 2.0 application, I am thinking of using the ASP.NET profile
provider and its the binary storage capability to store a lot of my user's
custom variables versus rolling my own object storage and access in a
database.

Are there any limits or warnings I should be aware of when before relying on
Profile Provider versus rolling my own database storage and access?

Mar 24 '06 #1
4 1339
AFIK one word comes to mind: performance. The use of the Profile does not
normalize data which trades ease of use for what can easily become
considerable impact on performance. That's my experience so far...

<%= Clinton Gallagher

"va" <id************@forgetit.com> wrote in message
news:E7**********************************@microsof t.com...

I realize that ASP.NET profile provider is used to create a strongly typed
storage of data that can be used like Session variables but can survive
beyond sessions.

In my ASP.NET 2.0 application, I am thinking of using the ASP.NET profile
provider and its the binary storage capability to store a lot of my user's
custom variables versus rolling my own object storage and access in a
database.

Are there any limits or warnings I should be aware of when before relying
on
Profile Provider versus rolling my own database storage and access?

Mar 24 '06 #2
va
Makes sense.

If I am storing 100 items in their profile, when are the items read? Are
all of them read upon first Load? Upon each call to Profile.NameOfVariable?
Mar 24 '06 #3
I'm not excatly sure about this yet. I thought I read that the data is
loaded on the first request. More needs to be known about Profile
performance that's for sure. Since its not normalized I think its going to
be correct to assume that its an all or nothing retrieval process.

<%= Clinton Gallagher
"va" <id************@forgetit.com> wrote in message
news:DB**********************************@microsof t.com...
Makes sense.

If I am storing 100 items in their profile, when are the items read? Are
all of them read upon first Load? Upon each call to
Profile.NameOfVariable?

Mar 25 '06 #4
va
Thanks for your help.

Cause I was thinking, for those single non repeatable (row) options you need
to save, normalization doesn't buy you anyting so retieving it as a profile
is no issue. Providing the data is not required for OLAP and so on..
Mar 26 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: | last post by:
Hi all, How can I get a reference to my custom profile provider in my .aspx page? I have looked at httpcontext.current.profile. But from there where do I go? Ideally I would like to be able to...
0
by: Miguel Dias Moura | last post by:
Hello, I am working on an Asp.Net 2.0 / SQL 2005 web site. I am using profile to save the users info on the database. For example, I have the following structure: Public Structure Name...
3
by: Rich Armstrong | last post by:
I've implemented a custom profile provider following the pattern and examples provided with ASP.NET 2.0, but no Profile object ever appears in my page; that is, after executing the following, ...
5
by: cipcip | last post by:
By default profile use sql server xpress provider and probabily, caches stored data when they are requested for the first time, So the question is: why we should use profile instead of storyng,...
1
by: shapper | last post by:
Hello, I have a profile with multiple profile properties in my Web.Config: <add allowAnonymous="false" name="Contact" type="Contact" serializeAs="Binary"/> <add allowAnonymous="false"...
9
by: Kirk | last post by:
I have successfully, implemented a custom Membership Provider to a SQL 2000 table, however, I am having problems doing the same with a Profile Provider. As I understand it, the steps for both of...
1
by: Mike | last post by:
Hi: I have been trying to create a web application that provides suport for two membership/profile databases: one for private users and one for another set of users. These tw user have a...
1
by: Steven Nagy | last post by:
Hi all, I want to know if it is possible to have a WCF service hosted in IIS (.svc) that uses the provider model in .Net? Ideally, I'd like the WCF service methods to detect the user's AD user...
1
by: shapper | last post by:
Hello, On my CMS I am signed as administrator and I am creating a Membership user and its profile: MembershipCreateStatus status; MembershipUser user = Membership.CreateUser("Joe", "Pass",...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.