Activities of "nacho"

Hi, swagger is not working after creating a new solution:

  • Template: app
  • Created ABP Studio Version: 0.9.15
  • Tiered: No
  • Multi-Tenancy: Yes
  • UI Framework: blazor-server
  • Theme: leptonx
  • Theme Style: system
  • Database Provider: ef
  • Database Management System: sqlserver
  • Separate Tenant Schema: Yes
  • Mobile Framework: maui
  • Public Website: Yes
  • Include Tests: Yes
  • Optional Modules:
    • GDPR
    • FileManagement
    • TextTemplateManagement
    • LanguageManagement
    • AuditLogging
    • Chat
    • OpenIddictAdmin

This is how swagger page looks:

Here are the logs when requesting /swagger (OpenId traces were replaced by "...")

[01:20:44 INF] Request starting HTTP/2 GET https://localhost:44333/swagger - null null
...
[01:20:45 INF] Request finished HTTP/2 GET https://localhost:44333/swagger - 301 0 null 108.0025ms
[01:20:45 INF] Request starting HTTP/2 GET https://localhost:44333/swagger/index.html - null null
...
[01:20:45 INF] Request finished HTTP/2 GET https://localhost:44333/swagger/index.html - 200 null text/html;charset=utf-8 214.7503ms
[01:20:45 INF] Request starting HTTP/2 POST https://localhost:44333/_blazor/disconnect - multipart/form-data; boundary=----WebKitFormBoundary3at1LypLqPakByVU 359
...
[01:20:45 INF] Executed endpoint '/_blazor'
[01:20:45 INF] Request finished HTTP/2 CONNECT https://localhost:44333/_blazor?id=QCRa5yKILdCr56vBPDoCDg - 200 null null 64161.2487ms
[01:20:45 INF] Request starting HTTP/2 GET https://localhost:44333/swagger/swagger-ui.css - null null
[01:20:45 INF] Request starting HTTP/2 GET https://localhost:44333/swagger/index.css - null null
...
[01:20:45 INF] Request starting HTTP/2 GET https://localhost:44333/swagger/ui/abp.js - null null
...
[01:20:45 INF] Sending file. Request path: '/swagger/ui/abp.js'. Physical path: 'N/A'
[01:20:45 INF] Request starting HTTP/2 GET https://localhost:44333/swagger/ui/abp.swagger.js - null null
[01:20:45 INF] Request finished HTTP/2 GET https://localhost:44333/swagger/ui/abp.js - 200 3122 application/javascript 46.9327ms
[01:20:45 INF] Request starting HTTP/2 GET https://localhost:44333/swagger/swagger-ui-standalone-preset.js - null null
[01:20:45 INF] Request starting HTTP/2 GET https://localhost:44333/swagger/swagger-ui-bundle.js - null null
[01:20:45 INF] Request starting HTTP/2 GET https://localhost:44333/swagger/ui/index.js - null null
...
[01:20:45 INF] Request starting HTTP/2 GET https://localhost:44333/_framework/aspnetcore-browser-refresh.js - null null
...
[01:20:45 INF] Sending file. Request path: '/swagger/ui/abp.swagger.js'. Physical path: 'N/A'
[01:20:45 INF] Request finished HTTP/2 GET https://localhost:44333/swagger/ui/abp.swagger.js - 200 4527 application/javascript 45.3559ms
[01:20:45 INF] Request finished HTTP/2 GET https://localhost:44333/_framework/aspnetcore-browser-refresh.js - 200 13797 application/javascript; charset=utf-8 6.0045ms
...
[01:20:46 INF] Request finished HTTP/2 GET https://localhost:44333/swagger/index.css - 200 202 text/css 124.0271ms
[01:20:46 INF] Sending file. Request path: '/swagger-ui.css'. Physical path: 'N/A'
[01:20:46 INF] Request finished HTTP/2 GET https://localhost:44333/swagger/swagger-ui.css - 200 152034 text/css 131.242ms
[01:20:46 INF] Request starting HTTP/2 GET https://localhost:44333/_vs/browserLink - null null
...
[01:20:46 INF] Executing endpoint 'Blazor disconnect'
[01:20:46 INF] Request finished HTTP/2 GET https://localhost:44333/swagger/ui/index.js - 404 0 null 76.8958ms
[01:20:46 INF] Sending file. Request path: '/swagger-ui-standalone-preset.js'. Physical path: 'N/A'
[01:20:46 INF] Request reached the end of the middleware pipeline without being handled by application code. Request path: GET https://localhost:44333/swagger/ui/index.js, Response status code: 404
[01:20:46 INF] Request finished HTTP/2 GET https://localhost:44333/swagger/swagger-ui-standalone-preset.js - 200 230293 text/javascript 87.6466ms
[01:20:46 INF] Sending file. Request path: '/swagger-ui-bundle.js'. Physical path: 'N/A'
[01:20:46 INF] Request finished HTTP/2 GET https://localhost:44333/_vs/browserLink - 200 null text/javascript; charset=UTF-8 41.654ms
[01:20:46 INF] Request finished HTTP/2 GET https://localhost:44333/swagger/swagger-ui-bundle.js - 200 1452753 text/javascript 156.8066ms
[01:20:46 INF] Executed endpoint '/signalr-hubs/chat'
[01:20:46 INF] Request finished HTTP/1.1 GET https://localhost:44333/signalr-hubs/chat?id=duNpSrdGNMmyW8sYxtZy2w - 101 null null 60315.9313ms
[01:20:46 INF] Executed endpoint '/signalr-hubs/chat'
[01:20:46 INF] Request finished HTTP/1.1 GET https://localhost:44333/signalr-hubs/chat?id=rrbJRIss5Frcj0yBjxawzQ - 101 null null 60365.4161ms
[01:20:46 INF] Executed endpoint 'Blazor disconnect'
[01:20:46 INF] Request finished HTTP/2 POST https://localhost:44333/_blazor/disconnect - 200 0 null 917.267ms
[01:20:46 INF] Request starting HTTP/2 GET https://localhost:44333/swagger/favicon-32x32.png - null null
...
[01:20:46 INF] Sending file. Request path: '/favicon-32x32.png'. Physical path: 'N/A'
[01:20:46 INF] Request finished HTTP/2 GET https://localhost:44333/swagger/favicon-32x32.png - 200 628 image/png 43.1911ms

