Category Archives: Programming

What are the differences between “git commit” and “git push”?

Source: https://stackoverflow.com/questions/2745076/what-are-the-differences-between-git-commit-and-git-push

Posted in ASP.NET MVC, C#, Knowledge, Problem solving, Programming, Uncategorized | Leave a comment

What is the best way to paginate results in SQL Server

What is the best way (performance wise) to paginate results in SQL Server 2000, 2005, 2008, 2012 if you also want to get the total number of results (before paginating)? Getting the total number of results and paginating are two … Continue reading

Posted in C#, Database, Knowledge, Problem solving, Programming, Uncategorized | Leave a comment

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

I had a similar problem when running a spring web application in an Eclipse managed tomcat. I solved this problem by adding maven dependencies in the project’s web deployment assembly. Open the project’s properties (e.g., right-click on the project’s name in … Continue reading

Posted in Integration, Problem solving, Programming, Uncategorized | Leave a comment

Time-series data: Why (and how) to use a relational database instead of NoSQL

From https://blog.timescale.com/time-series-data-why-and-how-to-use-a-relational-database-instead-of-nosql-d0cd6975e87c These days, time-series data applications (e.g., data center / server / microservice / container monitoring, sensor / IoT analytics, financial data analysis, etc.) are proliferating. As a result, time-series databases are in fashion (here are 33 of them). Most … Continue reading

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

Microkernel Architecture Pattern & Applying it to Software Systems

Architectural Patterns always been interesting from designer perspective. MVC, Pipe’n’filter, Layered,3-tier, n-tier, etc. But one very basic architectural concept coming from Civil engineers in practice. ‘’Have common building block with minimal facility as a base, with modular and customizable components … Continue reading

Posted in ASP.NET MVC, Integration, Programming, Software architecture, Technology | Leave a comment

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