WCF Dependency Injection with Ninject

Programming
I usually use Microsoft Unity as the IoC container as I am quite familiar with it and I like the way it can be configured, however in my new projects I started using Ninject as it seems a stable product and the community around it is quite active. As I am building a new WCF based SOAP services, I needed a way to configure the dependency injection, and with Ninject this seem to be very easy. Installation First things first. In order to use Ninject in your application you would need to reference the libraries. By using NuGet you have to install Ninject.Extensions.Wcf which will automatically install the Ninject (core) project. Configuration Once the NuGet references are installed, we need to do a couple of things. Application service file: Service.svc needs…
Read More

Visual Studio Code – Cross platform development tool

Programming
Microsoft has announced today at its Build developer conference 2015, the launch of a new cross platform development tool: Visual Studio Code. The tool supports several languages, built-in debugging, git, ASP.NET 5, and many other features. Microsoft describes the new tool as: Visual Studio Code provides developers with a new choice of developer tool that combines the simplicity and streamlined experience of a code editor with the best of what developers need for their core code-edit-debug cycle. Visual Studio Code is the first code editor, and first cross-platform development tool - supporting OSX, Linux, and Windows - in the Visual Studio family.  Language support Visual Studio Code has a built-in support for multiple languages such as (source microsoft.com): Features Languages Syntax coloring, bracket matching C++, jade, PHP, Python, XML, Batch,…
Read More

Choose your SQL Server schema comparison tool – Part 2

Database
This is the continuation of the previously written post. Open DBDiff Open DBDiff is a free and open source database schema comparison tool for SQL Server 2005/2008. It reports differences between two database schemas and provides a synchronization script to upgrade a database from one to the other.  Open DBDiff can synchronize> Tables (including Table Options like vardecimal, text in row, etc.), Columns (including Computed Columns, XML options, Identities, etc.), Constraints, Indexes (and XML Indexes), XML Schemas, Table Types, User Data Types (UDT), CLR Objects (Assemblies, CLR-UDT, CLR-Store Procedure, CLR-Triggers), Triggers (including DDL Triggers), Synonyms, Schemas, File groups, Views, Functions, Store Procedures, Partition Functions/Schemes, Users, Roles [caption id="" align="aligncenter" width="730"] Open DbDiff[/caption] tablediff Utility (Microsoft) The tablediff utility is used to compare the data in two tables for non-convergence, and is…
Read More

Google DataTable .Net Wrapper – Usage

Programming
Nicholas has written a very good blog-post regarding the Google DataTable .Net Wrapper and how it helped him to boost the development. Please check it out here. Additionally in the Related Posts section please check the other blog posts regarding Google DataTable .NET Wrapper. Please contact Nicholas or me with your comments or questions!
Read More
ServiceStack Succinctly – free e-book

ServiceStack Succinctly – free e-book

Books, Programming
Today Syncfusion published the ServiceStack Succinctly e-book of which I’m (the proud) author. If you are interested in using the ServiceStack framework for building RESTful services, then this e-book is a great start. Check It out by downloading it for free from the Syncfusion web site I would like to thank Ricardo Peres for the great contribution and the whole Syncfusion team for the fantastic support. Soon there will be new articles about  ServiceStack published on agile-code.com, so keep tuned! ServiceStack Succinctly ServiceStack is an open source framework designed to be an alternative to the WCF, ASP.NET MVC, and ASP.NET Web API frameworks. It supports REST and SOAP endpoints, auto configuration of data formats, inversion of control containers, object-relational mapping, caching mechanisms, and much more. With ServiceStack Succinctly by Zoran…
Read More
MongoDB Succinctly – Free E-Book

MongoDB Succinctly – Free E-Book

Books, Database, Programming
Syncfusion published yet another book on their Succinctly Series - MongoDB Succinctly. Once again I had the pleasure to be the Technical Editor of the book.     In MongoDB Succinctly, author Agus Kurniawan explains the essentials of the MongoDB database system. Starting with creating a MongoDB database, you’ll learn how to make collections and interact with their data, how to build a console application to interact with binary and image collection data, and much more. You’ll also learn how to integrate MongoDB into Windows Forms, ASP.NET, and ASP.NET MVC projects. Download today to bring the high performance and scalability of MongoDB to your applications. Look for Entity Framework Code First Succinctly coming soon! The file can be downloaded directly from the Syncfusion web site Table of contents: Introduction to…
Read More

Write a Guest Blog Post!

Programming
Do you want to contribute to agile-code.com?   (c) www.business2community.com So, yes, effective immediately, I will accept guest posts. Submit your guest-post today! Content agile-code.com accepts guest post which must be on any of the following topics: Agile Methodologies Programming (no language preference). Test Driven Development (TDD). Domain Driven Design. Databases (Relational, NoSQL). Distributed computing (Web Services, SOA, REST, ...). Software Design Patterns. Software Architecture Your post cannot be an advertisement for your product or the equivalent of a sponsored post. If you want to publish a sponsored post, or if you have any question, please contact me! Guidelines Your post must be original and not previously published either on the Web or in print. You agree not to publish it anywhere else, including your own blog or Web site. You may, however, advertise…
Read More

List of ASP.NET MVC grid controls

Programming
I was trying out several grid implementation for my next ASP.NET MVC framework based project, and thought to share with you the list of known grid display solutions I've found. All the description have been taken directly from the relative sites. FlexGrid - Lightweight but rich data grid with resizable columns and a scrolling data to match the headers, plus an ability to connect to an xml based data source using Ajax to load the content. MVC Contrib - The Grid component allows for the easy construction of HTML tables for displaying data from a collection of Model objects. jqGrid - jqGrid is an Ajax-enabled JavaScript control that provides solutions for representing and manipulating tabular data on the web. Since the grid is a client-side solution loading data dynamically through Ajax…
Read More

Top things I do on every software project

Programming, Project Management
Every software project is particular and has its own features, but in general there are things that are common across the industry! In this post I would like to mention things that in my opinion are a must and that I am currently following whenever working on a project.  The priority of the list is not given by the order as it would largely depend on the project size, team size, priorities, milestones and timeline. Depending on the project some of them will have a bigger or smaller role. The following are the points I find very important and do in every project, which is something I recommend to you as well! Version Control As a general concept, it's not that important which Version Control system are you using or going to use;…
Read More

Microsoft ASP.NET Web API Succinctly

Books, Programming
Recently I had a pleasure to Technically Review the Microsoft ASP.NET Web API Succinctly e-book , which is part of the Syncfusion's succinctly series e-books, and finally the book got published and it's immediately available for download! The book's author has made a good job and has given a lot of good examples of how to use the technology and I cannot do otherwise than recommend you to download the e-book directly from the Syncfusion's web site. I really enjoyed reviewing this book it and I can say that it was really a great experience. Let's just spend some few words about the book: Microsoft's ASP.NET Web API simplifies data delivery through HTTP, making it a great platform for building RESTful applications. With ASP.NET Web API Succinctly, you'll learn the ins and…
Read More

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