4743 1
How do I stop from browser being closed when I stop debugging in Visual Studio 2017?

I have recently updated my Visual studio from 2015 to 2017 and started using 2017 now, but when I start debugging in it, it opens website in new browser tab and as soon as I stop debugging it closes the browser tab/website also.

Previously, in Visual Studio 2015, Browser tab never used to get closed as soon as I stop debugging.

So, how i can disable this new feature and keep website open/running even when debugging is stoppped in Visual Studio 2017?

...
Type
Question
4708 1
Format of the initialization string does not conform to specification starting at index 120.

I have uploaded a new website on server, but when i try to run it on web-browser i am getting this error

Format of the initialization string does not conform to specification starting at index 120.

What is the cause of issue & how to resolve it? I didn't got this error before

...

Type
Question
4486 1
Calling Web Method in ASP.NET from jQuery Ajax
This article will give you quick example on how to call Web Method of ASP.NET using Ajax in jQuery.
Type
Article
4447 2
How to do server validation in bootstrap pop-up modal?

I am using partial in pop-up modal, and I wanted to do a server validation but I want the modal will stay, is it possible without reloading?

I am using "Ajax.BeginForm". Thanks

...
Type
Question
4426 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

4422 1
Clicking on browser back button after login shows login page again??

How can I maintain the session of the user in ASP.NET MVC? Here is the login case for the user. (Only authenticated users are allowed to login in the system.) But once the user gets logged in and press the back button then the user needs to login again. I want to solve this issue. Can anyone have idea about it?

...
Type
Question
4378 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
4298 1
No parameterless constructor defined for this object.

Hi, i am getting this issue while running a page in MVC, it was working fine previously, but i now i am getting the error as below

...
Type
Question
4292 3
What does Service Layer do? Repository Pattern / Unit Of Work

Do i need Service Layer? From my point of view/understanding.

Presentation Layer = UI

Business Logic Layer = Domain/Entities, Interface and (should DTO resides here)?

Data Access Layer = Implementation of Repository Pattern, CRUD.

Service Layer = ???

If the BLL has Domain/Entities? what layer does business validation belongs to? 

From what i know and searched. Entites and DTO is plain.

 

 

...
Type
Question
4289 0
Understanding ASP.NET Gridview control with an example
In this article, I have explained about how we can create gridview in asp.net and how to bind gridview with data in Sql server database, with an example.
Type
Article

Page 11 of 27