11684 2
How to clean and build solution in visual studio code (.net core2)

Hi, I want to build and clean my project solution in visual studio code, but I can't find the option of clean and build in visual studio code, like we clean the project by clicking right project and click on "Clean" or "Build" in Visual Studio.

How can I do the same thing in visual studio code. Thanks.

...
Type
Question
11645 1
Pass checkbox values to Controller and show confirmation before deleting data in MVC C#

Hi, I want to pass multiple checkbox values for deleting data like

checkbox1: a,b,c,d  checkbox2: e,f,g,h

and pass it to the controller and want to show modal popup before sending Data to the controller:

Are you sure, you are going to delete 2 items? (Delete/No)

the modal pop-up will contain the only count of selected data and delete button for confirmation?

Delete button will delete all selected data

should I pass the data in JSON format or in the string?

Right now, I am passing the data like : var a = {values = CommaSeperatedValues}
In the controller Method passing argument as List<string> values and fetched values but I am getting an error like unexpected char at JSON

...
Type
Question
11494 2
disable browser back-forward button after logout in MVC

how can I disable browser back-forward button after logging out from asp.net MVC C# web application, I have tried this javascript code

...
Type
Question
11418 0
Use of Ajax.BeginForm in ASP.NET MVC C#
This article gives a brief introduction to Ajax.BeginForm & explains how to use it in ASP.NET MVC C#
Type
Article
11324 2
Compressing (reducing size) of PNG image using C# in .NET MVC
This article will help you reduce size or compress png file size using C# and nQuant in asp.net MVC, it converts 32 bit PNGs to high quality 8 bit PNGs
Type
Article

11295 0
OutputCache in ASP.NET MVC ( Caching in MVC)
This article will help you in understanding the usage of OutputCache with its filter parameters and how to improve the performance of your web application using OutputCache with an example.
Type
Article
11236 2
How can I add new SelectListItem at first position of a List in C# MVC?

I have already created a List in my ASP.NET MVC Controller, now I would like to add new Element at first position of the sorted list, how can I add it using ASP.NET MVC C#?

Here is the current C# code.

...
Type
Question
11175 1
Create Captcha in asp.net with refresh button (Code with example)
In this Article, I will Explain how to add and validate Captcha Image in Asp.Net Application using Mscaptcha dll Example with refresh button
Type
Article
11110 3
Best extension to convert C# Class to Typescript Interface Class

Hi, i just wanted to seek advice what is the best extension to reuse and convert my C# Class to Typescript Interface Class without coding it again. 

I've seen many extesions out there. Just copy and paste and it will produce typescript class, but I don't know what is the best of them. I also want a converter that convert accurately. Thanks, Happy Coding! :)

...
Type
Question
11012 1
Form Submit in ASP.NET MVC C# (HTML.BeginForm Example)
In this article, I have explained about HTML.BeginForm in ASP.NET MVC and how to submit form in asp.net mvc C# using simple example.
Type
Article

Page 7 of 31