This is not an issue, more of a question on what is the best way to do something....
The scenario is that I have a page that is sent to a guest via sms or email. The guest has a preferred language which the page reads from that repo. When the page loads I want the content to be in the language that is preferred for that guest.
I have all of the text localized so thats no issue
In my ngOnInit handler I have added code to set the cookie for the language, but once I set the cookie I have to refresh the page before it reads that cookie and then applies the language. It is kinda distracting for the user to see the page kinda load and then reload again with the correct language. Is there a way in angular to set the language without having to use that cookie?
I asked this question in another thread but that thread was already closed so I am reposting here.
My question is, can I use one instance of ASPNetZero (configured to host Identity Server) as a solution for single sign-on across other ASPNetZero projects. Can this be done "out of the box" with making configuration changes. If so, does it handle the multi-tenancy?
What I am trying to accomplish is having a platform of products that are connected through SSO using ASPNetZero as the Identity Server. If I go to one of those products and I am not logged in I want to be redirected to the ASPNetZero instance that is running as Identity Server, login, and then be redirected back to the product I originally tried to access. If I am already logged in then any of those products in which I have access to should allow me to access them without logging in again.
As I have looked at posts here I seem to get a conflicting answer. If possible, can someone explain the configuration?
Fresh download of 6.4 and when I attempt to publish the Host solution (which is a merged solution with Angular) I get the error:
The command "ng build --prod" exited with code 9009.
I have read online about it being related to a memory issue but I have tried increasing the memory. Anyone else have this problem and know how to solve?
I have been looking at documentation here and also on aspnetboilerplate but I cannot find any guide on what steps you need to take to publish the "one solution" approach to Azure. Any help would be much appreciated.
I want to use ASPNetZero as a portal for our clients to manage their users, licenses, and to handle authentication for all other products in our platform. ASPNetZero is setup for multi-tenancy. Most of the other products in our platform use ASP.Net Boilerplate and are also setup for multi-tenancy.
Is this a job for IdentityServer? Do I use my ASPNetZero portal as the IdentityServer?
Thoughts from anyone with experience in this?
I am using the .Net Core 2.0 and Jquery version and I get this error when trying to publish:
Error Web deployment task failed. (Unable to perform the operation ("Create File") for the specified directory ("D:\home\site\wwwroot\wwwroot\lib\jquery-mousewheel\jquery.mousewheel.js"). This can occur if the server administrator has not authorized this operation for the user credentials you are using. Learn more at: <a class="postlink" href="http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER">http://go.microsoft.com/fwlink/?LinkId= ... ITE_FOLDER</a>.)
When I published to Azure, swagger ui no longer can access the information from the server. I changed the CorsOrigins setting, is there something else I have to edit?
I just downloaded a fresh 4.1.3 template for ASP.NET Core and Angular using the .NET Core 1.1 framework.
With no modifications other than the config settings for the database connection string the database is not getting created using the Migrator or using Package Manager Console "Update-Database" command.
The solution builds, though oddly the migrator executable file is not created.
I followed the instructions from the Getting Started guide, is there something missing?
I have been trying for several days to get the Angular2 project to deploy to Azure. I have read these forums and there are a couple posts with some of the pieces but nothing that is complete. For example, if I download my publish profile and publish the project the only thing that is uploaded is the web.config. I have found that you can right click on each file and publish those but oonce they are up there, then what? I tried using Kudu to do an npm install or yarn install... then npm start or yarn start... neither seem to ever finish and my web app is not running.
Deploying web apps used to be so simple... why have we taken a huge leap backwards?
I upgraded to the latest version of ABP through nuget and this file seems to have several issues, it has an error with everything listed below:
interface IAbpSession {
readonly userId?: number;
readonly tenantId?: number;
readonly impersonatorUserId?: number;
readonly impersonatorTenantId?: number;
readonly multiTenancySide: multiTenancy.sides;
}
let session: IAbpSession;