After updating the related data in the ASP.NET tutorial, it is time for the next step – handling concurrency in the MVC Application. These are the points, followed by the video: Learn about concurrency conflicts Add a tracking property Create …

C# – Handle concurrency – ASP.NET MVC with EF Core Read more »

After reading complex the data, it is time to be able to update it. This video fills the following points from the ASP.NET MVC tutorial: Customize Courses pages Add Instructors Edit page Add courses to Edit page Update Delete page …

C# – Update related data – ASP.NET MVC with EF Core Read more »

After creating a complex data model, now it is time to display the data, following the tutorial. The task is actually a challenging one, as far as the data display is in a way partial – in the  “Instructors” view, …

C# – Read related data – ASP.NET MVC with EF Core – Video Read more »

Creating a complex data model with the previous data model in ASP.NET is actually a challenging task. The model in general looks like this: It is not “extremely” complex, but it is something bigger than the previous 3 tables that …

C# – Create a complex data model – ASP.NET MVC with EF Core – Video Read more »

Migrations in C# are quite well facilitated by the EntityFramework. In general, when an application with databse is created, initially the database model is taken from the model classes. When these models classes change, then they get out of sync …

C# – Using Migrations – ASP.NET MVC with EF Core – Video Read more »

Sorting, filtering, paging and summary of an app are quite important features. In this video, which is a continuation of the Microsoft tutorial, I present step-by-step how to do each one of these. It is quite a large video, but …

C# – Add sorting, filtering, and paging – ASP.NET MVC – Video Read more »

This is the second video of the Microsoft tutorials, for ASP.NET MVC with Entity Framework Core: Continuing the previous video, in this one the following tasks are carried out: Customize the Details page Update the Create page Update the Edit …

C# – Implement CRUD Functionality – ASP.NET MVC with EF Core – Video Read more »

Lately, I have started with creating video tutorials for ASP.NET. Thus, today it is time to deep dive in the ASP.NET once again, following the Microsoft tutorial for ASP.NET MVC Web App from here. In the video below, the following …

C# – Get started with EF Core in an ASP.NET MVC Web App – Video Read more »

Creating a web application with ASP.NET could look as a hard task. Still, with the pre-built MVC models from Visual Studio, the task is a bit easier. This is how the application looks like, with 2 search buttons and fully …

C# – Create a web app with ASP.NET Core MVC – Video Read more »

Web API with Visual Studio 2019 is quite a bolierplate task – it is doable in less than 45 minutes, following the Microsoft.com tutorial: The video tutorial is here: The TodoController , implementing the CRUD actions looks like this: using System.Collections.Generic; …

C# – Create a web API with ASP.NET Core – Video Read more »

The title somehow looks like random words, picked from a hat at one of those college games we are not supposed to talk about. Anyway, at the second reading it hopefully becomes a bit clearer. And it is simply the …

C# – ASP.NET Core MVC Application with Basic Database Access using Entity Framework – Video Read more »

After writing about the longest palindromic substring, now it is time to see the longest palindromic subsequence. What is the difference? Pretty much, if we take the word abracadabra: the longest substring is ada in abracadabra the longest subsequence is …

VBA – Longest Palindromic Subsequence Algorithm with Excel – GIF Read more »

The longest palindromic substring algorithm exists since 1975. It is different (and easier) than the longest palindromic subsequence. The idea of the substring is to return “anana”, if “bananazorro” is given. This is achieved with a 2 dimensional boolean array matrix and …

VBA – Longest Palindromic Substring Algorithm with Excel – GIF Read more »

Inserting an image to Excel with VBA is actually one line: ThisWorkbook.Worksheets(1).Pictures.Insert (“C:\Users\myPic.png”) The interesting part happens, when it should be correctly positioned. In order to position it the way we want, we need to give 3 parameters – the …

VBA – Insert an image/picture in Excel and position it correctly Read more »

The idea of the article is to make an updateable combobox, which takes all the keys of column A and writes them to the ComboBox. Then, upon selection of the corresponding values in the combobox, it provides the corresponding values …

VBA – Put a Collection inside a Scripting Dicitonary OR Make an Updateable ComboBox Read more »

The idea of the article is to show how to add, edit and remove specific entries of the ListBox in Excel through VBA: ListBox is a control, which is available through Developer>Insert>ActiveX>ListBox in Excel: Once you add it, it has …

VBA – ListBox in Excel – Adding, Editing and Removing Data Read more »

Excel’s ranges and cells are both complicated and very simple. They are simple, because everyone has an idea what is a range and what is a cell, and they are complicated, because these are both: Properties of the worksheet object …

VBA – Cells and Ranges in Excel (A bit more than the standard story) Read more »

Debugging is like being the detective in a crime movie where you are also the murderer. In order to debug well, we need to know the value of the current variable. In Visual Studio, this could be acquired through multiple ways. …

C# – Look at the Variables’ Values, while Debugging in Visual Studio Read more »

There are parts of #VBA, that can scare any VBA developer, who has not bumped into other languages. Although, the “abstract class” term is quite popular in C# and other languages, and is quite easy to be created, in VBA, …

VBA – Abstract classes. Classes, that cannot be instantiated. Read more »

Reading from Excel in C# is actally not at tough as many VBA developers would assume. The simple reading is actually quite straightforward – there is only small little trick, requiring the adding of the Microsoft.Office.Interop.Excel reference to the Visual …

C# – Reading from Excel Spreadsheets with Asynchronous Programming (Async) Read more »

Getting the last row of a given column in Excel with a formula or with VBA is quite a trivial task. It is explained here quite well 🙂 However, when we come to C#, the only “trick” that is provided …

C# – How to get the last filled cell of a given row in Excel Read more »