Set up Continuous Integration and Deployment to Azure in VSTS using Azure and Visual Studio. The post Azure Deployment using Visual Studi...
Showing posts with label .NET. Show all posts
Showing posts with label .NET. Show all posts
Saturday, August 18, 2018
Saturday, August 22, 2015
The model backing the context has changed since the database was created.
One possible solution is to add Database.SetInitializer<YourDbContext>(null); in the constructor of YourDbContext. I g...
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
How To improve ASP.NET MVC Application Performance
A compiled list of possible sources of improvement are below: General Make use of a profiler to discover memory leaks and performa...
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, August 15, 2015
How to Run Visual Studio as Administrator by default
Using Advanced Properties section. This will allow you to always have the program run as an administrator when you open it. Windows 7...
WPF RichTextBox
The RichTextBox control allows you to view and edit text, paragraph, images, tables, other rich text format contents. The RichTextBox...
Thursday, August 13, 2015
.NET Design Patterns – A Fresh Look
.NET Design Patterns…. yes, there are several books and resources written on this topic. When it comes to Software Development, Design Pa...
The Web API Checklist — 43 Things To Think About When Designing, Testing, and Releasing your API
When you're designing, testing, or releasing a new Web API, you're building a new system on top of an existing complex and sophis...
MVC, AngularJS and WCF Rest Service For Master Detail Grid
This article shows how to create a Master and Detail Grid using AngularJS and WCF. In this article we will see: How to create a WCF Re...
Unit Testing with NBuilder and NSubstitute using either a FakeDBSet or a mock DbSet
In the previous blog post I showed how you can unit test with NBuilder and NSubstitute by using a FakeDbSet implementation. The thing is ...
Sunday, August 9, 2015
MEASURE PERFORMANCE OF ASP.NET WEB APPLICATIONS WITH MICROSOFT PERFORMANCE MONITOR
This article gives a short introduction in performance measurement of Asp.Net web applications with the Microsoft Performance Monitor (pe...
IMPROVE SERVER PERFORMANCE WITH ASYNCHRONOUS WEBAPI
In this article I want to show, how you can improve server performance dramatically by using Microsoft asynchronous WebAPI. The text show...
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
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 ...