After we create the ASP.NET Core application in Visual Studio, we can use the Visual Studio Publish Tool to create binaries and other set of files that are nedeed to deploy and run our app. The tool supports different publishing methods, such as folder and FTP among others. In this article, we are going to show how to publish ASP.NET Core 3.1 Web App binaries to a local folder.
Recently, I wanted to create a C# project where I would process the JSON response from the cryptocurrency-related API endpoints. I was wondering what was the best way to quickly create a strongly typed model class from a JSON object and if there is a way to generate this automatically from the JSON data instead of writing the model class manually. It turns out there is and in this article, we are going to examine two solutions for this 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 also built on top of the Bootstrap. This article will show you how I replaced the default Bootstrap framework with the AdminLTE template in an ASP.NET MVC project.
This article is intended for beginners and will demonstrate how to create a Windows Forms / WinForms project using Visual Studio 2019 Community Edition, which is a free version of Visual Studio. The WinForms application created by Visual Studio will contain only a main form with no controls. Then in the future article, we will make this application a bit more interesting and useful.
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.