Stories recently tagged with 'Framework'

EF 4.1+ POCO, Repository and Specification Pattern Framework(huyrua.wordpress.com)

submitted by wladekwladek(38) 7 days, 3 hours ago

I've been playing around with Code First EF implementations for awhile now and by far the best implementation I've seen is a framework by Huy Rua. It has the following functionality baked in: True Separation of Concerns for entities (no need for a data annotations dependency). A Generic Repository. This should do the trick for 80% of your standard CRUD operations without the need for repo's per entity. Supports multiple DbContext's and builds them dynamically. And finally a straightforward Specification pattern implementation. I use it as a base data layer for all my projects. read more...

1 comment |category: |Views: 255

tags: another

Simplify common data access functions by using Entity Framework extens(blog.goranobradovic.com)

submitted by goranobradovicgoranobradovic(17) 7 months, 28 days ago

Simple project featuring usage of EntityFramework CodeFirst and overriding SaveChanges method of DBContext in order to keep record of changes on entities in database. There is a simple usage sample project and a test project with couple of test cases to confirm that everything is working. read more...

4 comments |category: |Views: 122

tags: another

Implementing repository Pattern With EF4 POCO support(morshedanwar.wordpress.com)

submitted by anantoananto(105) 10 months, 28 days ago

Here I have described of implementation repository pattern with EF4 POCO support according to my earlier articles. read more...

add a comment |category: |Views: 48

tags: another

Begin with Parallel programming in Dotnet 4.0(beyondrelational.com)

submitted by DPalkarDPalkar(228) 1 year, 4 months ago

Now a days computers are coming with multiple processors that enable multiple threads to be executed simultaneously to give performance of applications and we can expect significantly more CPUs in near future. If application is doing CPU intensive tasks and we find that one CPU is taking 100 %usage and others are idle. It might be situation when one thread is doing cpu intensive work and other threads are doing non cpu intensive work. In this case application is not utilizing all CPUs potential here. To get benefits all CPUs Microsoft launches Parallel Programming Library in DotNet Framework 4.0. read more...

add a comment |category: |Views: 10

tags: another

Entity Framework: Intro to Model First Design(dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 1 year, 4 months ago

Taking a look at how to use the Entity Framework via its model first design concepts. When building out an application which is based off of the Entity framework you have multiple options, you can either build your model off of your existing database or build your database of your existing model. This episode will explore how you start with your entity model and build out your databas read more...

add a comment |category: |Views: 83

tags: another

Repository, Specification, Unit of Work, Persistence Ignorance POCO 3(www.kitchaiyong.net)

submitted by kitchaiyongkitchaiyong(89) 2 years, 3 months ago

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. read more...

add a comment |category: |Views: 185

tags: another

Repository, Specification, Unit of Work, Persistence Ignorance POCO 2(www.kitchaiyong.net)

submitted by kitchaiyongkitchaiyong(89) 2 years, 3 months ago

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. read more...

1 comment |category: |Views: 411

tags: another

Repository, Specification, Unit of Work, Persistence Ignorance POCO(www.kitchaiyong.net)

submitted by kitchaiyongkitchaiyong(89) 2 years, 3 months ago

This is my first 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. First part of this post will introduce the Entity Framework 4.0, its features and its comparison to Entity Framework 3.5 read more...

add a comment |category: |Views: 157

tags: another

.NET CF Performance Best Practices(jsprunger.com)

submitted by daymandayman(80) 2 years, 3 months ago

The impact of performance is much more readily apparent in .NET Compact Framework applications. The mobile devices commonly have a CPU that is 10 times slower than your desktop CPU, and possibly up to 100 times less RAM than a desktop or server. In Agile or XP development, the mantra is often to ignore performance considerations until necessary – I don’t think you can apply that to .NET CF... read more...

add a comment |category: |Views: 34

tags: another

Parallel LINQ (PLINQ) with Visual Studio 2010(leniel.net)

submitted by lenielleniel(504) 2 years, 6 months ago

On the last day of May I wrote about how to calculate prime numbers with LINQ in C#. To close that post I said that I’d use the primeNumbers delegate to evaluate PLINQ (Parallel LINQ) and measure the performance gains when the same calculation is done in parallel instead of in a sequential fashion. As promised, today I show the performance gains when the same delegate is run in 2 cores (parallel) instead of only 1 core (sequential). In this post you'll also see the new parallel debugging windows that come with Visual Studio 2010: Parallel Stacks and Parallel Tasks. read more...

add a comment |category: |Views: 87

tags: another

.NET continues to DoS attack me, seriously!(saftsack.fs.uni-bayreuth.de)

submitted by dun3dun3(360) 2 years, 9 months ago

Yeah, it does! And I don’t necessarily mean denial of service - that would mean that I couldn’t get any programming done. Nope, far from it - but it sure is denial of sleep attacking me. Come one, I am struggling to keep up with all the new runtimes, features, frameworks and best practices coming out of Redmond. It’s awesome and actually fun; no doubt about it - but sometimes it is excruciating as well. And today I am going to talk about the excruciating experience of seeing another reinvented wheel hobble out of Microsoft. read more...

2 comments |category: |Views: 621

tags: another

Implementing Business Logic with Entity Framework(maximumcs.wordpress.com)

submitted by codegurucodeguru(80) 2 years, 11 months ago

How you can use Entity framework to do some basic logic when a change happens in related entities or “Associations” as it is called. And Example on how to update of an Order’s Total Amount when its Order Details get changed, Added or deleted using Entity Framework. read more...

1 comment |category: |Views: 332

tags: another

TNValidate - A Fluent Validation Library for .NET(tnvalidate.codeplex.com)

submitted by pheavenpheaven(430) 3 years ago

TNValidate is a fluent validation library for .Net. It allows you to write validation logic in a form that is readable both by programmers and non-programmers, but still entirely in your .Net language. TNValidate has plenty of built-in validation rules, but also provides an extension mechanism to allow you to easily add your own without having to modify the library itself. The library is released under the MIT License. read more...

add a comment |category: |Views: 225

tags: another

EntLib 4.0 – ExceptionPolicy.HandleException is not thread safe(blog.decayingcode.com)

submitted by arch4ngelarch4ngel(585) 3 years ago

We've faced this problem recently where Enterprise Library was crashing. Not everywhere... just on this little line of code. We were trying to save to a database asynchronously but if the database was not available, it threw an exception which Enterprise Library was supposed to catch. However, this never happened. Enterprise library crashed on us. Mind you, we didn't figure out this problem until recently because the problem was just happening in production. read more...

add a comment |category: |Views: 38

tags: another

Oracle support for ADO.NET Entity Framework(jonathanbruceconnects.com)

submitted by jonbrucejonbruce(40) 3 years ago

Download the Beta release of the DataDirect Connect for ADO.NET Entity Framework provider for Oracle today! read more...

add a comment |category: |Views: 75

tags: another

A quick review of different UI frameworks(itaibh.blogspot.com)

submitted by itaibhitaibh(60) 3 years, 1 month ago

This post reviews several frameworks used for creating graphical user interfaces. I've decided to create such a review after noticing many programmers take a specific GUI framework for granted, as it is their automatic-choice-by-tool (i.e., they use what they're IDE let them, barely understanding the layers required to develop such a framework, and that there are alternatives they might have chosen if they had knew about). read more...

add a comment |category: |Views: 151

tags: another