Base solution for your next web application

Activities of "ianmark89"

Hi,

I want to create seat plan inside modal like attached image, the chart is using for selecting seat when booking but I am not good at front end. Can you give me some advice like which library can I use for rendering seating chart?

I'm using ASP.Net Core version.

Thanks.

When user does not have permissions to access Users controller, server responses {"result":null,"targetUrl":null,"success":false,"error":{"code":0,"message":"Required permissions are not granted. At least one of these permissions must be granted: Pages.Administration.Users","details":null,"validationErrors":null},"unAuthorizedRequest":true,"__abp":true}

It's working as expected if I update public async Task<ActionResult> Index()

to

public ActionResult Index()

After upgrading chrome to the latest version (54), I've got error when call app services to postback to server. Other browser is fine.

"details": "The following errors were detected during validation.\r\n - input is null!\r\n",

I've got an issue when creating new tenant with database on other azure subscription, but database on the same Azure account is OK. I've tried to configure the azure database by turn on "Allow access to Azure services" but I got error message "The timeout period elapsed prior to completion of the operation or the server is not responding." When I updated "Connection Timeout" to 60 instead of 30 I got error message "An exception has been raised that is likely due to a transient failure. If you are connecting to a SQL Azure database consider using SqlAzureExecutionStrategy"

Hi,

Sorry for late response. I've tried to disable transactions but got this message

Castle.MicroKernel.ComponentActivator.ComponentActivatorException: ComponentActivator: could not instantiate MyCompany.EntityFramework.MyCompanyDbContext ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.DataException: An exception occurred while initializing the database. See the InnerException for details. ---> System.Data.Entity.Core.EntityException: An exception has been raised that is likely due to a transient failure. If you are connecting to a SQL Azure database consider using SqlAzureExecutionStrategy. ---> System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) ---> System.ComponentModel.Win32Exception: The specified network name is no longer available
   --- End of inner exception stack trace ---
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConne...

I want to get posts on some facebook group then push to the listviews on our clients mobile app, but I have not any experience about this. Is there any advice? Should I use SignalR with Redis?

Answer

You should Enable Cors since it is disabled by default.

Answer

You can read this article for more information. <a class="postlink" href="http://www.c-sharpcorner.com/article/enable-cross-origin-resource-sharing-cors-in-asp-net-core/">http://www.c-sharpcorner.com/article/en ... -net-core/</a>

I want to make my native mobile app (Xamarin) can login by facebook, is there any sample code or how can I do it?

Hi,

Thanks for your answer.

How system detect tenant who make the request? I think method GetTenancyNameOrNull cannot get tenantId in AbpSession.

Showing 21 to 30 of 38 entries