8443 2
MaxJsonLength error during serialization or deserialization using the JSON JavaScriptSerializer in ASP.NET MVC

When I am trying to return JSON data to my jQuery Datatable(Ajax based), It is working in some cases, but it is throwing below error in some cases

...
Type
Question
8420 1
How to calculate distance between two geolocation?

I am calculating distance between two Latitude and long
one is the current location of the user and another from the database, I want here if the lat-long distance is between 4km then show data

how can I do it using C#?

...
Type
Question
8344 0
Model binding and Custom Model binding in MVC
In this article,first, I will explain about Model binding in ASP.NET MVC and then I will explain to create custom model binder in mvc C#.
Type
Article
8342 2
How to ignore files while committing code on GitHub using Visual Studio?

Hello, I am using Visual Studio and I was constantly adding "/bin/projectname.dll" files on GitHub until now, but now I want to ignore these .dll files. So How can I ignore these build files and push only files like .cs, .html,.js ,.css etc to GitHub Repository.

...
Type
Question
8331 1
How to upload image on cloudinary in ASP.NET MVC?

I have just started using Cloudinary to upload images for my client's project there & I was trying to upload an image using explanation provided here https://cloudinary.com/documentation/dotnet_image_upload but it's not working for me, can you explain a complete example of this? Or any link of tutorial will also help, thanks.

...
Type
Question

8206 0
Redirect from non-www to www website using IIS (and Vice-Versa)
In this article, we will see how we can redirect from non-www website to www website url using IIS URL re-write feature or using web.config.
Type
Article
8056 2
Populating DropDownList with values showing error There is no ViewData item of type IEnumerable SelectListItem that has the key Name

I Have populated the DropDownList with the roles from the AspNetRoles, when I am registering a new user and allocating a role an error is thown

"There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key 'Name'."

My AccountController :

...
Type
Question
7902 0
Custom Error pages in ASP.NET MVC
In this article, I have explained how you can show custom errors in ASP.NET MVC web-application using web.config and Controller settings.
Type
Article
7813 2
How to delete a single Record using Entity Framework?

How can I delete (remove) single record from database table using entity framework in asp.net MVC Controller?

please note I want to delete row of selected Id from the database permanently(Not to make a column IsActive and set it as false)

...
Type
Question
7772 2
How to enable SSL in locahost using Visual Studio 2017?

Hello, I was trying to Enable SSL in localhost, means want to turn http into https in localhost , while debuggind code in Visual Stduio 2017, how can I enable this in Visual Studio 2017 community edition?

...
Type
Question

Page 14 of 31