Hello, I would like to know how can I get currently logged in User ID using ASP.NET Core Identity in ASP.NET Core 3 or 6? Trying to Use MVC Version 'User.Identity.GetUserId()' but it doesn't help.
Hi. I have installed the package Microsoft.AspNetcore.SignalR. And when run my project I have faced this error :
Could not load file or assembly 'Microsoft.AspNetCore.Connections.Abstractions, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
how can I resolve this issue? Thanks.
...Hello
I am trying to fill a dropdown list with the values of my tables. I don't need all of the values so I have to use a "where" clause
here is my code
...I would like to know methods to improve performance of asp.net MVC web application? To get better score on Google Page Insights
Thank you
...Hi, I have made a recurring job in my asp.net core application using HangFire.IO, which trigger after 5 min of interval, here is my C# Code
...I am trying to add new migrations in ASP.NET Core 3 web-api application which has already created database and using code-first approach, so when I trying to add new migrations, after creating Class and adding it in DBContext, getting this error, as shown below
"More than one DbContext was found. Specify which one to use. Use the '-Context' parameter for PowerShell commands and the '--context' parameter for dotnet commands."
...
1. I want to fetch some data from DB (parameters false ,true,some id(e.g.: 30245)) Following is function written in controller :
...I need some help in my asp.net MVC web-application, how can I Upload an excel file and extract or save(import) excel file data into my MS SQL server database using asp.net MVC and C#?
Any reference link or code will help, as I want to perform both uploading a file and saving its data into database, any combined solution will work
thanks
...Hello Guys !!
Actually, My Requirement is to create a Gridview dynamically and bind data in grid view and generating another gridview same time on the previous grid view row again and again...
1.Binding Gridview Dynamically from code Behind In asp.net from database table
2.Generating another Gridview on from above gridview row index if data find.
My Code
...I was trying to checkout from branch or you can say I was trying to change the branch of my Visual Studio 2017 project using Visual Studio's inbuilt Git, but I am facing the below error
...