It seems this is the issue: [01:20:46 INF] Request finished HTTP/2 GET https://localhost:44333/swagger/ui/index.js - 404 0 null 76.8958ms

Not sure if this is the place to report an error with ABP commercial...

I created a solution with ABP Studio and it cannot add the initial database migration.

  • Template: app
  • Created ABP Studio Version: 0.9.13
  • Tiered: Yes
  • Multi-Tenancy: Yes
  • UI Framework: blazor-server
  • Theme: leptonx
  • Theme Style: system
  • Database Provider: ef
  • Database Management System: sqlserver
  • Separate Tenant Schema: Yes
  • Mobile Framework: maui
  • Public Website: Yes
  • Include Tests: Yes
  • Optional Modules:
    • GDPR
    • FileManagement
    • TextTemplateManagement
    • LanguageManagement
    • AuditLogging
    • SaaS
    • Chat
    • OpenIddictAdmin

Errors in ABP Studio:

19:27:54.359 Information Starting task execution: "Database synchronization" 19:27:54.359 Information Starting task execution: "Installing client side libraries" 19:27:54.362 Information Starting task execution: "Generating Signing-Certificate for AuthServer" 19:27:54.362 Information Starting task execution: "Creating TLS Secrets" 19:28:00.166 Information Completed task execution: "Generating Signing-Certificate for AuthServer" 19:28:01.090 Information Completed task execution: "Creating TLS Secrets" 19:28:23.857 Error Build started... Build failed. Use dotnet build to see the errors. 19:28:23.859 Information Failed task execution: "Database synchronization | Creating initial migrations" 19:28:23.859 Information ERROR: "An error has occured!" 19:28:23.859 Information ERROR DETAILS: "Failed to add migration Initial.

This is the error:

'EntityTypeBuilder<Book>' does not contain a definition for 'ConfigureByConvention' and no accessible extension method 'ConfigureByConvention' accepting a first argument of type 'EntityTypeBuilder<Book>' could be found (are you missing a using directive or an assembly reference?)

It was solved by adding the using directive in EntityFrameworkCore\AppDbContextBase.cs class: using Volo.Abp.EntityFrameworkCore.Modeling;

Showing 21 to 22 of 22 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 12, 2025, 10:36
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.