DotNetShoutout - Stories tagged with Repository
3
Shouts

Generic Repository Pattern - Entity Framework, ASP.NET MVC and Unit Testing Triangle

published 513 days, 15 hours, 38 minutes ago posted by http://tugberk-ugurlu.myopenid.com/http://tugberk-ugurlu.myopenid.com/ 517 days, 12 hours, 38 minutes ago
Monday, December 26, 2011 8:15:27 AM GMT Thursday, December 22, 2011 11:14:52 AM GMT
We will see how we can implement Generic Repository Pattern with Entity Framework and how to benefit from that. (more)
category: Web Dev | clicked: 86 | comment | | source: tugberkugurlu.com
tags: Repository, ASP.NET MVC 3, ASP.NET MVC, Entity Framework, Abstract Class
2
Shouts

Data Access in Fail Tracker

published 657 days, 3 hours, 30 minutes ago posted by Matt_TCFMatt_TCF 658 days, 18 hours, 30 minutes ago
Thursday, August 04, 2011 8:23:15 PM GMT Wednesday, August 03, 2011 5:23:38 AM GMT
This is the first in a series of short posts on how data access is handled in Fail Tracker. Future posts will get into how the strategy works with unit testing as well as how advanced topics, such as row-level security, are handled. Read on to find out how Fail Tracker utilizes a simple repository layer around NHibernate for all data access. (more)
category: Architecture | clicked: 5 | comment | | source: trycatchfail.com
tags: Repository, Patterns, NHibernate
6
Shouts

SVN, Hudson and MSBuild - Continuous Integration

published 658 days, 4 hours ago posted by lenielleniel 660 days, 9 hours, 47 minutes ago
Wednesday, August 03, 2011 7:53:16 PM GMT Monday, August 01, 2011 2:06:37 PM GMT
This is the second installment in the series I’m writing about SVN, Hudson and MSBuild. This time I’ll show you how to set up a job in Hudson to build and package an ASP.NET MVC 3 Hello World sample app. This job will point to the SVN repository set up in the 1st part of this series. (more)
category: Agile | clicked: 35 | 1 comment | | source: www.leniel.net
tags: Repository, .NET Framework, revision control, SVN, MSBuild, Hudson, Tools, Software Engineering, Continuous Integration
6
Shouts

SVN, Hudson and MSBuild - Revision control repository

published 658 days, 4 hours ago posted by lenielleniel 660 days, 9 hours, 49 minutes ago
Wednesday, August 03, 2011 7:53:16 PM GMT Monday, August 01, 2011 2:04:39 PM GMT
This series of posts I’m starting today serves as a guide on how to setup a continuous integration/CI server. All the the tools I’m going to use are FREE. The series will focus on continuous integration of .NET family of projects and I’ll write things in the order I installed them. This 1st part will deal with the Revision Control repository configuration. (more)
category: Agile | clicked: 27 | comment | | source: www.leniel.net
tags: Repository, .NET Framework, revision control, TortoiseSVN, VisualSVN Server, SVN, MSBuild, Hudson, Tools, Software Engineering, Continuous Integration
3
Shouts

To repeat or not to repeat yourself?

published 691 days, 2 hours, 48 minutes ago posted by slo2olsslo2ols 694 days, 18 hours, 50 minutes ago
Friday, July 01, 2011 9:04:59 PM GMT Tuesday, June 28, 2011 5:03:25 AM GMT
What do modern developers if they are forced to write repeated code? Of course, they follow DRY principle and try to write generic code that covers as much as possible cases and can easily be extended to the rest. But sometimes such a change is complex, inefficient, or simply impossible. Here template engines come into play that allow the developer to set the rules and get your service code. I propose to try to take the advantages of both these approaches. (more)
category: How To | clicked: 4 | comment | | source: osmirnov.net
tags: Repository, T4, Builder, Patterns, singleton, dry, snippets, Fluent Interface
4
Shouts

Dynamic repositories with LightSpeed - taking dynamic to the next level

published 753 days, 8 hours, 41 minutes ago posted by traskjdtraskjd 756 days, 54 minutes ago
Saturday, April 30, 2011 3:12:02 PM GMT Wednesday, April 27, 2011 10:59:34 PM GMT
Ready to think outside the box with the C# dynamic keyword? This post looks at taking the c# dynamic keyword and seeing how much boiler plate code we can get rid of. You'll learn how to take the Repository pattern where developers write a lot of GetFooByName, GetBarByEmailAddress type methods and how to get rid of them - gone, history, finished! Then there's Named Parameters - this post starts looking at how to use them for querying. By the end of this post you'll have a whole new way of looking at thing... (more)
category: Architecture | clicked: 4 | comment | | source: www.mindscapehq.com
tags: Repository, dynamic, LightSpeed
4
Shouts

Procrustean repository

