Identity not working with MySQL
Hello, i have a problem working with Identity using MySQL, when the program enter the _userManager.CreateAsync(newUser, userModel.Password); line its from Identity, it always give an error: "connection...
View ArticleAuthorization with JWT
Hi,I would like to use JWT for webapi but would like to find out if there is a way not to use the traditional username and password for login.My idea is to use a generated PIN number to replace...
View ArticleViewData and ViewBag
I know this has probably been talked about alot around here, but I'm always confused about this.So I want to be able to show a message to the users of my app when something has happened or an action is...
View ArticleObject reference not set to an instance of an object - Sort of Error
I was having a look at why scaffold option is missing from my controllers options and found some information on additional references I didn't have in my references. Added and updated to remove...
View ArticleWhat is meant by .NET Core plugin , what is its download link and name. Regards
What is meant by .NET Core plugin , what is its download link and name.Regards
View ArticleEF Core 2.0 Cannot specify primary key for model
It could very well be trivial, but I can't see what's missing in the following snippet:using System; using System.ComponentModel.DataAnnotations; namespace Intro.Models { public class Todo { [Key,...
View ArticleStatic assets are not loading while hosting an ASP.NET Core application
Hi Folks,I have hosted an ASP.NET Core application in IIS by following this article and I face some challenges while browsing the application after hosting.Static assets (Styles , Java script files)...
View ArticleConcatonate values to the subject of eamil, instead of write to file
Hi, if I press a link to create an email form one page (PLC Blocks).Which runs an email function in the Home Controller.How can I concatonate PLC Block table record values into the subject?Like -...
View ArticleASPNetCore MVC interferes with Let's Encrypt installation/automatic renewal
See this post :: http://www.westerndevs.com/Tools/Lets-Encrypt-ASPNET-Core/The developer had to create a "WellKnownController" to be able to handle Let's Encrypt Installation.My issue :: I can't use...
View Articleget referrer UseStatusCodePagesWithRedirects
When a user goes to a non existing page, I refer to the standard login page :public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) {...
View ArticleCould not load type '' from assembly 'mscorlib, Version=4.0.0.0,...
I have added project of version 4.5 in Asp.Net Core 1.1. There was compatibility issue then I have installed packageInstall-Package Microsoft.NETCore.Portable.Compatibility -Version 1.0.1 After package...
View ArticleDevelop simple app in asp.net core
Hii need to create simple application to create in Asp.net Core ( Web API) which receive some data's from the client then manipulate the data's then send back to the client.Should develop in windows...
View Articledeploy the mvc app
i just created simple test mvc application with visual studio code , i don't know how to deploy it on the server machine?can i deploy this app like asp.net web site or need to follow some special steps...
View ArticleObject array in Wep Api
Hi folks,In Console App:Staic Void(.....){ // rest omitted while (ienum.MoveNext()) { LdapAttribute attribute = (LdapAttribute)ienum.Current; string attributeName = attribute.Name; string attributeVal...
View ArticleLink pointing to other site don't work
I have a simple link that does not work. Clicking on it defaults to adding the linkt to the current controller directory:the @Model.Webside is just a string with a website adress. like...
View ArticleJSON Models with Children
I'm still learning .NET (and .NET Core), and am having problems wrapping my brain around something. So I'm hoping someone can give me a nudge...I'm trying to return some JSON data from a Controller...
View ArticlePossible to hide Key and Value display in Json?
Hi folks,Here is my code:List<KeyValuePair<string, string>> attributeList = new List<KeyValuePair<string, string>>(); while (ienum.MoveNext()) { string attributeName =...
View ArticleChoosing MVC 5 OR Core 1.0 OR Core 2.0
Friends,We will be planning to create ASP.NET MVC applications on-premise then moving to Windows Azure using Visual Studio Team Services.Our objective as below.1. Calling restful web services 2. SAML...
View ArticleStep through records of a table
Hi, how to step through the records of a table and write concatonation of each record to seperate line in body of email.Thanks,
View Articlecall AntiForgeryToken api
hi i have created no authentication asp.net core mvc app, i added api controller, tested using postman working fine then i enabled AntiForgeryToken after this i can't consume the api from postman ....
View Article