Archives for C# - Page 6
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…
Getting Computer Name from IP Address and Vice Versa in C#
Problem Statement Need to get the IP address of the given machine name as well as need to get the Machine Name from given IP Address. Solution Using DNS class in you can…
Calling REST API Service From SQL Server Using C# SQL CLR
Problem Statement A requirement where we need to get a data from other sources (REST-based Web Service) and sync with on-premises (local) database. This should be done using a SQL…
Working with New Out Variables & Discard Feature in C# 7.0
Out parameters are the most common feature we use in our regular development in C#. Out parameters are the parameters which will be sent by the calling method and expects…
How to Improve Application’s Execution Performance
For every application could be small or medium or a big enterprises application the major non-functional requirement will be a good code performance. In some cases, companies will hire a…
Part 3: Understanding with different ways of Injecting Dependencies
I will cover most of the topics about Dependency Injection in this Series. This series contains four parts as follows Part 1: Understanding why we need to use Dependency Injection?…
Part 2: Understanding how to implement Dependency Injection using Unity
I will cover most of the topics about Dependency Injection in this Series. This series contains four parts as follows Part 1: Understanding why we need to use Dependency Injection?…




