4203 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
4199 2
How to bind a dropdownlist to a bootstrap datepicker

Suppose I have a Dropdownlist where the items are coming from database in MVC. Now inside the table from where the Items are coming, there is also a Datetime Field. Those dropdownlist entries are list of employees and entered in a particular date. Now what I want, is, I want to populate that dropdownlist based on another datetimepicker in another view. When I will be selecting a date, the items entered on that day will only be shown in my dropdownlist. How can I do that?

...
Type
Question
4120 3
Access denied when permission of app to my application is denied with Facebook authentication in asp.net core

Hello. 

I have created an app at Facebook developer  is built in asp.net core . I have a client set up to be authorized with that IdentityServer.
Now when i try to access a secure resource on client application, identity server redirects me to my identityserver website. There i try to authenticate via Facebook . After logging in, Facebook  asks for the persmission that my identityserver needs to access . If i allow there, it all works fine .
But the issue arises when i click deny, then Facebook  app redirects to my identity server website with error="access_denied" in querystring and my identityserver website throws exception
regarding that access denied error.

How can I handle that situation given the fact that I do not allow the application to access information at Faceboook? Thanks.

...
Type
Question
4093 2
Difference between LocalDb and SQL SERVER Software?

What is the difference between creating database inside localDb in visualstudio and creating database in sqlserver and joining it in VS .

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

4058 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
4032 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
3993 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
3906 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
3894 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

Page 24 of 31