Sample Application

The sample application is built on the standard MVC 5 template and uses .Net Framework 4.5. You can simply create an exact one from Visual studio by creating a new ASP.NET Web Application and select MVC as the project template. Read more about creating ASP.NET Web Projects in Visual Studio.

RDS Database

The application uses ASP.NET Identity as the membership system. By default when you create a new project, the web application is configured to use a local SQL Server database. To use an Amazon RDS database instead, change the ApplicationDbContext constructor to acccept the RDS connection string. You can retrieve the required values to build the connection string for an RDS database from ConfigurationManager.AppSettings. For a full tutorial on how to deploy this application to AWS Elastic Beanstalk, see Getting Started deploying a .NET application to AWS Elastic Beanstalk.

Example: appConfig["RDS_DB_NAME"]

The avaialbe variables: RDS_DB_NAME, RDS_USERNAME, RDS_PASSWORD, RDS_HOSTNAME, RDS_PORT. Elastic Beanstalk also supports adding you own environment variables. Learn more about customizing and configuring a .NET Environment