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

Activities of "mahendra"

Hi ismcagdas,

Yes..We can see the auth header. Please find the below screenshots for your reference

One thing we have noticed that GetUserNotifications is being called after the Logout.

Could you please help us in resolving this issue.

Thanks,

Prerequisites

  • What is your product type (Angular or MVC)?
  • Angular
  • What is product framework type (.net framework or .net core)?
  • .net core

Hi Experts,

We are getting following error from the abp framework : Required permissions are not granted. At least one of these permissions must be granted: Create new OE project

When this error comes in Popup on the screen..We want to split the text in new line after the colon (i.e :)

For example: Required permissions are not granted. At least one of these permissions must be granted: Create new OE project

Could you please let us know how can we acheive this.

Any help would be much appreciated.

Thanks,

Hi ismcagdas,

Thanks for your response. If we use the above command, We are getting following error Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Please find the below screenshots for your refrence.

Thanks,

Hi ismcagdas,

Thanks for your response.

We want to test (i.e test and fix UI issues while debugging) our web application on multiple devices with the help of browserstack.

For most of the devices localhost is working fine.

For iPhone devices, localhost does not work..Therefore they asked us to run our application on local IP address instead of localhost in debugging mode.

Could you please help us to run our server side and client side project both on private machine IP instead of localhost in debug mode.

Thanks,

Prerequisites

  • What is your product version?
  • What is your product type (Angular or MVC)?
  • Angular
  • What is product framework type (.net framework or .net core)?
  • .net core

Hi Experts,

We want to run our angular project on local machine IP address instead of localhost.

For Example :

Existing Url : http://localhost:4200/ Expected Url : http://<machine IP address>:<port>

Could you please let us know the step by step changes which we need to do in our server side code (i. e. Visual Studio) and angular project code (i.e Visual Studio Code) both.

Any help would be much appreciated.

Thanks, Best Regards

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version?
  • What is your product type (Angular or MVC)?
  • Angular
  • What is product framework type (.net framework or .net core)?
  • .net core

We are getting below error while clicking on the Logout.

Note: User is logged in successfully..if he click on Logout this message appears.

Could you please let us know how to resolve this..or please let us know the condition when framework throw this exception.

Any help would be much appreciated.

Thanks

Hi ismcagdas,

Thanks for your response.

We read your comment and found AbpAntiForgeryManager.SetCookie(Context) at following places in our project:

OneEnterprise.iHUB.Web.Host\Views\Ui\Index.cshtml OneEnterprise.iHUB.Web.Host\Views\Ui\Login.cshtml OneEnterprise.iHUB.Web.Public\Views\Layout_ Layout.cshtml

Do you want us to remove AbpAntiForgeryManager.SetCookie(Context) from above files and check whether cache-control response header is removed with max-age=0

Note: We are using Angular + .Net core application.

Thanks, Best Regards

Hi ismcagdas,

I hope you are well.

Any update for us..As last month is over..We are waiting for your response..

Thanks Best Regards,

hi ismcagdas,

Thanks for your response.

I have gone through the link shared by you. Just to let you know that we use the services. Might be the framework itself would be creating the controller based on the naming convention.

Currently we are using aspnetboilerplate version 5.2 and .Net Core 3.1. As we are about to release our product in near future. Therefore, it may take some time for us to upgrade to the latest aspnetboilerplate version + .Net 5.

We also noticed in that link that even after upgrading to the latest version issue is still open.

Could you please give us your sincere opinion how to proceed?

Thanks, Best Regards,

Prerequisites

  • What is your product type (Angular or MVC)?
  • Angular
  • What is product framework type (.net framework or .net core)?
  • .net core

Hi Experts,

We have hosted our asp.net zero web application(.net core + angular) on AWS Beanstalk-LINUX based node.js environment. We have a requirement to change the Cache-control to max-size = 31536000. As our angular application hosted on AWS Beanstalk-LINUX based node.js environment, With the help of the AWS support we are able to achieve the same using the below nginx.conf file.

---------nginx.conf Start---------------------------------------------------------------------

`#Elastic Beanstalk Nginx Configuration File

user nginx; errorlog /var/log/nginx/error.log warn; pid /var/run/nginx.pid; workerprocesses auto; workerrlimitnofile 32633;

events { workerconnections 1024; }

http { include /etc/nginx/mime.types; defaulttype application/octet-stream;

logformat  main  '$remoteaddr - $remoteuser [$timelocal] "$request" '
                  '$status $bodybytessent "$httpreferer" '
                  '"$httpuseragent" "$httpxforwardedfor"';

include       conf.d/.conf;

map $httpupgrade $connectionupgrade {
    default     "upgrade";
}

#------------------------------------------------------------------------

Map blocks to set value of $control and $expires variable based on the $uri

map $cache $control { 1 "public"; }

map $cache $expires { 1 31536000; default off; # or some other default value }

map $uri $cache { ~.(js|css|png|jpe?g|gif|ico)$ 1; } #----------------------------------------------------------------

server {
    listen        80 defaultserver;
    accesslog    /var/log/nginx/access.log main;

    clientheadertimeout 60;
    clientbodytimeout   60;
    keepalivetimeout     60;
    gzip                  off;
    gzipcomplevel       4;
    gziptypes text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
   
   
   #---------------------------------
   # Adding Cache-Control headers
   addheader Cache-Control "$control,max-age=$expires";
   #---------------------------------

    # Include the Elastic Beanstalk generated location
    include conf.d/elasticbeanstalk/.conf;
}

}`

------------nginx.conf End-------------------------------------------------------

Now as you can see in the below screen shot that cache-control max-size is set to 31536000. However we are also getting the cache-control:public, max-age=0.

As per AWS support, these response headers are coming from application itself and we are not aware from where in our aspnet zero application we are setting these response headers or how to remove them.

Could you please help us in removing the cache-control response header with the max-age=0.

We also checked the below option. https://support.aspnetzero.com/QA/Questions/10428/Removeoverride-cache-control-property-from-the-Response-Header But visual studio does not recognize the DefaultResponseCacheAttributeForAppServices/ DefaultResponseCacheAttributeForControllers

Any help would be much appreciated.

Thanks, Regards

Showing 41 to 50 of 203 entries