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

Activities of "mengvisal"

I am using AngularJs version with ASP Core but I want to know if I can secure the API with API Key and Secrete. Currently, it seems that whoever is having a user account with me and know API names can call and use the api. I prefer to have another security layer like other popular plateforms which APIs are secured by Key and Secrete or something similiar.

I tried to turn on Identity Sever but it seems that whether it is on or off, users can still access our existing API without needing to go through Identity Server.

Please let me know how we can acheive this security.

Hi!

Is it possible to know whether or not all tenant users are authenticated? I am working with Web Push Notification and I would like to send push notification to all users which are authenticated (not log out) only.

Best,

Hi! I try to run default tests coming with latest ASP.Net Zero V4.0.0 (ASP MVC + Angular 1x) and one of tests is error as following:

Test Name: Should_Not_Update_User_With_Duplicate_Username_Or_EmailAddress() Message: Shouldly.ShouldAssertException : exception.Message should contain (case insensitive comparison) "adams_d" but was actually "[Identity.Duplicate user name]"

Hi!

When I try to change the profile picture for the project hosted in IIS of Amazon EC2, it gives me error: <a class="postlink" href="http://mywebsite.com/Profile/UploadProfilePicture">http://mywebsite.com/Profile/UploadProfilePicture</a> 500 (Internal Server Error) but when I test in IIS Express, it is working fine.

FYI: I configure default route in the project to Application/Index instead of Home/Index because I want to go directly to Login Page or Tenant Page (Not Front-end Page)

routes.MapRoute(
               name: "Default",
               url: "{controller}/{action}/{id}",
               defaults: new { controller = "Application", action = "Index", id = UrlParameter.Optional },
               namespaces: new[] { "CarlWeb.Controllers" }
           );

Thanks!

Hi! I am looking for a promising angularJS datepicker or datetimepicker that support multiple timezones and work with moment.js? I have been searching online but not sure yet.

Hi!

I try to run the original test project of ASP.NET Zero without modifying anything insides but I have some errors and successes. Those errors are all permissions required. Do you know how to fix this? Below are the error messages:

Result Message: Abp.Authorization.AbpAuthorizationException : Required permissions are not granted. At least one of these permissions must be granted: Pages.Administration.OrganizationUnits Result StackTrace: at Abp.Authorization.PermissionCheckerExtensions.<AuthorizeAsync>d__12.MoveNext() in D:\Halil\GitHub\aspnetboilerplate\src\Abp\Authorization\PermissionCheckerExtensions.cs:line 272 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

Hi!

After i update to version 0.9.3.0, I have the following error when debugging in chrome. I also cloned the latest version from github to test and also have same error. The only solution for me now is to remove the line "map" all min library javascripts containing this .map but it is too annoying. Do you have any other ideas how to solve this?

System.Web.HttpException was unhandled by user code HResult=-2147467259 Message=The controller for path '/libs/toastr/toastr.js.map' was not found or does not implement IController. Source=System.Web.Mvc ErrorCode=-2147467259 WebEventCode=0 StackTrace: at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) at Abp.Web.Mvc.Controllers.WindsorControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) in D:\Halil\GitHub\aspnetboilerplate\src\Abp.Web.Mvc\Web\Mvc\Controllers\WindsorControllerFactory.cs:line 47 at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() InnerException:

Hi!

I am trying to update to ASP.NET Zero the latest version. However, i have compilation error for the $ sign in GetTimezoneInfos method of TimingAppService.

var defaultTimezoneName = $"{L("Default")} [{defaultTimezone.DisplayName}]";

Do you have any suggestion?

Hi,

What is the best way to do bulk insert of 10,000 rows? I cannot find "AddRange" or "BulkInsert" extension of entity framework in ASP.NET Zero generic repository. When i try to do single insert for 10,000 rows and then it times out. My current method is to call save change method or create new unit of work for every 1000 rows. So what is your suggestion?

Best,

Visal

Hi!

I am trying to resolve a service using web api dynamic in resolve before loading the controller but somehow the resolve data does not inject to the controller. Do you have any clue?

Best,

Visal

Showing 1 to 10 of 13 entries