In registration screen how can I show Isauthorised column just beside of the...
How can I show the IsAuthorised checkbox just close to the of its label<div class="row"><div class="col-md-4"><form asp-route-returnUrl="@Model.ReturnUrl"...
View ArticleC# .Net Core 3+ WPF and Asp .Net Core communication
Hello I'm looking solution C# .Net Core 3+ WPF windows application and Asp .Net Core(with EF) server communication,Working idea is that authorization is from WPF application with email and password and...
View ArticleNot getting the login user details from my controller
I dont know how can I get the login user details in my controller. from Google I applied the following code but the error is coming as given belowInvalidOperationException: Unable to resolve service...
View Articlehow can I get the value of AspNetUsers column value from another controller
HiI have added one additional column to the existing AspNetUsers . The column name IsAuthorised . Some user have the value 0 and some users have the value 1 against this column. How can I get the...
View Articlelogin user is coming to the variable but cannot be assigned
I am trying to get the value of the login user from the column IsAuthorised . but when I debug the values is stored in var user but when I try to store the value of isauthorised column it is not...
View ArticleGet data from active directory using react and asp.net core
Can someone share code to retrieve user details along with thumbnail image to be displayed basis the input SamAccountName. This has to be accomplished using asp.net core and react. I am pretty new to...
View ArticleCORS Policy - driving me insane
Hey everyone. I'm learning .NET Core (currently using version 3.0.1, and ASPNETCORE_ENVIRONMENT is currently in development mode) for development and have built a project that uses the framework for a...
View Articleiis express command line
I am trying to run:cd\ cd "C:\Program Files (x86)\IIS Express" iisexpress.exe /config:"C:\Users\jimwin7a\source\repos\pcore31\.vs\pcore31\config\applicationhost.config" /site:"pcore31"...
View ArticlePrevent users from directly accessing files inside our asp.net MVC core web...
I have 2 excel sheets inside my Asp.net core MVC web application under a folder named "Files" as follow:-Where i am referencing these files inside my TextFieldParser method as follow:-public class...
View ArticleNavigation Property Woes for 1:1 relationship
I have 2 tables. bags and people. Each bag was obtained from 1 person first. So I have a foreign key on the bags table field ObtainedFromPerson that references the PersonNumber of the table of People...
View ArticleWindows Authentication in ASP.NET Core with Kestrel On Linux Plateform
Hello, I am not a developer but I work with others on the implementation of windows authentication in net.core on Linux platform. Apparently, this is now possible directly with Kestrel in version 3...
View Article500 Error with async call
In my controller I have the following: and it working.If I pull everything from the table it works:[HttpGet] public async Task<ActionResults> GetAll() { return Json(new { data = await...
View ArticleOpen ID Implementation .Net Core
Hi Team I need to implement OPEN ID in my website , can you please tell me what all steps needs to be taken care.RegardsManoj
View ArticleHow to route to the selected language in Core MVC?
HiI've applied this topic for multilingual in mvc core 2.1 web app.:https://medium.com/swlh/step-by-step-tutorial-to-build-multi-cultural-asp-net-core-web-app-3fac9a960c43The example above is applied...
View Article2 DBContext conflict on the Azure server
Hi All,I have 2 DbContext on startup.cs , one is for Identity and other is other table access. On my local it is fine but when i deploy to Azure following is displayedHTTP Error 500.30 - ANCM...
View ArticleWhen I select the date from the drop down calendar always show the date in...
When I select the date from the drop down calendar always show the date in the format 'mm/dd/yyyy' . How can I bring the date from dropdown in the format 'dd/mm/yyyy' .I can mannually type the date...
View ArticleSwagger Web API Cors error
Hi All,I am using Client Credential Method.I having error:-(index):1 Access to fetch at 'https://login.microsoftonline.com/xxxxxxxxxxxx-xxxxxxxxx-xxxx-xxxx-xxxxxxxxxx/oauth2/token' from origin...
View ArticleField not rendering across 3 table relationship
Hi So I am using ASP.NET Core 2.2 with EF Core with SQL Server DB. I got a database that looks like this. So I have 3 tables in SQL Server. tblJobs, tblResults and tblProblems and others I omitted as...
View ArticleProblem to access .net variables via JavaScript!
HiIn my view, i want to access some of my code behind variables which stored in TempData. To do this, i've using this code for my view & scripts :@model DefaultVisitProductHeaders<div...
View ArticleHow i can only deploy/publish the modified component using visual studio ftp...
I have an asp.net core MVC web application and using visual studio 2017, i have deploy it to an IIS server using ftp option inside Visual Studio. now i have modified couple of views and some action...
View Article