Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Applications
    • Applications
    • Cloud
    • Development
    • IT Management

    Apprenda 3.0 Brings Private PaaS to .NET Developers

    Written by

    Jason Brooks
    Published January 6, 2012
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      The corner of cloud computing known as platform as a service has been heating up over the past year, with new products and projects coming online that are aimed at abstracting away application deployment details and enabling developers to focus primarily on their code.

      Early on, most platform as a service (PaaS) options have favored languages such as Java and Python, paired with largely open-source application stacks. With the exception of Microsoft’s own Azure service, most of the PaaS focus has been aimed away from Microsoft’s .NET framework and its corresponding stack.

      Recently, however, this situation has been changing, with the emergence of .NET-targeted options such as Apprenda Inc.’s Apprenda 3.0, which enables organizations to deploy their own .NET PaaS atop the Microsoft Web application stack.

      Apprenda 3.0 is private PaaS, which can be installed either on a company’s on-premises infrastructure, or in a public cloud, such as Amazon’s Elastic Cloud Compute (EC2) service. Organizations install the Apprenda software on one or more machines, and the product arranges the application and database server components into a single hosting platform.

      I tested Apprenda 3.0 on a single Windows 7 machine in our lab, with a focus on the developer-facing aspects of the product, such as its amenability to hosting pre-existing applications. I found getting up and running with the product easy. It was also easy to deploy standard .NET applications with only modest modifications.

      Based on my tests, I recommend that individuals and organizations deploying .NET applications take Apprenda out for a spin themselves to determine if its deployment model can make their lives easier, and free up more time to focus directly on their applications.

      Fortunately, the product is easy to try out. The Express version of Apprenda is free to download and use, but is limited to 12GB of RAM across the cluster of systems managed by the product. Pricing for the full version of Apprenda is based on the amount of RAM in one’s managed cluster. For more information on the two versions, see this rundown at the Apprenda Website.

      Taking Apprenda for a Spin in the Lab

      I kicked off my tests by downloading Apprenda Express and launching its installer on a machine running the 64-bit edition of Windows 7. The installer checked for the Microsoft Web stack dependencies it required, and prompted me to provide any missing elements before continuing. I managed to pull down most of what I needed using Microsoft’s Web Platform Installer tool, including IIS 7, SQL Server Express Edition and an Express edition of Visual Studio.

      I also downloaded and installed the software development kit for Apprenda, which came with solution templates for Visual Studio. For my first project, I used an Apprenda solution template to create a simple, database-backed “hello world” application, as laid out in the product’s developer tutorial. After writing and building my application, I ran the project through a deployment archive builder, which also shipped with the SDK.

      The templates and archive builder got me started with the folder layout I needed for deploying to Apprenda, but as I soon learned, it was easy enough to adapt existing projects to run on the service without calling on the templates at all.

      To get a feel for deploying existing applications on the service, I picked out a few popular open-source .NET applications from Microsoft’s Codeplex project foundry. I started with the aptly named BlogEngine.NET, which I configured to use a database back-end, rather than its default XML back-end, as described in the project’s documentation.

      Next, I set the database connection string for the application to $#APPLICATIONCONNECTIONSTRING#$, a wild-card value that the Apprenda system swaps out for the correct value at deploy time.

      Once so configured, packaging the code into an Apprenda deployment archive involved placing all the project files into a directory named “root,” which itself sat in an “interfaces” directory. The BlogEngine project archive included a SQL script (MSSQLSetup2.5.0.0.sql) for creating the tables it required. I renamed this file to ApplicationProvisioning_Script.sql, and placed it in a directory named “scripts,” within a “persistence” directory. I compressed the persistence and interfaces directories into a zip file, which was then ready for deployment.

      I also tested with Umbraco CMS, which doesn’t ship with SQL scripts for setting up the tables. Rather, the Umbraco installer creates its tables during initial set-up, and needs only a database onto which to install. For this case, I included a blank ApplicationProvisioning_Script.sql script in my deployment archive, which was sufficient to prompt Apprenda to create a blank database for use with the application.

      Once running, the Umbraco CMS installer asks for credentials for the database associated with it to complete the installation process. I was able to access these credentials from a data management console in the Apprenda developer portal.

      The third application I chose for testing was BugNET, which ended up requiring file and folder permission settings changes not accessible to an Apprenda developer. To get the application to work, I would either have to modify my Apprenda installation to make the requested permissions changes, or modify the application to no longer require them.

      For each of my test applications, once I’d come up with my deployment archive, I visited the Web-based Apprenda developer console to give my application a name and description before uploading its deployment archive to the service. After uploading the archive, the Apprenda system would check to ensure that necessary elements, such as a valid database script, were in place, and if pieces were missing, the console would prompt me to provide them.

      For instance, when I uploaded my Umbraco CMS deployment archive, the system notified me that the project’s use of “configSource” attributes to reference separate configuration files in the project’s web.config was unsupported. As suggested in the error message, I folded these configuration elements into the main configuration file.

      To test my applications, I then would promote them from development to sandbox status, where I could launch them, carry out any additional configuration steps through the browser, and give the applications a run-through before promoting them from sandbox to production status.

      With each redeployment, for instance, shifting from sandbox to production, the system wiped the databases associated with the applications.

      Jason Brooks
      Jason Brooks
      As Editor in Chief of eWEEK Labs, Jason Brooks manages the Labs team and is responsible for eWEEK's print edition. Brooks joined eWEEK in 1999, and has covered wireless networking, office productivity suites, mobile devices, Windows, virtualization, and desktops and notebooks. Jason's coverage is currently focused on Linux and Unix operating systems, open-source software and licensing, cloud computing and Software as a Service.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.