ASP.NET Core Identity Cant create user
Hello everybody,I install Visual studio Community 2017, create new project, create SQL Database in Microsoft Server, want to create admin role and asign user to that role.Making everything by this...
View ArticleHow to get JavaScript Data from Razor View into ASP.Net Core 2 Model?
How can i get my JavaScript Data like strings from my Razor Page View into the corresponding Model inside my ASP.Net Core 2 Application?What's the state-of-the-art, fastest and easiest way to do this?...
View ArticleASP.NET core support to ASPX view engine
Hello,I see that ASP.net core supports razor engine, is it possible to use it with the ASPX engine?I have an mvc app with aspx, I'm looking to migrate to ASP.NET core, please advice.Thanks,AM
View ArticleMVC Authentication/Authorization in a ASP.NET Core App
I am using Visual Studio for MAC and when I create an MVC app for ASP.NET Core I don't get an AccountController or any questions about the type of authentication that I would like. There and not any...
View Articlemultilevel categories in asp.net core mvc
Hello.I am working on categories in my project an i need to create multi level menu for categories.I am very confused in Model creating And inserting methodModel:(Category.cs)int IdString TitleInt...
View ArticleHow to Create a Benchmark to Measure the best solution between...
How to measure cpu utilization (or other ressource) between IAsyncAuthorizationFilter and IAuthorizationFilter I think Async it is better but of how manyCould you teld me wich indicator to monitor...
View ArticleQuestion about set up development environment to lean .net core
Hi, I have visual studio 2015 installed for developing asp.net applications.Now, I want to learn asp.net core, and need to install .net core1.0 or even 2.1. I did some searches, it seems .net core 1.0...
View ArticleApparently Random Error: "Antiforgery token validation failed. The...
Background I have a relatively new ASP.NET Core 2 site. It's running on just one server, and I only restart the site once every few days when I upload an update. About once a day, a user's request...
View ArticleArgumentException with BuildWebHost - .Net core 2.0
That's the way I've added what has been made in this article, it makes me mistake every time I try to run the website.i have make this here:System.ArgumentException: 'Cannot instantiate implementation...
View ArticleBy using Jquery Div style wont change
Hi,I'm experiencing some difficulty getting a div to show and cover up by setting its show in JQuery.I have this div. (if it's not too much trouble take note of that this whole div is additionally...
View ArticleAjax not working (Installed Microsoft.jQuery.....)
Hi All, is anyone have idea why Ajax seems not recognized even if I installed Nuget packages microsoft.jquery.Unobtrusive.Ajax and microsoft.jquery.Unobtrusive.Validation,when I typed Ajax. in my...
View ArticleHosting new .net Core 2.0 app as windows service while using exclusive .net...
I am attempting to deploy and host my first .Net Core app as a windows service, but am running into an issue. Once I set up a .Net Framework (net461) as my TargetFramework I am getting errors due to my...
View ArticleEF Core Update Multiple tables of same structure based on condition
I have two tables Example:table1:ID Value1 One2 Twotable2:ID Value3 Three4 Fourand have only one modelclass values{publicint ID {get;set;}publicstring value{get;set;}}How to I add two tables to...
View ArticleAzure csv radgrid dataset bind attempt
I am attempting to download a csv file from Azure container blob, read and load it to a dataset and then bind it to the radgrid. I can download the data and set it to a string (the sample data is...
View ArticleRead excel files in ASP.NET CORE 2 in Azure App Service.
What are the options to read xlsx files in asp.net core 2.0? Is there any official solution recommended by Microsoft?
View ArticleGood architecture for code re-usability with ASP.NET Core
I want my project's code to be re-usable as well as it is possible. That means let's say that I start with classic MVC application(controllers that return views) and then some day I decide that I want...
View ArticleIntegrate ASP.NET core 2 identity with custom tables in ASP.NET core 2 WebAPI...
I'm building a web api based on Core 2.0. I want to integrate users, though, and I plan on using ASP.NET Core 2.0 Identity. The authentication scheme for the WebAPI should be token based. The frontend...
View ArticleWhy does browser show “ HTTP ERROR 500” when browsing ASMX file?
I'm building ASP.NET web service, and publishing it by following this tutorialAnd when browsing the web service ; it shows:localhost is currently unable to handle this request. HTTP ERROR 500
View Articlecore 2.0 sample page with register login: mailkit instead sendgrid possible?
Hello guys,i am using the core 2.0 registration / login / logout sample page....
View ArticleShould I always prefer async actions over sync actions?
I'm confused when should I use async actions and when not. Can I just use async actions for all of them? Get, Post etc. Considering I almost always query database from my actions. I read that I only...
View Article