Archives for C# - Page 4
Showing any Language Text to a Screen as Bitmap
Recently I had a requirement to print the Telugu language characters on the PDF file. I was just done some research but not found any concrete solution on google. Finally, I came with the following solution…
WinForms CheckedListBox control Select ALL Implementation
Recently I am working on windows based application after a long back in which I am using ChekedListBox control where I need to list all the subdistricts information based on…
How to configure C# WebApi2 to display data in JSON format directly in browser?[Solved]
Recently I was asked a question "How to configure C# WebApi2 to display data in JSON format directly in browser?" by one of my colleague. This is a simple solution…
Downloading PDF File from Server to Client using ASP.NET & MVC C#
Problem Statement This is a very regular requirement especially for online education or E-commerce applications, a user will be given an option to download the payment receipts or certificates on demand. Solution In this article…
How to Enable C# 7.1 to my Projects
By default C# was shipped With Visual Studio 2017 and this is the major release (March 2017) till now. In August 2017 a minor version of C# was released and version named as C#…
Understanding EF Code First Migrations
Introduction Entity Framework is one of the topmost rich ORM tool from Microsoft targeting .NET framework. Entity Framework can be used with different approaches like Code-First, Database First, and Model…
EF Code-First Approach Vs Database First Approach
Following are some of the advantages and disadvantages on each Approaches of Entity Framework Code-First Approach Advantages No need to look at database for any changes in the tables as we can…
Using Entity Framework Working with Multiple Similar Databases at Run time
Problem Statement: There will be a situation where we need to connect and run some queries parallelly to our n number of clients with same database structure. Following is the approach to…
Centralizing Configuration in .NET Application
Problem Statement Recently I got a requirement where I have many modules and each is independent applications like some are the web application, WinForms and also we have windows services. But here…
Why is .NET Core recommended for new Modern web Applications?
These days, as a modern web application, customers having high expectations of rich and intuitive UI design, secure and flexibility as the minimum requirement. These requirements can be achieved by the traditional .NET framework. But, why Core…