Any updates, please?
I have a requirement in which User can enter multiline input, Could you please suggest any input which can be useful in this case which is supported by Asp.Net Core framework.
Requirement:
The user has to enter ingredients details. So it can be like 1 spoon sugar, 1-liter milk, 1.5-liter water and so on. So for this example, there are 3 input fields. It can be any number.
Right now I'm using TextArea (User enters each ingredient in the new line ), But it doesn't look good. So there any better way to this?
Any updates??
I am calling an API from Angular UI which uploads the image to the server to a physical path like ....../xyz/abc/pqr.png. Now I want to access this image from Angular UI like the following way.
<img src="url">
url will be something like <a class="postlink" href="http://1.2.3.4:80/xyz/abc/pqr">http://1.2.3.4:80/xyz/abc/pqr</a>
It's very obvious that this issue is related to the connection string. I'm not able to identify the root cause that is why I have posted my question here. Why are you giving an obvious answer and repeating my answer only?
I have used the same configuration with free template also in other application, and there its working fine.
I checked it again. I'm getting an exception while connecting to DB in DatabaseCheckHelper class method public static bool Exist(string connectionString)
I'm just wondering that I'm able to successfully generate the migrations, but not able to hit DB. appsettings.json
{ "ConnectionStrings": { "Default": "Server=127.0.0.1;uid=root;pwd=root; Database=StanchionDb;" }, "AbpZeroLicenseCode": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "App": { "WebSiteRootAddress": "http://localhost:45776/", "AdminWebSiteRootAddress": "http://localhost:4200/" } }
Yes, its clean download, only changes I have made is that instead of using SQL Server I'm using MySql and I have made the changes by referring <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/EF-Core-MySql-Integration?searchKey=mqsql">https://aspnetboilerplate.com/Pages/Doc ... hKey=mqsql</a>.
I checked that GetInitialLanguages method is not getting called in DefaultLanguagesCreator class.
I have Visual Studio 15.6.6
But I was using the same version of visual studio on different machine earlier. It was working fine
I'm getting the error while trying to access UI on <a class="postlink" href="http://localhost:4200">http://localhost:4200</a>.
INFO 2018-05-14 14:43:07,495 [22 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://localhost:22742/AbpUserConfiguration/GetAll">http://localhost:22742/AbpUserConfiguration/GetAll</a>
INFO 2018-05-14 14:43:07,542 [22 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2018-05-14 14:43:07,726 [22 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 209.9348ms 204 INFO 2018-05-14 14:43:07,953 [22 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://localhost:22742/AbpUserConfiguration/GetAll">http://localhost:22742/AbpUserConfiguration/GetAll</a> application/json INFO 2018-05-14 14:43:07,961 [22 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2018-05-14 14:43:08,022 [22 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2018-05-14 14:43:08,114 [22 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) with arguments ((null)) - ModelState is Valid ERROR 2018-05-14 14:43:08,169 [25 ] Mvc.ExceptionHandling.AbpExceptionFilter - No language defined! Abp.AbpException: No language defined! at Abp.Localization.MultiTenantLocalizationDictionaryProvider.GetDefaultDictionary() at Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource.GetAllStrings(CultureInfo culture, Boolean includeDefaults) in D:\Github\aspnetboilerplate\src\Abp\Localization\Dictionaries\DictionaryBasedLocalizationSource.cs:line 146 at Abp.Web.Configuration.AbpUserConfigurationBuilder.GetUserLocalizationConfig() in D:\Github\aspnetboilerplate\src\Abp.Web.Common\Web\Configuration\AbpUserConfigurationBuilder.cs:line 135 at Abp.Web.Configuration.AbpUserConfigurationBuilder.<GetAll>d__38.MoveNext() in D:\Github\aspnetboilerplate\src\Abp.Web.Common\Web\Configuration\AbpUserConfigurationBuilder.cs:line 70 --- 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 Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.<GetAll>d__2.MoveNext() in D:\Github\aspnetboilerplate\src\Abp.AspNetCore\AspNetCore\Mvc\Controllers\AbpUserConfigurationController.cs:line 18 --- 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 lambda_method(Closure , Object ) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.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.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.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.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext() INFO 2018-05-14 14:43:08,185 [25 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext. INFO 2018-05-14 14:43:08,188 [25 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) in 209.7928ms INFO 2018-05-14 14:43:08,203 [25 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 253.2542ms 500 application/json; charset=utf-8
I'm using 5.4.1 version with MqSql, I also observed that there is no entry in abplanguages table after running the service side application.