Base solution for your next web application

Activities of "cmthomps"

Our application will be using Active Directory for authentication. Is it possible to "automatically" login a user if they are logged into Active Directory? Like the functionality you'd get if you used the "Integrated Windows Authentication" functionality with Internet Explorer. Thinking probably not possible but want to make sure.

I noticed on the roadmap that a future release will include messaging/inbox. Do you have any timing for that release at this point? It would be helpful for the project we are working on.

Thanks

We're seeing an issue when we use the migrator related to Multi-Tenancy. Our application is not multi-tenant so we have set Configuration.MultiTenancy.IsEnabled = false; in the core module. When the database gets created for the first time it inserts a record into abpLanguages with a tenantid = 1. The problem is that every time we run the migrator after that it inserts another record into the abpLanguages table with a tenantid = 1. So we are ending up with one English record with a tenantid =1 for each time we run the migrator.

We don't run into this problem if we use package-manager update-database.

Thoughts? Thanks, Craig

Thank you!

Question

Any recommendations on a workflow library that would be a good fit to use Asp.Net Zero? I've done a bit of investigating but wanted to check if anyone has experience with a lightweight framework. Windows Workflow seems to be a bit more than we need.

Thanks, Craig

Anyone have any advice for a 400 (Empty or invalid anti forgery header token.) error? It seems to happen if my session/token times out (or I leave the site open in the browser for a long period of time). If I clear out the cookies for the site in my browser, it's fine again.

Is it possible we're doing something that is messing up how the tokens are handled?

I figured it out. We had two versions of ASP.Net Zero running on the same server. One version is and MVC/jQuery site and the other is a .NET Core/jQuery site. It appears that the .NET Core site sets a couple of anti-forgery tokens that the MVC5 site doesn't like.

We are trying to set-up a continuous integration process to build and deploy our project. We're getting an error when running dotnet restore, dotnet build on the server.

error MSB4062: The "WebCompiler.CompilerBuildTask" task could not be loaded from the assembly ,,,.nuget\packages\buildwebcompiler\1.11.328\build..\tools\WebCompiler.exe. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

The issue appears to be related to the BuildWebCompiler. As a test, I manually removed that reference, and the project builds. Has anyone gotten an automated build process to work with the .NET Core Version?

Just to close the loop in case anyone else runs into this issue. The only way I could ultimately get our Continuous Integration process to build the .NET Core version was to install the Visual Studio 2017 on the server and then use the command:

devenv MyProject.sln /build Release

I'm not wild about installing VS 2017 on our build server, but it works for now.

Having an issue deploying to a virtual directory that is not the root of the website in IIS. When we deploy, the app renders fine by the service calls have the incorrect URL. Example:

Deploying site to: <a class="postlink" href="http://www.test.com/aspnetzero">http://www.test.com/aspnetzero</a>

When the site renders in the browser, the api calls are made to: <a class="postlink" href="http://www.test.com/api..">http://www.test.com/api..</a>.

Instead of: <a class="postlink" href="http://www.test.com/aspnetzero/api">http://www.test.com/aspnetzero/api</a>

Is there some configuration I can change to make it work? We've already changed web.config to contain:

"App": { "WebSiteRootAddress": "http://www.test.com/aspnetzero/" },

Thanks

Showing 1 to 10 of 88 entries