linktotweet.com – open your blog to twitter

Home / linktotweet.com – open your blog to twitter

linktotweet.com – open your blog to twitter

Programming
In December 2012 I started working on a one-man-project called linktotweet.com. I started the project as an experiment as I wanted to try and learn about the newest available versions of various technologies such as Microsoft ASP.NET MVC, jQuery, Geolocation, and Google Charts. I though that it would be good to expose the service to the web and, after purchasing a domain name, the service was up and running after only 2 weeks of work. Few tweets aside, almost no other kind of promotion has been done so far, so I wanted to use this channel to mention it and to encourage you to try it (it's free!) and if you find it useful, to use it in your blog! Please help to spread the word and contact me if…
Read More

ServiceStack: IoC with Microsoft Unity

Programming
ServiceStack is a high-performance .NET web services framework (including a number of high-performance sub-components) that simplifies the development of XML, JSON, JSV and SOAP Web Services. ServiceStack has a large number of components, and it has its own “ecosystem”. One of the functionality ServiceStack exposes is the dependency injection with it's built-in Funq IoC framework. Wile Funq is an excellent framework, for a number of reasons you might want to use the framework you are already familiar with like: StructureMap, Ninject, or others. In this post I will show you how to integrate the Microsoft Unity framework with ServiceStack and use it as an IoC. Implementing the IContainerAdapter ServiceStack exposes the IContainerAdapter interface for external containers and therefore the first thing that has to be done is to create our…
Read More

Debug Decompiled Code within Visual Studio with Telerik’s JustCode

Programming
In List of Microsoft.NET IL disassemblers post, I have already mentioned one of the Telerik's (free) products, which is the JustDecompile. In this post I would like to review JustCode a tool of which Telerik has just released a new version. Unfortunately, the JustCode is not open source and it is not free, but it offers a great deal of functionality. I particularly like the latest added ability to debug decompiled code, directly within Visual Studio. Before we start, what is JustCode Description taken from the Telerik's web site: JustCode is a Visual Studio extension that provides on-the-spot .NET code analysis and error checking, smart navigation and refactoring. So you code faster. JustCode is unobtrusive and integrates seamlessly with your natural work-flow. Quick hints, code generation, unit test runner and…
Read More

Entity Framework Code First – Filtering And Sorting with paging (2)

Programming
In the previous article Entity Framework Code First - Filtering And Sorting with paging (1) I have simply omitted to include the explanation of the "sorting" mechanism in the solution I've proposed. The intention was there but it was left out so I hope that this post will complete the whole story. A short summary of the previous articles For the new comers, this post is part of a trilogy, so to understand the whole picture you may follow: Entity Framework Code First - Applying Global Filters Entity Framework Code First - Filtering And Sorting with paging (1) For more details please check the article itself, but in summary what I am proposing is: A generic mechanism of retrieving data that enables paging, filtering and sorting when using EntityFramework The…
Read More

SQL Server ghost records – in a nutshell

Database
I was completely unaware of the SQL Server "ghost records" until recently I've started using a table in SQL Server database to temporarily store and then delete generated PDF documents as part of a nightly job. Because of a large amount of data being processed (inserted and then deleted) few days later our DBA realized that the database data files started growing in a rhythm of 10GB per day without any apparent reasons. What is a Ghost Record "Ghost Records" are records that have been logically but not physically deleted from the leaf level of an index. Such a delete operation never physically removes records from pages but it only marks them as having been deleted, or ghosted! Ghost Records have been introduced as a performance optimization that makes the…
Read More

What’s new in Google DataTable .NET Wrapper v3.1.0

Programming
After quite a long time there is a small update on the Google DataTable .NET Wrapper library. For those who are new to the library please check the two previous posts: How to use the Google DataTable .Net Wrapper Library What's new in Google DataTable .NET Wrapper v3.0.0 What is new? First of all I would like to thank Tom Ziesmer who has substantially contributed the code and ideas (suggestions) of this minor release. IEnumerable converter to DataTable Tom was very kind to contribute his code for the new extension method. The extension method is mainly responsible for transforming any kind of IEnumerable object into the Google.DataTable.Net.Wrapper.DataTable object. It equally works with anonymous as with strongly typed kind of IEnumerable objects. The example below is showing how to use the…
Read More

Key design principles in Software Development

Software Architecture
Software Development is so many things; to have a good start creativity, passion and methodology have to be a perfect match. While the creativity and the passion are subjective and personal, the methodology is something that can be learnt, developed, enhanced and shared. Like mathematics, it can be seen as an universal language. Principles When developing software there are some best-practices and principles that should be followed so that every software developer should be able to read and understand the application quite quickly. In general, the principles, when applied, should be able to (and not only) minimize maintenance requirements minimizes costs promote usability and extensibility promote testability and correctness of the application Some of the key principles are as follows: Separation of concerns Expressed in a simple sentence: "Divide your…
Read More

What makes an IT Project successful?

Project Management
In one of my earlier posts I tried to describe what kind of attributes a leader should have to be successful, and in this post I would like to go a big further and try to define what should make an IT project a success. Wikipedia says that In project management a project consists of a temporary endeavor undertaken to create a unique product, service or result. By reading the above definition, there are two ingredients that define a project: A project is a temporary action, therefore every project has a start and an end. It has an output: product, service or a result A perfect project Let's start with some statistics: This chart data is based upon The Standish Group report. The Standish Group is a Massachusetts-based consultancy responsible…
Read More

Microsoft.NET O/R mapper: choose your own!

Programming, Software Architecture
Only few years ago I was not such a big fan of Object-Relational mapping tools (ORM), but now I have to admit that when starting a new project I'm always thinking whether it makes sense to use it or not. Compared to "traditional" coding techniques, Object-Relational mapping often reduces the amount of code that needs to be written, but I would add as well that a new kind of problems arise too, especially in some more complex scenarios. So particular attention should be taken on the cost/benefit side, like for anything else. Whatever approach is taken, please create different application layers, and especially for the data access, use the Repository pattern. Repository Pattern offers a great way of decoupling the data access from the application logic. So, the golden rule…
Read More

Logic in the database, to be or not to be?

Database, Programming, Software Architecture
Recently I have participated to a couple of discussions about whether the triggers or stored procedures should be used or not in a "real" project, so I decided to write this post to express my point of view. This said, I warn you, there is no a "right" answer, but most probably a "pro" and "cons" about anything written in this post. An old problem There are more than a handful of developers who are not really clear (from the architectural point of view) when to use triggers, views, stored procedures,etc... let's just call this "database logic". Being so easy to change, and so close to the data, one is really tempted to go to the "source" and start coding.  As an alternative read, please check my previous article Direct…
Read More

Selecting the Appropriate Juniper Certification Exam for Advancing Your Career

Uncategorized
When choosing Juniper certification exams based on career advancement goals, there are a couple of things you need to keep in mind. The first is that Juniper exams are sequential in nature. In other words, you must work your way through exams from the associate level up in order to build your expertise and meet prerequisite requirements for more advanced testing options through the organization. The second point of importance in career advancement professional certification exam selection is to choose a certification path that will meet your current and your future goals. An Juniper exam that validates your level of expertise and your knowledge base for your current position is the first step in working toward a promotional opportunity or a new job in your field of focus. By demonstrating…
Read More

MS SQL Server – Querying object info

Database
I am migrating some old posts to this blog, so I though it would be good to migrate this one too. This post has been originally written in February 2010, but still actual and valid. Today I run into a problem of finding out when was the last time a specific Stored Procedure (SP) has been changed. Obviously, there are different ways to find out, but in this post I would like to introduce some of the possible solutions by using your lovely MS SQL Server Management studio query window. I hope you will find this info useful. Introduction Generally there are two ways to retrieve information about database objects. By using either the Sys or INFORMATION_SCHEMA schemas. So, let’s start by saying that usually you would be too busy…
Read More
justino_chase