posted by slo2olsslo2ols 798 days, 15 hours, 34 minutes ago
Wednesday, March 16, 2011 8:19:44 AM GMT
We have already examined the Repository pattern. For example, here and here. Today, let's see how many examples of this pattern force a developer thinks that any repository must include concrete methods and nothing more. Often it is correct and you have pure DDD application. But what if your data source differs from database and has specific methods to modify data? (more)
category: Architecture | clicked: 0 | comment | | source: osmirnov.net
tags: Repository, .NET, Web Service, Sharepoint
5
Shouts

A repository at the Linq epoch (Part VI): Repository implementation Oleg Smirnov

published 852 days, 12 hours, 25 minutes ago posted by slo2olsslo2ols 853 days, 9 hours, 39 minutes ago
Friday, January 21, 2011 11:28:05 AM GMT Thursday, January 20, 2011 2:14:28 PM GMT
Now that we have an idea of building dynamic queries, we can describe the repository to work with them. Its task is to free the developer from having to compile queries and facilitate their creation. In this way we are going to do in this final part of the series of posts. (more)
category: Architecture | clicked: 2 | comment | | source: osmirnov.net
tags: Repository, .NET, NHibernate, IEnumerable, IQueryable, Linq, ORM
4
Shouts

A repository at the Linq epoch (Part V): Dynamic queries Oleg Smirnov

published 860 days, 5 hours, 55 minutes ago posted by slo2olsslo2ols 860 days, 14 hours, 26 minutes ago
Thursday, January 13, 2011 5:58:01 PM GMT Thursday, January 13, 2011 9:27:18 AM GMT
Very often queries to a database are not known at the time of application development. A typical example - using a complex grid to display data. Such grid can include all the features that we talked about, namely pagging, sorting and filtering (grouping, we consider separately). In fact, the number of possible queries is so large that you can easily lose control of them. The situation gets worse is that sometimes you have to build queries dynamically. Are you familiar with it? (more)
category: Architecture | clicked: 3 | comment | | source: osmirnov.net
tags: Repository, .NET, NHibernate, IEnumerable, IQueryable, Linq, ORM
3
Shouts

A repository at the Linq epoch (Part IV): Known queries Oleg Smirnov

published 868 days, 5 hours, 41 minutes ago posted by slo2olsslo2ols 869 days, 10 hours, 10 minutes ago
Wednesday, January 05, 2011 6:11:52 PM GMT Tuesday, January 04, 2011 1:43:18 PM GMT
So, it's bad to use a repository as a proxy for the data context that implements IQueryable (more)
category: Architecture | clicked: 0 | comment | | source: osmirnov.net
tags: Repository, .NET, NHibernate, IEnumerable, IQueryable, Linq, ORM
7
Shouts

A repository at the Linq epoch (Part III): Expression Trees Oleg Smirnov

published 875 days, 59 minutes ago posted by slo2olsslo2ols 875 days, 17 hours, 34 minutes ago
Wednesday, December 29, 2010 10:54:37 PM GMT Wednesday, December 29, 2010 6:19:08 AM GMT
We have already seen how Linq significantly simplified the creation of repositories, and began to consider IQueryable. (more)
category: Architecture | clicked: 1 | comment | | source: osmirnov.net
tags: Repository, .NET, NHibernate, IEnumerable, IQueryable, Linq, ORM
6
Shouts

A repository at the Linq epoch (Part II): Coming Linq Oleg Smirnov

published 877 days, 11 hours, 46 minutes ago posted by slo2olsslo2ols 880 days, 16 hours, 36 minutes ago
Monday, December 27, 2010 12:07:02 PM GMT Friday, December 24, 2010 7:17:28 AM GMT
In the previous post we looked at how developers have implemented their own repository before coming Linq.  The best method which was found is to return of the read-only collection.  However, Microsoft introduced Linq and it was the revolution.  In this post we will see how developers' vision changed on implementation the repository pattern. (more)
category: Architecture | clicked: 7 | 1 comment | | source: osmirnov.net
tags: Repository, .NET, NHibernate, IEnumerable, IQueryable, Linq, ORM
3
Shouts

A repository at the Linq epoch (Part I): Before coming Linq

published 887 days, 55 minutes ago posted by slo2olsslo2ols 888 days, 13 hours, 38 minutes ago
Friday, December 17, 2010 10:58:35 PM GMT Thursday, December 16, 2010 10:15:07 AM GMT
In this and next posts we will discuss a topic that is not clear to most developers. How to create queries to data source based on the view settings? The settings can be quite a lot. These include pagging, sorting, filtering, etc. For applications developed by DDD methodology (will not be shy now it is popular enough) it all comes down to the correct query to a repository and getting of an answer in the correct form. (more)
category: Architecture | clicked: 3 | comment | | source: osmirnov.net
tags: Repository, .NET, NHibernate, IEnumerable, IQueryable, Linq, ORM
8
Shouts

Returning paged results from repositories using PagedResult

