MVC Single page application authentication and authorization
I'm completely new to SPAs world and I'd like to build one using ASP.NET Core MVC as a back-end. But I don't know how to handle authentication in this case and the single user authentication option in...
View ArticleView Components and Ajax Server Side Validations
My app requires the ability to send emails on multiple views. I'm trying to use a View Component so I can reuse my logic multiple places. When the user clicks the Send button I don't want to refresh...
View ArticleWhat is default timeout value for CookieAuthenticationOptions in asp.net core...
Hi, I am using cookies middleware authentication in ASP.Net core project.I want to know default timeout value for 'CookieAuthenticationOptions.ExpireTimeSpan'. Also It would be great if anyone can...
View Articlewindows authentication and token authentication
Is it possible to combine both windows and token authentication method in asp.net core? I have been looking for some tutorial for this but can't find any. Or it is totally impossible to combine both...
View ArticleTrying to start a SignalR connection from an ASP.NET Core action call gives...
The setup I'm trying to accomplish is this: I have a signalR server that supports 2 types of clients - one type that supplies data and another that receives data. When a "receiver" type client chooses...
View ArticleHow to change the default language of new core mvc project
Used to create mvc5 project, the UI default language was Chinese, when I switched to core mvc ,found the default language is english, anyone know how to change the setting
View ArticleHow to load multiple instances of a Dll in ASP.NET Core?
Hello. We have a piece of software that is used internally that has been turned into a Dll. It's written in C++. The desire was to run this on multiple platforms (Mac/Linux/Windows) as a service on the...
View ArticleASP.NET Core on IIS: 502 - Web server received an invalid response while...
Hi guys,I try to performence test my asp.net core 1.0.1 website. I use loader.io to get 4000 client's to run this site but i get this error on asp.net core. If i run the same code in asp.net 4.6 it...
View ArticleRemote start an ASP.NET Core Web API from a desktop client?
Hello. I've written an ASP.NET Core Web API as a service for a desktop client I'm writing. I intend to publish it as a self-contained .NET Core app and just copy the folder over to the host computer....
View ArticleShare credential across multiple database
Hi,we'are going to start two new ASP Core 1.1 web site projects using Identity.is-it possible to share the same account information (ie role, etc ..) get from logging to the first application, when...
View ArticleJSON formatter and Localization settings
HiIn my project I`ve set my localization options as follows: var dtf = new DateTimeFormatInfo { ShortDatePattern = "dd.MM.yyyy", LongDatePattern = "dd.MM.yyyy HH:mm", ShortTimePattern = "HH:mm",...
View ArticleWhat versions of RHEL are supported?
Hello, I am seeing conflicting information online as to the versions of Red Hat Enterprise Linux that .NET Core can run on. I have an ASP.NET Core Web API targeting .NET Core 1.1 and intend to run on...
View ArticleConvert object to list dictionary
Hey everyone,I'm creating a function to create my breadcrumbs out of a list that is placed in my datatoken from the route. I got the list out of the datatoken as a object but how do I convert it back...
View ArticleASP.NET Core MVC Rewrite and Default document
I'm trying to set Core MVC Rewrite so:when localhost/part is requested, it responds with the default localhost/part/index.htmlwhen localhost/part/[anything], then still responds with index.html...
View ArticleJsonConvert.Deserialize throwing exception in Asp.Net Core
Hi. I'm new to asp.net core and to asp.net in general. I am trying to consume a rest service, here is a snippet of code:return await Task.Run(() => { using (HttpClient client = new HttpClient()) {...
View ArticleASP.NET Core SPA w/ API using AD FS 3.0
HiIs there a way to use AD FS 3.0 for Authentication in an ASP.NET Core SPA app (ng4) with API? I'm building an Angular (4) application and would like to use VS 2017 and ASP.NET core as it (next...
View Articleasp.net core migration isn't creating database
Hi:I'm learning asp.net core and have run into a problem with migrations. from the cli I can enter:dotnet ef migrations add InitialCreateit appears to work. Then I can enterdotnet ef migrations add...
View Articleasp.net and aspnet core session sharing
hi, please suggest a better resource for asp.net and aspnetsession sharing among each other . best practices when using two applications full dotnet and aspnet core.session sharnig among them
View ArticleThe ASPNETCoreModule which is required to host .NET Core projects in IIS does...
I've just installed Visual Studio 2015 Professional and have just created new ASP.NET Core Web Application project. When I run the ASP.NET Core Web application project I've met the following...
View Article