Category Archives: Technical

EF Context explicit interface implementation, raises an exception

The following exception: An unhandled exception of type ‘System.Data.Entity.ModelConfiguration.ModelValidationException’ occurred in EntityFramework.dll Additional information: One or more validation errors were detected during model generation: MetaDAL.POCOContext.IMetaContext.MAssemblyFiles: Name: The specified name is not allowed: ‘MetaDAL.POCOContext.IMetaContext.MAssemblyFiles’. MetaDAL.POCOContext.IMetaContext.MAssemblyFileObjects: Name: The specified name is not … Continue reading

Posted in EntityFramework | Tagged , | Leave a comment

Projecting on Linq to SQL, from different layers

  The Need I needed to add the possibility for upper layers like the Model/Service to make projection on Linq to SQL statements but without leaking IQueryable. As the normal Linq to SQL projection is: var query = from c in Cars … Continue reading

Posted in Development, Technical | Tagged , , | Leave a comment

MS Access Crashes on ListBox.addItem

I had a problem in Access, that made havoc to old projects i had, as i have a form that i use a general utility in multiple .mdb programs. and I have in them a ListBox, that gets filled by … Continue reading

Posted in Technical | Tagged , , | 2 Comments

Layered Software Architecture

I wanted to further read about Plugin Architecture, which I made a list for reading about it, in this article: “C# Plug-In Architecture Articles“, so added more reading for Layered Software Architecture, and found the following very interesting presentations: . … Continue reading

Posted in Technical | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

C# Plug-In Architecture Articles

I wanted to make a plug-in system, so I search the net for several days, and started feeding on the info and ideas, so I wanted to share my search findings for others. I have ordered the articles, based on … Continue reading

Posted in Technical | Tagged , , , , , , , , , , , , , , , , , , | 1 Comment

What will make a code assistant, flourish

Utilities and extensions, for JavaScript, Java, Object-C, SQL,  C, C++, C#, PHP, Python, VB .NET, Transact-SQL, Pascal, ABAP, PL/SQL, Ruby, MATLAB, R… whether in Eclipse, Visual Studio, SQL Server Management Studio, Android Studio, SharpDevelop, Eclipse, IntelliJ IDEA, Xamarin Studio, Netbeans, … Continue reading

Posted in Technical | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Make Debugging Faster with Visual Studio

based on this article: http://blogs.msdn.com/b/visualstudioalm/archive/2015/03/03/make-debugging-faster-with-visual-studio.aspx I have the following suggestions: 1. “We have seen issues where traditional breakpoints become corrupted and are treated as function breakpoints which slows down debug startup” either this can be stopped by the IDE from … Continue reading

Posted in Technical | Tagged | Leave a comment

System.TypeLoadException: Inheritance security rules violated by type: ”

I had this error: A first chance exception of type ‘System.TypeLoadException’ occurred in mscorlib.dll The configuration editor was unable to load an assembly. This may affect the configuration tasks you can perform.  The error encountered was: System.TypeLoadException: Inheritance security rules … Continue reading

Posted in EntLib (Enterprise Library) | Tagged , , | Leave a comment

System.TypeLoadException: Inheritance security rules violated by type: ”

I had this error: A first chance exception of type ‘System.TypeLoadException’ occurred in mscorlib.dll The configuration editor was unable to load an assembly. This may affect the configuration tasks you can perform.  The error encountered was: System.TypeLoadException: Inheritance security rules … Continue reading

Posted in EntLib (Enterprise Library) | Tagged , , | Leave a comment

error MSB3073: The command nuget.exe install

this error : error MSB3073: The command nuget.exe install is shown in the combiling of the EntLibContrib5Src (Enterprise Library Contrib Project) from:    http://entlibcontrib.codeplex.com You can get rid of it by installing the NuGet Package Manager “NuGet.Tools.vsix” from:       http://nuget.orgContinue reading

Posted in EntLib (Enterprise Library) | Tagged | Leave a comment