3845 1
Can we use Nested switch case in C# or switch case under if else case in ASP.NET C#?

Hello,Can we use Nested switch case in C# or switch case under if else case in ASP.NET C#? If yes, can anyone provide an example? I have been successfully able to redirect users to certain pages depending on the basis of the ratings. Now I want to redirect them depending on the basis of the ratings as well as DestinationID. I have attached the code for redirecting users depending on the ratings done by them.

...
Type
Question
3838 2
how to show custom errors in C# MVC

I would like to show custom errors in my Asp.NET MVC C# application, how can i achieve it?

...
Type
Question
3803 0
Read Values from appsettings.json in .NET Core
This article will demonstrate how we can read the values from appsettings.json file in .NET Core and use them in our application step by step.
Type
Article
3798 1
How to add, edit & delete data into database using treeview with checkbox in ASP.NET MVC with entity framework.

How to add,Edit and delete data into database using treeview with checkbox in ASP.NET MVC with entity framework.

...
Type
Question
3736 0
jQuery Autocomplete Textbox in ASP.NET Core MVC
In this article, I have mentioned how you can create jquery autocomplete textbox using ajax in ASP.NET Core MVC
Type
Article

3736 1
removing a particular row from the table using MVC C# throws an error

I am trying to delete a row from database in asp.net MVC C# using the code below

...
Type
Question
3713 1
How to send value from model in view to javascript file?

In asp.net MVC, How can I send value from model in view to javascript file? 

...
Type
Question
3677 5
FB page Login Failure. Unsuccessful login with service when using OAuth in MVC

Hi, I want to login with  facebook account from my website MVC4 razor c# and add permissions for a FB user and for a FB page. I was found this article and try to do the same https://github.com/aspnet/Docs/blob/master/aspnet/mvc/overview/older-versions/using-oauth-providers-with-mvc.md

but I'm facing this error :  Login Failure. Unsuccessful login with service.

What does this error means and how can resolve that problem. Thanks.

...
Type
Question
3646 0
C# FromQuery Example in ASP.NET Core API
In this article, I have explained what is FromQuery and how we can use it in ASP.NET Core Web API to get values from query string.
Type
Article
3629 1
How to use NuGet Package in Visual Studio Code Linux Ubuntu to add package.(.net core2)

Hi, I'm new at using Visual Studio Code on Linux Ubuntu to create a web site (asp.net core2). I have installed NuGet Package in my Visual Studio Code but want to add some package.

...

Type
Question

Page 24 of 31