Recently, I was working on an ASP.NET MVC project using Visual Studio and the web project had strongly-typed views that were using model classes located in another class project in the same solution. The project itself got built successfully and was running fine until it tried to show those views, it returned the Compilation Error saying that the type or namespace name could not be found. In this article, I will show you what I tried and how I finally solved the problem.
I was working on my ASP.NET MVC application recently and I needed to do some serialization / deserialization work on JSON data. I chose to use Json.NET, a very popular JSON framework for .NET. The problem was that when I ran the application, I was getting an exception telling me that the Newtonsoft.Json could not be loaded due to assembly's manifest definition not matching the assembly reference. In this article, I will show you what I tried and how I managed to solve the problem.
When creating a new ASP.NET MVC project in Visual Studio, the project will use a Bootstrap front-end framework by default. But there are more sophisticated templates with the extended functionality available. I wanted to use one of those instead of the one provided by Visual Studio. I discovered AdminLTE, a dashboard & control panel theme built on top of the Bootstrap 3.0. This article will show you how I replaced the default Bootstrap framework with the AdminLTE template in an ASP.NET MVC project.
Visual Studio Community 2015 is the free edition of Visual Studio, so I decided to install it on my computer. Setup contains lots of components, so installation running considerable amount of time was expected, but after 3 hours, it was only 30% finished. Another hour later, the setup was still trying to install the same package. It seemed that the installation got stuck. In this post I will share how I tried to solve the problem and what eventually worked.
Do you want to create a blank solution in your VS Express but can't find it? I had this issue as well. I mostly code stuff for my personal needs so I never gave much thought on making the code more readable and organized, but on my last WinForms project I wanted to give more attention on how the project is structured. It seemed to me that the best way to achieve that was to start with an empty solution and then add necessary projects to that solution. I had trouble finding this option in Visual Studio, so I decided to write a post about it in case there are others with the same issue.