18480 0
How to read JSON data in C# (Example using Console app & ASP.NET MVC)?
In this article, I will provide you simple way to read JSON data in C# using ASP.NET MVC and Console application code sample & example to read dynamic JSON in C#.
Type
Article
17386 1
Connect to SQL Server in C# (example using Console application)
In this article, I will provide working console application example in C# to connect to SQL server database and explain about connection string C# with various connection strings sample.
Type
Article
13950 3
How to remove or replace all special characters from a string in C#?

I want to send an XML data to server, and to make the XML valid i have to remove all the special characters(@,#,%..) etc from the string of address and send it to server , as it accpets XML data without it, otherwise it throws error

So how can remove special characters from string using C# in ASP.NET?

Suppose my String has

...
Type
Question
10293 2
How do i format or beautify code in Visual Studio code?

I have just started using Visual Studio code, but i am not able to format code in it, I have tried ctrl k+ Ctrl d but it doesn't work, any helpful link for it?

...
Type
Question
9093 3
The type initializer for 'System.Data.Entity.Migrations.DbMigrationsConfiguration`1' threw an exception

I am trying to Enable migration in Code first using Nuget package manager console command

...
Type
Question


8617 0
Generate Class from XSD in C# (Using CMD or Visual Studio)
In this article, I have explained an easy way to generate class file from XSD in C# using XSD.exe in command prompt or using Visual Studio.
Type
Article
8179 0
Encrypt password & decrypt it (C# Console application example)
In this article, I am going to provide code in C# to encrypt password and decrypt it using AES in Console application example & also shows MD5 password hashing example.
Type
Article
8114 1
Read excel file in C# (.XLSX or .XLS using OLEDB / EPPlus)
In this article, I am going to provide you code with explanation in C# to read excel file (xls) using OLEDB and using EPPlus in Console application.
Type
Article
7606 0
Reduce image file size using ASP.NET MVC & C# (Without losing image quality)
This article will help you to reduce your image (jpg or jpeg) file size without losing image quality in asp.net MVC C#.
Type
Article
7593 1
Ways to Convert Datatable to List in C# (with performance test example)
This article explains you the various ways to convert Datatable to List using C# with example, this article also shows a small performance test of linq and foreach method.
Type
Article

Page 1 of 15