How to get and set checkbox list in ASP.NET Core
Hello.I have 3 tables :Roles : Id, NamePermissions : Id, TitleRolePermissions : Id, RoleId, PermissionsIdAnd one RolePermissionViewModel : string RoleName - List<Permissions> RolePermissionsOk,...
View ArticleUsing office365 as an smtp server in Asp.Net Core
I want to send users emails from my webapp hosted in Azure. I've been following a tutorial and have this code (filled in with my details, of course):public void SendEmail() { var client = new...
View ArticleASP.NET Core 2 to IIS with Window Authentication
Looking for assistance to publish ASP.NET Core 2 to IIS with Window Authentication. In other words, just trying to build Intranet Applications.Thanks in Advance,David
View ArticleHow to do Unit Test with Dependency Injection .net Core 2
HiI start to develop a new web application, I create a Domain Object, Inteface, DAL and BLL...I would like to test all before use that.If I use the developed function in web application in .net core 2...
View ArticleAdding client certificate for mutual SSL in ASP.NET Core SignalR client
Hello, I'm trying to find a way of using a X509Certificate2 as a client certificate in a Microsoft.AspNetCore.SignalR.Client application. Is it possible? I couldn't findThe server was written using...
View ArticleCors (Allow method) is not available in options request
I am getting Cors error in browser console."XMLHttpRequest cannot load http://localhost:9000/store/get/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin...
View Article.Net Core Scaffolding - Timeout expired. The timeout period elapsed prior to...
Can anyone suggest why I get the following when trying to reverse engineer the models for a .Net Core Web API? The Scaffolding text does not throw an error if the database is small.Scaffold-DbContext...
View Article.Net Core API Authentication with multiple providers
Hi, I have this scenario where our API would serve multiple clients using their company federated identities. That is, suppose User 1 works for Company A, User 2 for Company B, ..., User N with...
View ArticleSetting and using Environment Variables in Visual Studio 2017
I've been doing a bit of searching for a guide on environment variables and how to use them but I'm only finding old documentation and most of this documentation only goes into how to set the...
View ArticlePerformant Dynamic UI When Migrating From MVC4
Hi there, I have done some searching but have struggled to find a definitive answer to the best way of developing an MVC web app with a dynamic UI in the most performant manner in ASP.NET Core.We have...
View ArticleASP.NET Core MVC Component.
How can I make my component automatically refresh in every minute in ASP.NET Core MVC App?
View ArticleAccessing .net core website hosted on Ubuntu 16.04 through internet
I am following along this tutorial to deploy my asp.net application onto Ubuntu. I have installed .Net core 2.0 on my Ubuntu machine using this post. NO issues with that excellent article. My VM...
View ArticleLockout in ASP.NET CORE not working
Hi guys,I want to make Lockout for Users when some times of tries login, but it not work with me, i do not know whyThat in my code in Startup class:services.AddIdentity<AppUser,...
View ArticleDefault route not working in Asp.Net Core
I have the following Controller & Action that I want to be the first page that is loaded when the user enters my webapp: [Route("auth")] public class AuthController : Controller { [Route("signin")]...
View ArticleError: AmbiguousActionException: Multiple actions matched.
I'm new to Core and I'm getting this error, what is the cause how do I fix it?An unhandled exception occurred while processing the request.<div class="titleerror">AmbiguousActionException:...
View ArticleUnable to get authenticationType in ASP.NET Core Web API
Question on Stackoverflow: https://stackoverflow.com/questions/45684877/unable-to-get-authenticationtype-in-asp-net-core-web-apiI'm writing a simple ASP.NET Core Web API that needs to return "true" if...
View ArticleGenerate PDF on server side
Hi, I want to generete PDF on server side. I`m looking for free solution, the biggest problem is that many libraries(e.g. iTextSharp or PdfSharp(for core) ) doesn`t work with asp.net core preview2, so...
View ArticleRunning without Debugger: Site shutdown
Hello,if i run my page with debugger, the site open normaly. If i startet without debugger, it runs to https://localhost:44384/ and i get from chrome the ERR_CONNECTION_CLOSED Message. What is going...
View ArticleDifferents between an Angular project and a Visual Studio Angular template...
<div class="post-text" itemprop="text">I'm new in Angular development and I have created a project using Visual Studio 2017 Angular's template (I also using ASP.NET Core for the WebApi).Visual...
View ArticleDead View with Unexpected error writing debug information
I have Asp.Net Core application running on full 4.6.1 framework on on Windows Server 2012R2.Sometimes Razor view will become dead, and will report "Unexpected error writing debug information --...
View Article