One possible solution is to add Database.SetInitializer<YourDbContext>(null); in the constructor of YourDbContext. I g...
Showing posts with label Articles. Show all posts
Showing posts with label Articles. Show all posts
Saturday, August 22, 2015
Could not load type MvcApplication
To fix this, you have to change the output path in the build tab to bin\ I guess you came to this post by searching similar kind of is...
How to Get Name of the Member (Property Name, etc.) of a .NET Class
Consider the following sample class: public class Person() { public int Person Id { get; set; } public string Person Name...
Monday, August 17, 2015
Which version of MVC am I using?
Open web.config file and find the System.Web.Mvc assembly definition: assembly="System.Web.Mvc, Version=3.0.0.0 ..." It...
Sunday, August 9, 2015
DEPENDENCY INJECTION IN ASP.NET VNEXT
Microsoft changed the way how dependency injection (DI) is done in ASP.NET vNext. In previous versions of ASP.NET there were different en...
Saturday, July 27, 2013
Execute SQL statements in Integration Services
Executing SQL statements is one of the easiest and most common tasks that occur in SQL Server 2005 Integration Services (SSIS). This tuto...
Monday, June 3, 2013
4 Top Alternatives to YouTube for Sharing Videos
YouTube is the largest video sharing platform of the Internet world but for several reasons, a huge number of Internet users search for Y...
RadOutlookBar for WPF
RadOutlookBar for WPF Introduction This article demonstrates one of interesting and most useful concept in Telerik Rad Controls for WPF Q...
Build Async Services with ASP.NET Web API and Entity Framework 6
If you are building web services that interact with a database, chances are they are not written in a scalable fashion. Web services bas...
Dependency Injection / Inversion of Control–A Concrete Example-Roll your own
How exactly does Dependency Injection work? It seemed rather mysterious to me from the implementation point of view. Some people look at ...
Design pattern – Inversion of control and Dependency injection
In this section we will discuss about how IOC and DI can help us build loosely coupled software architecture. I am not sure should we cal...
Inversion of Control Containers and the Dependency Injection pattern
In the Java community there's been a rush of lightweight containers that help to assemble components from different projects into a c...
Sunday, June 2, 2013
The Onion Architecture
I've spoken several times about a specific type of architecture I call "Onion Architecture". I've found that it leads ...
Peeling Back the Onion Architecture
I recently started a consulting project as an architect on an ASP.NET MVC application and quickly found myself immersed in the world of N...
Keeping Windows 8 Tablets in Sync with SQL Server 2012
I'm pleased to announce that my newest book, "Keeping Windows 8 Tablets in Sync with SQL Server 2012," is now available for...
Thursday, May 30, 2013
Advanced Cucumber syntax
A background section in a feature file allows you to specify a set of steps that are common to every scenario in the file. Instead of hav...
Wednesday, May 29, 2013
VisualStudio Tip: Configure Code Analysis in Visual Studio
I like well-written code, and I especially like it when I've written it. But I don't always live up to my own expectations. So I&...
Windows 8 apps: Make your GridView parallactic
Few months ago I wrote a post about a way to apply a parallactic effect to a GridView. Given that I explained the meaning of the "pa...
How to set advanced properties for video recording in WP8
Windows Phone 8 provides a robust array of options for video recording, including CaptureSource, VideoCaptureDevice, and AudioVideoCaptur...
How to get the Unique Device ID in WP8 using Oxygene?
In Windows Phone 8, you can easily get the Unique Device ID using the DeviceExtendedProperties.GetValue or DeviceExtendedProperties.TryGe...