Base solution for your next web application

Activities of "stealthdev"

Getting Failed DbCommand and the below api return 400 always from client request , does not return Auth token http://gayewatt/api/TokenAuth/Authenticate

here is the error

Failed executing DbCommand (0ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__ef_filter__p_1='?' (DbType = Boolean), @__normalizedName_0='?' (Size = 32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [r].[Id], [r].[ConcurrencyStamp], [r].[CreationTime], [r].[CreatorUserId], [r].[DeleterUserId], [r].[DeletionTime], [r].[DisplayName], [r].[IsDefault], [r].[IsDeleted], [r].[IsStatic], [r].[LastModificationTime], [r].[LastModifierUserId], [r].[Name], [r].[NormalizedName], [r].[TenantId] FROM [Roles] AS [r] WHERE (((@__ef_filter__p_0 = CAST(1 AS bit)) OR ([r].[IsDeleted] = CAST(0 AS bit))) AND ((@__ef_filter__p_1 = CAST(1 AS bit)) OR ([r].[TenantId] IS NULL))) AND ([r].[NormalizedName] = @__normalizedName_0)

we are able to execute the above sql statement at Databse direclty

Hi Team,

we are facing issue with swagger login only on the production environment

using the below page to login

after entering valid id and password the post call to the login page throws page not found 404

Post call https://gateway.net/ui/login return 404

this does not happen at lower environment , in lower env the post call https://gateway.net/ui/login returns 302 and login is succesfull

the below page loads for lower env but not for the prod

what might be issue , we are not able to reproduce this issue locally

I am setting up a deployment pipeline in Azure Devops (VSTS). To build the angular app using appconfig.production.json, I simply need to run the following command. "ng build --prod --build-optimize"

How do I configure the project and what command do I run in order to have it use my appconfig.staging.json file?

I have always been curious what kind of capabilities people are buuilding with this platform.

For those that are able can you share what you are building now or what you have build in the past with AspNetZero? It would be really cool if you could share a link or images or even a video.

Question

I am trying to implement Api Versioning in my Host project, and I need to version the dynamic controller created by the Services.

I found that someone had successfully done this here: #3189@6303334b-68c5-4a50-9583-0e6fb0f83111

He left a step by step direction, however, the last step of what he did is not too clear and I don't understand how he was able to register his RegionAppService to DI. I have it pretty much working except that last piece. Does anyone know how to register to DI form those instructions?

Also, has anyone come up with a better solution of how we can version both the regular controller and the dynamic controllers?

Hello,

I'm using the ASPNETZERO solution, and I keep getting an error when attempting to debug the solution. If I start the solution without debugging, I do not get the error shown below.

Exception Message:

Loaded '/usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.2/System.Threading.ThreadPool.dll'. Module was built without symbols. EventSource Error: ERROR: Exception during construction of EventSource System.Transactions.TransactionsEventSource: 1 Loaded '/root/.nuget/fallbackpackages/system.text.encoding.codepages/4.5.0/lib/netstandard2.0/System.Text.Encoding.CodePages.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Loaded '/usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.2/Microsoft.Win32.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Loaded '/usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.2/System.Net.Sockets.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Loaded '/usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.2/System.Net.Security.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Loaded '/usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.2/System.Net.NameResolution.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. EventSource Error: ERROR: Exception during construction of EventSource Microsoft-System-Net-NameResolution: 1 EventSource Error: ERROR: Exception during construction of EventSource Microsoft-System-Net-Sockets: 1 Loaded '/usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.2/System.Security.Cryptography.X509Certificates.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Loaded '/usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.2/System.Security.Cryptography.Encoding.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. EventSource Error: ERROR: Exception during construction of EventSource Microsoft-System-Net-Security: 1 Loaded '/usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.2/System.IO.Pipes.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Loaded '/root/.nuget/packages/microsoft.aspnetcore.http.extensions/2.1.0/lib/netstandard2.0/Microsoft.AspNetCore.Http.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. EventSource Error: ERROR: Exception during construction of EventSource System.Data.DataCommonEventSource: 1

Abp package version: 3.8.2

I found the code that's throwing the exception [https://referencesource.microsoft.com/#mscorlib/system/diagnostics/eventing/eventsource.cs,98988245dd1924b3]) line:1542, but I'm not sure what the root cause is.

If any additional information is needed to help identify the error, please let me know.

Thanks!

Showing 1 to 6 of 6 entries