Archives for Server Side - Page 4
Expression Bodies in C# 7.0
A new feature was introduced from C# is Expression Bodies. This feature makes your code more readable and can reduce the number of lines of code drastically. There are 3…
Throwing Exceptions in Expressions: C# 7.0
In C# , they introduced a new feature or we can say more flexible to throw the exceptions in Lambda expressions. Before seeing this, yet we know what we will…
Numeric Literals and Binary Literals in C# 7.0
Numeric Literals When working with literals of a numeric type having large and complex number will be hard to read. For example, if we are assigning a large integer to…
Safely Storing Sensitive Configuration Data in .NET Core
Problem Statement There could be a situation where the application will use some sensitive data such as Payment Gateway live credentials and client don’t want to expose the data to any of…
Understanding Produces and Consumes Attribute in MVC 6
Produces and Consumes Attributes are newly introduced in MVC 6 ( Core) to control the content negotiation. What is Content Negotiation? The process of picking the correct output format is known as Content Negotiation. Generally, Frameworks will…
Time to Upgrade from .NET core 2.0 to .NET core 2.1
It's time to upgrade your existing .NET core application running on to .NET core as .NET core support from Microsoft will be ended on 1st October 2018. Why? .NET Core was…
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…