.NET Core v3 doesnt have UseIdentity() when building ApplicationBuidler in...
I upgraded & ran into this issue where `UseIdentity()` is not available in StartUp.cs when building application (ApplicationBuilder).The webservice use it so what is the recommended fix? The MVC...
View ArticleHave problem in convert old asp.net to asp.net core
I try to convert my asp.net mvc 5 project to asp.net core mvc project but I have one problem in converting.In my old project I used two class from System.Web.Mvc but is not exists in asp.net core.The...
View ArticleQuerying Azure Active Directory Data from Azure SQL Server
Hi All,This is local database querying LDAP Active Directory userprincipalname...
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 ArticleUse Resources File(.resx) In Jquery Or Javascript In Asp.net Core
Hi,i have website with 3 language i must show message for any language like this : if (lang == "en") { alert("update data successfully"); } else if (lang == "fa") { alert("اطلاعات با موفقیت ویرایش...
View ArticleWhat happen if someone do not accept the GDPR alert inside asp.net mvc core 3.1
I am working on an Asp.net MVC core 3.1 registration web site for the US market, where the users enter his/her mobile number >> and on the next screen they enter their info to register with us....
View ArticleUser.identity and user.identity.name is null for only one user
Hi, User.Identity and User.Identity.Name is null for only one user while fetching the user id with domain in .cshtml page. But the same thing (User.Identity.Name) is working fine in one HTML page. In...
View ArticleWhat are some simple ways for uploading my ASP.Net Core project?
Hello,I'm new to programming and I just finished my first ASP Net Core project. I want to deploy it on the Internet, But I don't know how to do it.So, What are some simple and free ways to upload...
View Articlehow to add model errors while script injections for .net core mvc application...
I wanted to prevent script injections using model binders, which I did using model binders but is there any way to add errors to Model instead of encoding the value, I want to display error message...
View ArticleHide value of enum from the html (UI)
I have an enum type like: public enum EntryState { Proposed = 0x0001, Canceled = 0x0002, Approved = 0x0004, // for compatibility only! [Display(Name = "--Authorized--")] Authorized = 0x0004, Repproved...
View ArticleLocalizer of blazor webassembly no working in zh-hans.
I followed the sample project in https://github.com/pranavkm/LocSampleHere is the code of Program.cs:using System; using System.Net.Http; using System.Collections.Generic; using System.Threading.Tasks;...
View ArticleCustom Logging - Circular Dependency Injection / Infinite Loop problem
I tried to write a customer ILogger / ILoggerProvider that has a dependency on a service that has a dependency on ILogger :) That leaves me with a circular reference and an infinite loop.How could I...
View Articlebetween two dates as where condition along with GETALL() method
I have the following model. I am trying to get all the records of vehicles , the MOT dated coming under between two dates . I want to give where condition in GetAll method linq public class Vehicles...
View ArticleModel/database structure for different product types
Let's say i have a webshop, and i would like to sell 2 different types of products, flowers and furniture for example. How should i structure the models/the database to be able to have different...
View ArticleHow to handle data in resource files programmatically?
HiI'm totally new at multilingual apps. I've applied this topic for multilingual core 2.1 mvc web app....
View ArticleASP.net core and graphQL
I have build an asp.net core project which get Rest API calls and return data.now I added a GraphQL option as well, and I have some issue not clear :1. when I run the project and go to...
View ArticleAsync with Data Access Classes
Hello everyone and thanks for the help in advance. I have a Core 3.1 web application using EF Core for DB access. I want to create an insert class that receives a set of parameters that in turn...
View ArticlegraphQL and mandatory field
1. when the end user request for a graphql query, if there is an issue i have a field that will return the description of an error,for that i am using the property called "message".the problem is that...
View ArticleCan i prefix all the action methods inside the urls with a static name
I am working on an asp.net mvc core web application, and currently when i access the root url it will behttps://localhost:44363/ which represents https://localhost:44363/home/index. but my question is...
View ArticleRazor Syntax for Division of 2 values
Hello:Having trouble performing simple division on 2 values in Razor on a view:Trying to divide a @Model.Sum with @Model.Count: @(@Model.Sum(i => i.MTDTotalSalesRollup)/@Model.Count())I am getting a...
View Article