One possible solution is to add Database.SetInitializer<YourDbContext>(null); in the constructor of YourDbContext. I g...
Showing posts with label VS2010. Show all posts
Showing posts with label VS2010. 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...
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
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...
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...
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...
Metro Character Progress Control
I have just published a custom control which would display a percentage value in the middle of a character. The character is currently of...
Model First CRUD operations
Model First CRUD operations Introduction This article demonstrates one of interesting and most useful concept in Entity Framework Model...
Database First CRUD operations using Stored Procedures
Database First CRUD operations using Stored Procedures Introduction This article demonstrates one of interesting and most useful concep...
Windows Authentication in MVC4 with IIS Express
MVC4 gone through some major changes in Windows Authentication functionality with IIS Express. In this article you will learn how to enab...
NHibernate Made Simple
This article grew out of my frustration trying to get started with NHibernate. It seemed that all the introductory material I found was e...
FREE Metro Light and Dark Themes for WPF and Silverlight Microsoft Controls
The quest for a good application theme never ends. You spend hours scouring the realms of Google and Bing looking for a clean, modern, a...