• Associating a URL Protocol to your Application

    Published by on June 25th, 2010 4:28 pm under .NET

    No Comments
    This is something done by WebPI (wpi://) and many p2p apps that you can do with your own application also: associate a URL protocol to your application. Let’s say you want to use URLs beginning with myapp:// to launch your own application and perform a certain task (i.e. download a file and open it). This... read more
  • .NET Framework 3.5 and Visual Studio 2008 SP1 released!

    Published by on August 13th, 2008 9:56 pm under .NET, SP1

    1 Comment
    It’s awesome how fast time goes, a year ago, I was playing with .bat files (like putting messages in the autoexec.bat file), a month ago, I was building applications to do my accounting homework at highschool using C++ Builder, a week ago, I was making simple games with Visual Basic 6 and then working with... read more
  • ASP.Net Dynamic Data (Scaffolding with .net)

    Published by on August 5th, 2008 8:40 pm under .NET, SP1

    1 Comment
    When you build data centric web applications, a big part of the code is related to the implementation of CRUD (Create, Read, Updated, Delete) operations. Scaffolding is a mechanism to generate fully functional data driven applications based on metadata inferred from a model, basically, all the CRUD operations are implemented by using the metadata obtained... read more
  • .NET Framework 3.5 SP1 – Client Profile

    Published by on July 25th, 2008 8:47 am under .NET

    No Comments
    The .NET Framework 3.5 Client Profile is a lightweight subset of the full .NET Framework 3.5 aimed to be deployed in Client machines. Therefore, it only have the assemblies that are commonly used on client boxes and does not contains any server or development related assemblies. This framework subset weight just 27Mb against the 200Mb... read more
  • C# 3.0 new features

    Published by on July 24th, 2008 11:42 am under .NET

    No Comments
    This post is aimed to be a quick abstract for all the new C# language constructs introduced with the version 3.0. Implicitly typed local variables By using var keyword to define a local (does not work at class level) variable is not needed to define its type, the compiler will infer it. Examples: var i... read more
  • AOP with PostSharp

    Published by on June 22nd, 2008 1:49 am under .NET, Uncategorized

    No Comments
    PostSharp is a great open-source tool that allows you to encapsulate the non-business logic in custom attributes. That’s the Aspect Oriented Programming paradigm main goal: the separation of concerns. This tool heps you to free the business logic from the infrastructure code such as: Transactions Logging Permissions / Security Exceptions handling Caching Settings Your code... read more
  • Managed Add-In Framework

    Published by on June 16th, 2008 6:05 pm under .NET

    No Comments
    In this post I will describe the basics of MAF to quickly introduce this framework. The Managed Add-In Framework is an Add-In architecture built on top of the .Net Framework aimed to address the following problems: Loading/Unloading Sandboxing (Add-ins can be sandboxed to a particular security permission set) Isolation (isolation boundary between the Host and... read more