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

Activities of "pankajmathur"

Anyone any idea...

My solution compiles without any error before I installed the following package Install-Package Abp.AspNetCore.SignalR -Version 3.4.0-preview2 The moment I install the above package and compile the project it throws the error in Web.Mvc project

Assembly 'Abp.AspNetCore' with identity 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'Castle.Core, Version=4.1.1.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc' which has a higher version than referenced assembly 'Castle.Core' with identity 'Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc'.

I am badly stuck.... somebody, please help....

Please see the output of find in entire solution

Find all "Castle.Core", Subfolders, Find Results 1, "Entire Solution ( Including External Items )", "" D:\CXS.Retail\Development\iVend365\src\CitiXsys.iVend365.Core\Identity\SmsSender.cs(3):using Castle.Core.Logging; D:\CXS.Retail\Development\iVend365\src\CitiXsys.iVend365.Migrator\Log.cs(4):using Castle.Core.Logging; D:\CXS.Retail\Development\iVend365\src\CitiXsys.iVend365.Web.Core\Chat\SignalR\ChatHub.cs(9):using Castle.Core.Logging; D:\CXS.Retail\Development\iVend365\src\CitiXsys.iVend365.Web.Core\Chat\SignalR\SignalRChatCommunicator.cs(8):using Castle.Core.Logging; Matching lines: 4 Matching files: 4 Total files searched: 11876

Thanks aaron....I am following the same steps that is mentioned in the document, but I am getting following compilation error.

Steps followed


  1. Install nuget package Install-Package Abp.AspNetCore.SignalR -Version 3.4.0-preview2
  2. Add dependency in my web module [DependsOn(typeof(AbpAspNetCoreSignalRModule))]
  3. In startup.cs ConfigureServices method services.AddSignalR();
  4. In startup.cs Configure method app.UseSignalR(routes => { routes.MapHub<AbpCommonHub>("/signalr"); });

Now when I compile the project, it throws the following error in the WebMVC project

Error CS1705 Assembly 'Abp.AspNetCore' with identity 'Abp.AspNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'Castle.Core, Version=4.1.1.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc' which has a higher version than referenced assembly 'Castle.Core' with identity 'Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc' CitiXsys.iVend365.Web.Mvc D:\CXS.Retail\Development\iVend365\src\CitiXsys.iVend365.Web.Mvc\CSC 1 Active

Please help me to resolve this compilation issue....

Regards, Mahendra

Thanks...aaroon, the error is resolved now....

Can you please reply to my below question.. I am using ASPNetZero Version 4.1. Can I use signalR feature, without upgrading it to ASPNetZero Latest version i.e. 5.1.

Regards, Mahendra

I am using ASPNetZero Version 4.1. Can I use signalR feature, without upgrading it to ASPNetZero Latest version i.e. 5.1.

Regards, Mahendra

when I add NuGet.Config file to the solution, closed the project and reopen it, it throws error while opening the projects. the error is attached herewith. Please advice...

Is the Package name "Abp.Web.SignalR" and not "Abp.AspNetCore.SignalR"?

Hi there,

My first question is how can I find out on which version of ASPNetZero and ABP my current project is?

Secondly, I was waiting for the signalR since long. I recently went to the page <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents">https://aspnetboilerplate.com/Pages/Documents</a> and I saw that ABP has now come up with signalR. But when I am trying to install the nuget package using Package Manager, it fails. See the below error (The same is attached in the word file). Please advice whats wrong in installing the "Abp.AspNetCore.SignalR" Nuget Package.

Regards, Mahendra

PM> Install-Package Abp.AspNetCore.SignalR -Version 3.4.0-preview2 GET <a class="postlink" href="https://api.nuget.org/v3/registration3-gz-semver2/abp.aspnetcore.signalr/index.json">https://api.nuget.org/v3/registration3- ... index.json</a> GET <a class="postlink" href="https://nuget.telerik.com/nuget/Packages(Id='Abp.AspNetCore.SignalR',Version='3.4.0-preview2'">https://nuget.telerik.com/nuget/Package ... -preview2'</a>) OK <a class="postlink" href="https://api.nuget.org/v3/registration3-gz-semver2/abp.aspnetcore.signalr/index.json">https://api.nuget.org/v3/registration3- ... index.json</a> 1097ms Error finding repository for 'https://nuget.telerik.com/nuget': An error occurred while retrieving package metadata for 'Abp.AspNetCore.SignalR.3.4.0-preview2' from source 'telerik.com'. A task was canceled. Restoring packages for D:\CXS.Retail\Development\iVend365\src\CitiXsys.iVend365.Web.Mvc\CitiXsys.iVend365.Web.Mvc.csproj... GET <a class="postlink" href="https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.signalr/index.json">https://api.nuget.org/v3-flatcontainer/ ... index.json</a> GET <a class="postlink" href="https://nuget.telerik.com/nuget/FindPackagesById(">https://nuget.telerik.com/nuget/FindPackagesById(</a>)?id='Microsoft.AspNetCore.SignalR' OK <a class="postlink" href="https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.signalr/index.json">https://api.nuget.org/v3-flatcontainer/ ... index.json</a> 1160ms OK <a class="postlink" href="https://nuget.telerik.com/nuget/FindPackagesById(">https://nuget.telerik.com/nuget/FindPackagesById(</a>)?id='Microsoft.AspNetCore.SignalR' 2933ms Install-Package : Unable to find package Microsoft.AspNetCore.SignalR with version (>= 1.0.0-preview1-28189)

  • Found 3 version(s) in nuget.org [ Nearest version: 1.0.0-alpha2-final ]
  • Found 0 version(s) in Microsoft Visual Studio Offline Packages
  • Found 0 version(s) in telerik.com At line:1 char:1
  • Install-Package Abp.AspNetCore.SignalR -Version 3.4.0-preview2
  •   + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
      + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.Inst 
    allPackageCommand
    
    

Package 'ZohoBooks 1.0.0' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project. Install-Package : Package restore failed. Rolling back package changes for 'CitiXsys.iVend365.Web.Mvc'. At line:1 char:1

  • Install-Package Abp.AspNetCore.SignalR -Version 3.4.0-preview2
  •   + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
      + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.Inst 
    allPackageCommand
    
    

Time Elapsed: 00:00:08.6100766

Question

Hi,

We have a requirement to not display all services and service methods that I have in my application. I found a setting on internet that decorating the service class with the following attribute hides the complete service and decorating the service class method with the same attribute hides the service method.

[ApiExplorerSettings(IgnoreApi = true)]

after decorating with above attribute thought its not showing in the Swagger (as desired), but it fails my application.

What is failing:

From the javascript the follwoing code (which works well without decorating with above attribute) always returns undefined (after decorating with above attribute)

var _Service = abp.services.app.goodsReceipt;

Please help, how to hide service and/or service methods from swagger.

Regards, Mahendra

Showing 51 to 60 of 123 entries