Let\'s say I want to do a bulk User update in my UsersController. In my UsersController I do: foreach ($users as $user) {
I have an API (a DLL) which has various methods that return objects / collections of items. I would like to create a Web Service that would return items to the calling client.
I have a WCF Service, behind the WCF service is a Service layer (http://martinfowler.com/eaaCatalog/serviceLayer.html) and repository layer.
I\'m writing an ASP.NET MVC 3 app and I\'m finding myself writing this line rather often in my action methods:
The other day I asked this question: Should the repository layer return data-transfe开发者_Python百科r-objects (DTO)?
We\'re building a large web app that has numerous layers.In order to communicate to the business layer we\'re using a service layer that the web layer calls when data is needed.Unfortunately, it seems
What I mean by that is, say I have a method in my repository: Public Function GetCustomerByState(ByVal State As String) As IQueryable(Of Customer)
I am using the UnitOfWork/Service Layer/Repository/EF4 w/POCO design in my MVC app. So far I have this:
Say I have RegisterModel for user registration and some UserService that implementing IUserService public interface IUserService
I am creating a ASP.NET MVC 3 application using Entity Framework 4. I am using the Repository/Service Pattern and was looking for feedback.