Home > ASP.NET > Handling Concurrency in an ASP.NET Web Site

Handling Concurrency in an ASP.NET Web Site


CodeFluent Entities provides optimistic concurrency management to your applications, without having you to code a single line of code.

It is activated on all entities by default and can be turned-off on the entire project (use the defaultConcurrencyMode attribute) or per entity (use the concurrencyMode attribute).

Basically, whenever you’re trying to commit a change on an instance which, meanwhile, was updated by another user, you’ll get a CodeFluentConcurrencyException in your application. Supporting concurrency in your web site is as easy as handling this exception in your user interface.

Here’s a webcast showing how concurrency is handled and how it works in the generated layers:

More information on concurrency is also available through this post, and the documentation.

Categories: ASP.NET Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s