I was wondering, would it be a good approach to have the ASPNETDB (created when using ASP .Net) to be dragged over to a Linq to SQL dbml file and then query whatever is required from that point onwards or would it make sense to continue using the membership
class for all functions?
Is there any benefit using one approach over the other?
I think it is better to stay with ASP.NET membership classes. This is because there are list of functions available and had been used by hundred of thousands developers. If you would like to customize it, then you should look into the Custom Membership Provider.
No matter how much time you spend on coding. Wish you happy coding.
My Technical Blog
Of course you can. However since MemberShip class is a new class that will serve you well for controlling with database's tables for asp.net's datatables. So I still suggest you using that.
EssCee
Member
551 Points
766 Posts
ASP .Net Membership with Linq
Dec 12, 2012 03:58 PM|LINK
I was wondering, would it be a good approach to have the ASPNETDB (created when using ASP .Net) to be dragged over to a Linq to SQL dbml file and then query whatever is required from that point onwards or would it make sense to continue using the membership class for all functions?
Is there any benefit using one approach over the other?
Thanks
CruzerB
Contributor
5399 Points
1098 Posts
Re: ASP .Net Membership with Linq
Dec 13, 2012 12:08 AM|LINK
Hi,
I think it is better to stay with ASP.NET membership classes. This is because there are list of functions available and had been used by hundred of thousands developers. If you would like to customize it, then you should look into the Custom Membership Provider.
My Technical Blog
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: ASP .Net Membership with Linq
Dec 13, 2012 04:31 AM|LINK
Hello,
Of course you can. However since MemberShip class is a new class that will serve you well for controlling with database's tables for asp.net's datatables. So I still suggest you using that.
Reguards!
thaicarrot
Contributor
5431 Points
1507 Posts
Re: ASP .Net Membership with Linq
Dec 13, 2012 06:38 PM|LINK
Depending on you scenarios, Take a look at Web Metrix, They create membership without using the membership class.
Because of there's no way is that all plateform of microsoft fit at all, E.G at first SQL Azure doesn't support Stored Procedure.
Weera