Question

I'm trying to build a website that has a Member section, and I'm struggling to find a fast and efficient way to build the enduser pages, which will pull a user's data.

For example, the user's "my account" page. They simply need to be able to view and edit the data. Would you use the Entity Frameworks EntityDataSource control? And bind it to a FormView, DetailsView, or ListView? How do you allow automatic updates, and filter the view to always be the user's own record?

It seems like a lot of the data controls are geared towards dealing with multiple records. Or am I just missing something?

Was it helpful?

Solution

ASP.NET MVC has scaffolding options that helps you build these sorts of views. I prefer mvc these days as the designer generates most of what you need when you create views. There is also a way to modify the templates since they are are T4 templates.

There is also Dynamic Data which can generate html dynamically from EF models. I played around with this a bit and was extremely impressed with how much you get right out of the box.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top