SSL_Dev_Step7

Soup to Nuts: Custom Domains and SSL in IIS Express

Nowadays, nearly every site out there is using SSL, and for good reason. Security is on the rise and adding a little bit of protection to your site traffic is a good thing. Additionally, having a nice consistency in URL naming between your dev/staging/production environment is very handy. Here’s how you can set this up in Visual Studio and IIS Express. Continue reading “Soup to Nuts: Custom Domains and SSL in IIS Express”

DNX_Deployment_Success.png

Database Migrations with Azure EF7 and DNX

With the newest release of ASP.Net 5 (vNext) and Entity Framework 7, it appears that the traditional web.config transform method and startup code will no longer work to have your database migration scripts automatically run when you deploy your code from source control to Azure. Here’s a new way that you can accomplish the same task and keep your continuous integration setup running smoothly. Continue reading “Database Migrations with Azure EF7 and DNX”

Laravel-5.png

Total Control of Logging in Laravel 5.1

A little while back I showed how to configure LogEntries with Laravel 5.0. Now that I’ve updated to 5.1, I needed to update the configuration to use Laravel’s new layout. In addition, I needed to control the level at which log entries were being saved to remove the clutter of the logs in the staging/production environment. Here’s how you set that up. Continue reading “Total Control of Logging in Laravel 5.1”

Laravel-5.png

Laravel 5 Configurations in AWS Elastic Beanstalk

I’m working on a new project that is running an API using Laravel 5. We’re also hosting it on Amazon’s Elastic Beanstalk service, which gives us great scaling capabilities on the fly. However, since new instances of your application can be added/removed on the fly, setting your configuration requires a little more tweaking than the base install provides.

Continue reading “Laravel 5 Configurations in AWS Elastic Beanstalk”

sitefinity_logo.jpg

Installing SiteFinity with IIS 8, SQL Server 2012, and Windows Server 2012

I’m working on a new project that uses the Sitefinity CMS by Telerik. So far I’ve been impressed with the architecture and features it provides. The documentation is robust and there is good support. I did run into a couple of snags installing a new Sitefinity instance on an Azure VM that is running Windows Server 2012, IIS 8, and SQL Server Express 2012. Here are a few tweaks you’ll need to make to get an install working.

Continue reading “Installing SiteFinity with IIS 8, SQL Server 2012, and Windows Server 2012”

quick-tips.jpg

Quick Tip – Configuring Laravel Environments on Media Temple

Note: This applies to Laravel 4. I’m still looking into options for Laravel 5…

I ran into a pesky little bug today where the Laravel standard environment configuration by hostname wasn’t working on a Media Temple deployed site. After some digging and tweaking, here’s how you get it to work…

Continue reading “Quick Tip – Configuring Laravel Environments on Media Temple”

1410411133_0.png

How to Run Multiple Projects in a Single Azure Site

This is probably a fringe case, but here’s the scenario. I have a site for a client that is actually broken down into several projects, but not in a single solution. The layout looks something like this:

  • Root Folder
      • index.html (basic home page with links to project roots)
      • ProjectA
          • Default.aspx
          • Details.aspx
          • etc…
      • ProjectB
          • Default.aspx
          • Features.aspx
          • etc…
      • ProjectC
          • Default.aspx
          • Contact.aspx
          • etc…
        • By default, if you were to have your root folder checked into source control, and had Azure deploy from the root folder, you’d either have only Project A deployed on the site, or most likely, the deployment would fail with a message that it doesn’t know what project to deploy.

          There was nothing I could do to get around this situation, but I did come up with a way to make it work.

          Continue reading “How to Run Multiple Projects in a Single Azure Site”