C#

819 1
How to convert JSON String into C# class object

I am trying to convert JSON object into C# class object, Using a really simple test case:

...
Type
Question
JSON C# serialization deserialization
642 2
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
C# web-config code-first-migration entity-framework
454 1
how to catch all error in C# MVC (error handling)

I have a website in C# MVC and I want to add a feature to it, i.e, to save all the errors in database using one function only, I can place try/catch block in every method of the web applications but it would be lengthy process, so is it possible to place a method/code in one place from where I can save each and every error in database??
I have no idea

 

 

...
Type
Question
C# Error handling
444 0
Bundling and Minification in MVC C#
Articles explain about bundling and minification process and steps to achieve it in ASP.NET MVC C#
Type
Article
asp.net mvc bundling minification
399 1
Cannot convert null to a value type JSON error

I am getting error 'Cannot convert null to a value type' when trying to deserialize JSON response into class object
I have the following code in C#

...
Type
Question
C# json Deserialize

377 1
DbArithmeticExpression arguments must have a numeric common type

When I am trying to run this command using Entity framework in controller of my project

...
Type
Question
C# Linq Entity Framework
377 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
ASP.NET MVC C# Save-image
356 0
Transfer e-mails from one exchange server to another using EWS Api in C# .NET
Transfer e-mails from one exchange server to another using EWS Api in C# .net MVC
Type
Article
ews C# asp.net MVC
315 1
how to get location name (address) from lat-long in c#

How can I get location name(address) by entering latitude and longitude using google maps or any other API in C# .Net?

thanks 

...
Type
Question
asp-net C# google-maps get-address-from-lat-long
305 1
Update page without loading it using PartialView

How can I make a controller in ASP.NET MVC do something(here it is inserting data in database) but doesn't load or reload the whole view just the partial view

...

Type
Question
C# MVC ASP.NET

Page 1 of 4