Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "shedspotter"

Hi yes after removing that it is working and also I'll let you know that , we get "Microsoft.VisualStudio.Azure.Containers.Tools.Targets" package by default in AspNet Zero solution

you can also check https://github.com/aspnetzero/aspnet-zero-core/blob/v11.1.0/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Host/MyCompanyName.AbpZeroTemplate.Web.Host.csproj

Thanks

Hi @ismcagdas, That's the question we have that how can we achive that when we are using sub domains

Hi @ismcagdas, Yes I have the refrence of that nuget package reference in two porjects one is in .host and another one is in public project

Hi @sedulen , yes this was the same issue which is in stack overflow but the solution is not working and I am using VS 2022 17.1.1 and latest asp net zero code

Hi @ismcagdas , no we are only using subdomains for admin websites

What is your product version? 11.0.0

What is your product type (Angular or MVC)? Angular

What is product framework type (.net framework or .net core)? .NET 6

Hi yestarday I have updated the VS 2022 to the latest version 17.1.1, after this I am unable to published , I am getting

The "KillAppInsideContainer" task failed unexpectedly. System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:***** Projects*******\aspnet-core\src\SmartSuite.Web.Host\obj\Container\ContainerToolsExceptions.json'. and also I am not using docker

8>------ Build started: Project: SmartSuite.Web.Host, Configuration: Release Any CPU ------ 8>D:**\aspnet-core\src\SmartSuite.Web.Host\Startup\AuthConfigurer.cs(32,34,32,43): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. 8>D:\****** Projects*\aspnet-core\src\SmartSuite.Web.Host\Controllers\SharedController.cs(85,42,85,49): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. 8>D:\* Projects*\aspnet-core\src\SmartSuite.Web.Host\Startup\Startup.cs(123,13,123,66): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. 8>D:\* Projects*\aspnet-core\src\SmartSuite.Web.Host\Startup\Startup.cs(295,17,295,53): warning CS0618: 'HangfireApplicationBuilderExtensions.UseHangfireServer(IApplicationBuilder, BackgroundJobServerOptions, IEnumerable<IBackgroundProcess>, JobStorage)' is obsolete: 'Please use IServiceCollection.AddHangfireServer extension method instead in the ConfigureServices method. Will be removed in 2.0.0.' 8>SmartSuite.Web.Host -> D:* Projects*\aspnet-core\src\SmartSuite.Web.Host\bin\Release\net6.0\SmartSuite.Web.Host.dll 8>Done building project "SmartSuite.Web.Host.csproj". 9>------ Publish started: Project: SmartSuite.Web.Host, Configuration: Release Any CPU ------ C:\Users*.nuget\packages\microsoft.visualstudio.azure.containers.tools.targets\1.14.0\build\Container.targets(149,5): Error CTC1002: Visual Studio container tools require Docker Desktop. To get it, see https://go.microsoft.com/fwlink/?linkid=847268 C:\Users*.nuget\packages\microsoft.visualstudio.azure.containers.tools.targets\1.14.0\build\Container.targets(149,5): Error MSB4018: The "KillAppInsideContainer" task failed unexpectedly. System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:* Projects**\aspnet-core\src\SmartSuite.Web.Host\obj\Container\ContainerToolsExceptions.json'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) at Microsoft.VisualStudio.Containers.Tools.Tasks.ContainerBuildTask.OutputAndLogContainerToolsException(ContainerToolsException ex) at Microsoft.VisualStudio.Containers.Tools.Tasks.ContainerBuildTask.<EvaluateBuildPrerequisitesAsync>d27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Containers.Tools.Tasks.ContainerBuildTask.<ExecuteAsync>d26.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Containers.Tools.Tasks.ContainerBuildTask.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

Please help me asap Thanks

Hi @sedulen Thanks for the help you are correct ,I have also doing the same I am not completeing my UnitOfWork after your suggestion I have implemented the completed mentod , and now it is working and count are gettign increased

Hi @sedulen, is this in production or in a development environment? => curretly in development If you are using Hangfire, does Hangfire run on the same instance as your server-side code? Or do you have Hangfire running on another server? => it is runnging on same instance but we are using different DB for hangfire

Have you changed anything with the Chat or Notification settings, specifically around SignalR? => I have not changes anything , the method which I am using is working if we trigger without hangfire job and also increased the count as well

If you refresh your browser page, does the bell show the correct notification count? => nope

Lastly, in your browser, try using Google Chrome, and opening Dev Tools before you login and take any action. Then with your browser open and Chrome DevTools open, trigger the action that should generate the notification for you. If you don't see the Notification, check the Chrome DevTools Console to see if there are any errors reported. => nope there is no error

If you are using everything as it's built in ANZ, and all your server-side code runs on the same server, then it should work => but it is not working we are assuming the same that it need to be work Google Chrome DevTools would show you the signalr connection method (websockets, long polling, server-side events) => yes as I told eariler that the notification is trggering from the hangfire and it showing the toester at bottom right corner but it is not increading the count in bell icon and also it is not showing that notfication in notification page as well so I assume that the notification is getting fired from hang fire but it is not saving in the table where all the notification stores

Hi musa.demir, it is resolving the tenant id corrctly but the problem over there is we are using super admin api endpoint for executing the above code, but becuase we have multitenancy has been enable and we are using tenancy name as subdomain in that case it is always pic tenant id as null. For example :suppose a user has been logged in our website and closed the browser. Now he will back and want navigate to our application. so what he does he will go to the our public web site and over there he will click on login button. now the issues occure over there .

  1. we are using super admin api endpoint i.e http://host.api.abc.in becuase we have multitenancy enable so it will pic tenant id as null from abp session becuase host user does not have any tenant
  2. if we are using the user api endpoint for executing the above methods i.e http://xyz.api.in then it will pic the tenant id of xyz tenant from abp session but we can not us this because we can not set navigation endpoint like this.

so please let me know how can we fixed this and plese let me know the login button functioanlity in public web site is working with tenant specific url or not

What is your product version? 11.0.0

What is your product type (Angular or MVC)? Angular

What is product framework type (.net framework or .net core)? .NET 6

Hi we are trying to send the notification from hangfire jobs, the notification is getting fire properly but the count of the notification which is showing in the bell icon is not getting increased even when we are unable to see those notification in the notication page.

Thanks

Showing 51 to 60 of 199 entries