1
Answer

AWS: Deploy MVC Application.

Photo of rajan arora

rajan arora

7y
168
1
Hi, I am able to deploy MVC application on AWS, butting getting 403 error on browing it. I checked logs and found, it is due to below reason, could you please what more permissions are required to map in AWS
 
 
Caught AmazonIdentityManagementServiceException whilst setting up role: User: arn:aws:iam::XXXXXXXXXX:user/Rajan is not authorized to perform: iam:GetInstanceProfile on resource: instance profile aws-elasticbeanstalk-ec2-role
Caught Exception whilst setting up service role: User: arn:aws:iam::XXXXXXXXXX:user/Rajan is not authorized to perform: iam:PutRolePolicy on resource: role aws-elasticbeanstalk-service-role
....creating environment 'AWSMVCApp-test' with application version 'v20180117052822'

Answers (1)

1
Photo of Amit Gupta
NA 16.5k 25.7k 7y
You can use FileSystemWatcher class to monitor files and whenever their is any change in the directory/file you can do your stuff there. This will work without any click event.
0
Photo of Raja T
NA 7.4k 6k 7y
Hi mohammed, you can use WindowsService Application. Please refer below links
 
http://www.c-sharpcorner.com/UploadFile/naresh.avari/develop-and-install-a-windows-service-in-C-Sharp/
 
http://www.c-sharpcorner.com/UploadFile/8a67c0/create-and-install-windows-service-step-by-step-in-C-Sharp/