In this tutorial I show you how easily you can create a simple ASP.NET MVC web application with Entity Framework and N-Tier architecture. The application will a simple movie inventory for home usage. You can add movies to the database …
Blog Posts
In the following tutorial I will show you how to easily create an ASP.NET MVC Web Application with SQL usage through Entity Framework. This tutorial is mainly for newbies, beginner developers. The frontend uses HTML, CSS (and BootStrap) with Razor …
A swedish guy had a task to complete: he had 2 listboxes containing mammals and birds in one of the and some kind of mammals and birds in the other. Yes, we should show only relevant results in the second …
Some guy asked a question: Is there any other way to use a routine on InitilizeCompent to handle all textboxes? So he wants to get away from typing a lot: no need to write the same event to all our …
Events Events are always implemented with delegates in C#. Publishing class defines a delegate, the subscribing class first creates a method that matches the delegate signature and then creates an instance of the delegate type encapsulating that method. Everytime an …
This topic is quite interesting for beginners too. You can often face the usage of delegates and of course: events. Delegates If you want to execute an action but you don’t know which method or object you’ll want to call …
Many of you asked me to write a simple “homework” for beginners. Now it’s time to write it down here, so anybody who’s now learning C# and don’t have idea what to code can do this one. Let’s create a …
I found an issue of a beginner developer on a forum about importing a CSV phonebook file into DataGridView and having some search option. First of all, I have created 2 forms: one for the main form one for adding …
In part 1 we created our Card class, in part 2 we created our Deck and Hand class. Now in this final part let’s create our form using all the classes we’ve done before. Create a new form with the …
Welcome back! The previous part has the class for the card, in this part we create the class for the deck. The deck contains the cards, 1 from each. Of course we have to shuffle the deck before every new …