Authenticating SPA+API with Authentication Server
I have been reading about OAuth and JWT in general. One question that has been troubling me is around authentication of SPA that use APIs to provide data. As per my understanding - SPA shows user a...
View ArticleWindows authentication propmts for credential
HI,We have configured the application to use windows authentication and it's published to IIS. The following configurtaion has been completed but still browser propmts for user credential. Please share...
View Article"InvalidOperationException" error showing values from model in ASP.NET Core...
I am trying to show values in table from controller to view using model but it shows an error. I have debugged and checked values are returned OK, but the code shows an error. I don't know where is...
View ArticleClear user INPUT after submit (OnPost) Task
I have a razor page for a contact page, once I have submitted a request the email is sent however on success I want the user input to be cleared to prevent them from sending the information several...
View ArticleLoading different version of strongly typed assembly side by side.
Hello,I have a dot net core console application which acts as base framework provides some services to client plugin developers. For simplicity lets assume base program exposes a interface called...
View ArticleNavigation Properties don't Httppost from View to Controller
I have a class whose properties (including a Navigation Property to another table) show up fine in the View. When I'm editing the properties and hit submit, all the properties get posted to the...
View ArticleHow to turn off bundling when debugging
How do I turn off debugging when I am developing?I have it generating the vendor.css and vendor.js files.On the javascript side, I do not want it to push to vendor when I'm in VS etc.I would like the...
View Article.core third part dll, app.config
Hi,I am trying to convert a project into .net core. It uses a 3rd part dll which I cannot change. This 3rd part dll reads from the app.config file. I added an app.config to my .dt net core project so...
View ArticleAccessing ApplicationUser Property in the Login.cshtml.cs page
I'm developing web application using ASP.Net MVC Core. I used "Individual user authentication" so the identity table, Register and Login pages is generated by default.I extended the identity table with...
View Article.Net core in Visual Studio 2012
Hi Is .net core work with Visual Studio 2012 . If yes wht steps to be doneThanks
View Articleasp.net core enforce https docker
<div>I have an asp.net core API which uses both http and https. To enforce the certificate use, I added the following in my program.cs:</div> <div>```</div> <div> private...
View ArticleAccessing Enum Claim in Login.cshtml.cs page
I'm developing a web application with ASP.Net Core MVC and identity. I extend the identity table as following with Enum field type "AccountStatusId" as following:ApplicationUser.csnamespace...
View ArticleCustom Model Validation (IValidatableObject) Not working...
Hello and thanks for reading. I'm a newbie, trying to learn .net core. I was learning how to create a custom validator, not using the Validation Attribute but at the class level. Unfortunately, I...
View ArticleIn 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 ArticleHow can I have optional sections in my web form?
Hi,I was just wondering how I could implement sections that are optional to a user as they are completing a required form? I'm working on a project and depending on user needs they may need to have the...
View ArticleRouting to a selected language returns a blank page!
HiI've applied this topic for multilingual in mvc core 2.2 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 ArticleRelations between tables - ASP.NET CORE MVC
Hi, I need your help again. I have a project in ASP.NET that I have to read data and put this data in a database.This is done. The problem now is to relate these two tables.I already made the...
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 ArticleHow to remove Hours From Date Control
HelloI have this control<div> </div> <div> [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}",ApplyFormatInEditMode = true)]</div> <div>...
View ArticleWant to update all three textbox using update button
<div class="comment-right-col comment-body"> <div>helloin my code i created store procedure in database sp_updatepackage and in the where condition of procedure i used package_name which is...
View Article