8523 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
8512 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
8509 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
8498 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
8423 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

8410 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
8139 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
8113 2
How to add windows authentication sql server connection string in Web Config?

I am currently using Entity Framework in my ASP.NET MVC web application, I would like to use windows authentication in SQL Server string, so how can do it?

Currently, I have web.Config configuration using username/password of SQL Server in the connection string as below

...
Type
Question
7998 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
7903 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

Page 14 of 31