Category Archives: Programming

STARTING AND STOPPING EC2 INSTANCES USING A LAMBDA

From http://blog.conygre.com/2016/11/18/starting-and-stopping-ec2-instances-using-a-lambda-and-cut-your-aws-bill-in-half/ CUTTING YOUR AWS EC2 BILL WITH LAMBDA FUNCTIONS When running a large training program for an investment bank, we needed over 30 EC2 instances, but only between certain hours of the day. This simple Lambda Function, cut our AWS … Continue reading

Posted in Business Model, Knowledge, Programming, Software architecture | Leave a comment

Running Serverless ASP.NET Core Web APIs with Amazon Lambda

https://aws.amazon.com/blogs/developer/running-serverless-asp-net-core-web-apis-with-amazon-lambda/ One of the coolest things we demoed at our recent AWS re:Invent talk about .NET Core support for AWS Lambda was how to run an ASP.NET Core Web API with Lambda. We did this with the NuGet package Amazon.Lambda.AspNetCoreServer … Continue reading

Posted in C#, Problem solving, Programming, Software architecture | Leave a comment

Microsoft Azure vs. Amazon Web Services: Cloud Comparison

Direct side-by-side comparisons aren’t always possible between two service providers like Azure and Amazon, but some of them are close enough. The table below is an attempt at making those comparisons. This list of services is far from complete. Microsoft … Continue reading

Posted in Business Model, Problem solving, Programming, Software architecture | Leave a comment

Cordova application architecture.

Overview Apache Cordova is an open-source mobile development framework. It allows you to use standard web technologies – HTML5, CSS3, and JavaScript for cross-platform development. Applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to … Continue reading

Posted in Java, Knowledge, Programming | Leave a comment

CSS Grid systems

Name Latest release/Date License Fixed, fluid or elastic Units (px, em, %) Features # of columns 960 grid system October 21, 2011 GPL, MIT License fixed px source ordering 12, 16, 24 Blueprint 1.0.1 (May 14, 2011) MIT License typography, forms, … Continue reading

Posted in Problem solving, Programming | Tagged , , | Leave a comment

Get list of tables used in a stored procedure

;WITH stored_procedures AS ( SELECT o.name AS proc_name, oo.name AS table_name, ROW_NUMBER() OVER(partition by o.name,oo.name ORDER BY o.name,oo.name) AS row FROM sysdepends d INNER JOIN sysobjects o ON o.id=d.id INNER JOIN sysobjects oo ON oo.id=d.depid WHERE o.xtype = ‘P’) SELECT … Continue reading

Posted in Problem solving, Programming | Leave a comment

Implementing MVC in ASP.NET results in the following benefits and liabilities

Benefits Reduced dependencies. An ASP.NET page allows the programmer to implement methods within a page. As the Single ASP.NET Page shows, this can be useful for prototypes and small short-lived Web applications. As the complexity of the page, or the … Continue reading

Posted in Programming | Leave a comment