Archives for Server Side - Page 5
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…
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…