-
Recent Posts
Recent Comments
Archives
Categories
Meta
Tag Archives: c#
Duplicate Key Exception
Entity Framework throws exceptions from the DbContext’s SaveChanges method if there is a constraint violation in the database. If you have a property marked as invariant w.r.t. concurrency, that too will raise an exception at this point (a DbUpdateConcurrencyException Exception. … Continue reading
SignalR
Wow. I just looked at Signalr again… Just added the Git package to a web application, added the git package for the stock ticker example, fixed the bug on the stockticker html page that referenced the wrong version of the … Continue reading
Architecture : Entity Framework
I’ve had an extensive opportunity to play with entity framework. Here are my few thoughts. Code first does work reasonably well if you are starting from scratch, but managing the release of vital enterprise applications, which require care around the DB become … Continue reading
RX Example
Just an update to the doc with the Rx tutorial: Newer versions of Rx need a small change to the source code: Observable.FromEvent<EventArgs>(txt, “TextChanged”) Changes to Observable.FromEventPattern<EventArgs>(txt, “TextChanged”) And the references are: System.Reactive.Core System.Reactive.Interfaces System.Reactive.PlatformServices System.Reactive.Linq System.Reactive.Windows.Forms Rx is available on … Continue reading
Embedding a Python Interpreter in C# – Iron Python
I needed to be able to execute scripts in two client applications. One was written in Java the other in C#. The script needs to manipulate classes in the language the interpreter in embedded in. This program works with IronPython … Continue reading