2975 0
Hello World Visual Studio Code C# Example
In this article, I have provided step by step procedure to create hello world program in C# using Visual Studio Code and how to create new console project in it.
Type
Article
2962 1
How to show success message in JSON format after saving data using Web-service in C#?

I am trying to save data into database using web service[asmx], after saves successfully data into table I want to show successful message in JSON format 

Here is my code:

...
Type
Question
2923 2
JSON.NET Error Self referencing loop detected for type

I am trying to convert List into JSON format using the code below

...
Type
Question
2865 1
LINQ to Entities does not recognize the method 'System.DateTime Parse(System.String)' method

I am getting an error "System.NotSupportedException: LINQ to Entities does not recognize the method 'System.DateTime Parse(System.String)' method and this method cannot be translated into a store expression." when trying to run below code in C# ASP.NET MVC

...
Type
Question
2690 0
Simple C# code examples with output (Console application example)
In this article, I have provided list of various examples of C# programs with output and explanation of basic code, which will help beginner or students to learn C# easily.
Type
Article


2681 1
How to get latitude and longitude from address using C# or Javascript?

I have a requirement to get latitude and longitude from address using C# or Javascript, any solution will work. So, how can I get them using address?

Basically, I need to convert the address into Lat / Long and show it in Google maps in ASP.NET MVC web-application, so javascript solution will also work.

Note: I don't have lat/long, just address of the user.

...
Type
Question
2594 0
Understanding C# Classes and Objects with example
In this article, I will provide you proper details for understanding C# classes and objects with the example using Visual Studio console application.
Type
Article
2586 1
how to add image in folder & image path in db in mvc??

How can i add image path in database, while image in the project folder using ASP.NET MVC C#??
As asked on facebook group

...
Type
Question
2581 1
Serialization & Deserialization in C# With Console application example
In this article, I have explained the concept of Serialization & Deserialization Class object in C# with an working console application example.
Type
Article
2564 2
How to check if I am using localhost server or not in C# MVC?

I am trying to create a background job using hangfire as explained in this article "Background jobs in ASP.NET MVC C# using Hangfire.io" but I don't want to run this background jobs when working locally.

So, How can I check if I am on localhost in C# & ASP.NET MVC and not run this background jobs?

...
Type
Question

Page 9 of 16