In many cases you may need to show special characters, white spaces in your ComboBox when it is binded to enum. (Please see here my ‘binding to enums‘ post) Basically enums cannot have white spaces neither special characters like ‘ö’ …
Blog Posts
When you create any application using OOP, you create your own custom objects, classes, etc. In the same framework that custom object is readable, so every client (and/or server) application will understand its structure. Let’s say there’s a server-client application …
In the past few weeks I was asked to create a simple login form by several developers. In this short useful code you’ll see a login form with logoff and remember me function on the main form. Some of the …
Generating QR codes and decoding them are not supported by .NET natively, so we have to use some 3rd party library. I chose a very simple-to-use one from NuGet: MessagingToolkit.QRCode I’ve created a new WinForms application, added this package to …
As you may know, repository pattern is intended to create an abstraction layer between BLL (business logic layer) and DAL (data access layer). Repository pattern is to query the data source and maps it to the BLL. But what if …
I was asked to show a small app that can handle an XML file and insert its content into SQL then can read the SQL data and show it. Help please…………How to insert this xml in sql server.Also i want …
It could be very useful if your application (doesn’t matter if it’s a Winforms or web application) create a log file and write every important moment in it. The best package I found is Log4Net. It can be easily used …
In this final part of the Movie Inventory ASP.NET MVC Web Application tutorial I show you a simple version of the frontend part and the usage of formerly written UnitOfWork in order to manipulate the database easily. This last project …
In this part I will show what a Business Logic Layer (BLL) should contain. We will use Repository Pattern and Unit Of Work design pattern. What are these (in few words)? Unit Of Work does 2 really important things: it …
As mentioned in the previous post, this part will show the DAL project of our Movie Inventory ASP.NET MVC web application. This small Data Access Layer class library project contains only our context declaration, the relations of the entities and …