published 980 days, 8 hours, 54 minutes ago posted by gpeipmangpeipman 981 days, 13 hours, 8 minutes ago
Wednesday, September 15, 2010 2:59:37 PM GMT Tuesday, September 14, 2010 10:45:20 AM GMT
During my large database experiment I wrote simple solution for paged queries that I can use in my repositories. This far my experiments have shown pretty good results and I think it is time to share some of my code with you. In this posting I will show you how to create paged results using NHibernate and Entity Framework based repositories. (more)
category: How To | clicked: 4 | comment | | source: weblogs.asp.net
tags: Repository, paged query
10
Shouts

Repository and Unit of Work T4 Template for Entity Framework - Gil Fink on .Net

published 1051 days, 9 hours, 14 minutes ago posted by gilfgilf 1052 days, 12 hours, 31 minutes ago
Tuesday, July 06, 2010 2:39:43 PM GMT Monday, July 05, 2010 11:22:30 AM GMT
Two weeks ago I wrote the Revisiting the Repository and Unit of Work Patterns with Entity Framework post. One thing that I thought would be nice was to have an automatic code generation that will help me to build these patterns without sweating. So I sat down and created a T4 Template to auto generate the same patterns... (more)
category: How To | clicked: 21 | comment | | source: blogs.microsoft.co.il
tags: Repository, Entity Framework, Unit of Work, T4 Templates, Design Patterns
5
Shouts

Eager Loading with Repository Pattern and Entity Framework - Gil Fink on .Net

published 1065 days, 13 hours, 26 minutes ago posted by gilfgilf 1065 days, 17 hours, 37 minutes ago
Tuesday, June 22, 2010 10:27:47 AM GMT Tuesday, June 22, 2010 6:16:07 AM GMT
One question that I received yesterday after I published the Revisiting the Repository and Unit of Work Patterns with Entity Framework post was how to include the eager loading ability of Entity Framework. This post is offering a solution. (more)
category: How To | clicked: 20 | comment | | source: blogs.microsoft.co.il
tags: Repository, eager loading, Entity Framework, Design Pattern
6
Shouts

Revisiting the Repository and Unit of Work Patterns with Entity Framework - Gil Fink on .Net

published 1066 days, 9 hours, 25 minutes ago posted by gilfgilf 1066 days, 18 hours, 57 minutes ago
Monday, June 21, 2010 2:28:30 PM GMT Monday, June 21, 2010 4:56:48 AM GMT
In the past I wrote two posts about the Repository and the Unit of Work patterns (here and here). Today I want to show a better and less naive solution for imposing the Unit of Work and the Repository patterns with Entity Framework. (more)
category: Architecture | clicked: 3 | comment | | source: blogs.microsoft.co.il
tags: Repository, Entity Framework, Design Pattern, Unit of Work
4
Shouts

Repository, Specification, Unit of Work, Persistence Ignorance POCO with Microsoft ADO.NET Entity Framework 4.0 Beta 1– Part 1

published 1067 days, 12 hours, 2 minutes ago posted by kitchaiyongkitchaiyong 1068 days, 14 hours, 40 minutes ago
Sunday, June 20, 2010 11:51:48 AM GMT Saturday, June 19, 2010 9:13:41 AM GMT
This post will introduce the Entity Framework 4.0, its features and its comparison to Entity Framework 3.5 (more)
category: Architecture | clicked: 1 | comment | | source: www.kitchaiyong.net
tags: Repository, Specification, Unit of Work, entity framework 4.0
5
Shouts

Repository, Specification, Unit of Work, Persistence Ignorance POCO with Microsoft ADO.NET Entity Framework 4.0 Beta 2

published 1067 days, 12 hours, 2 minutes ago posted by kitchaiyongkitchaiyong 1068 days, 14 hours, 43 minutes ago
Sunday, June 20, 2010 11:51:48 AM GMT Saturday, June 19, 2010 9:10:38 AM GMT
This is my second post on one of the ways of applying the Repository, Specification and Unit of Work pattern using the persistence ignorance POCO with the upcoming ADO.NET Entity Framework 4.0. This post will explain how to implement the Repository, Specification & Unit of Work with Entity Framework 4.0. Sample project codes included. (more)
category: Architecture | clicked: 6 | 1 comment | | source: www.kitchaiyong.net
tags: Repository, Specification, Unit of Work, entity framework 4.0
6
Shouts

Repository, Specification, Unit of Work, Persistence Ignorance POCO with Microsoft ADO.NET Entity Framework 4.0 Beta 2 - Code Update

published 1168 days, 11 hours, 37 minutes ago posted by kitchaiyongkitchaiyong 1169 days, 19 hours, 37 minutes ago
Thursday, March 11, 2010 12:16:07 PM GMT Wednesday, March 10, 2010 4:15:51 AM GMT
Code Re-factoring for the sample project attached with the post Repository, Specification, Unit of Work, Persistence Ignorance POCO with Microsoft ADO.NET Entity Framework 4.0 Beta 2. Brief explanation of the changes are included. (more)
category: Architecture | clicked: 3 | comment | | source: www.kitchaiyong.net
tags: Repository, Specification, Unit of Work, entity framework 4.0
Previous 1 2 Next