LA.NET [EN]

April, 2009Archive

Apr 30

The S#arp framework: adding support to JSON.Net

Posted in S#arp       Comments Off on The S#arp framework: adding support to JSON.Net

Today we’re going to keep looking at the internals of the SharpArch.Web assembly and we’ll take a quick peek at the JsonNetResult class. This is  a custom ActionResult class which you can use if you need to return JSON serialized by the  Json.NET serializer to the client. As you recall, custom ActionResult classes are supposed […]

Read the rest of this entry »

Apr 29

Opera’s 15th anniversary

Posted in Trivia       Comments Off on Opera’s 15th anniversary

Hurray!

Read the rest of this entry »

Apr 29

Windows 7 on multiple cores

Posted in Trivia       Comments Off on Windows 7 on multiple cores

I’ve just found this on Daniel Moth’s blog. I’m speechless…

Read the rest of this entry »

Apr 29

I”m starting to take a close look at multithreading and I thought it would be a good idea to start writing about this topic. This should help me understand the concepts better (I understand things better when I try to explain them to others and that”s one of the reasons I”m writing this series) and […]

Read the rest of this entry »

Apr 29

Book review: C# 2008 and 2005 Threaded Programming

Posted in Books       Comments Off on Book review: C# 2008 and 2005 Threaded Programming

This is the second book I have read in multithreading programming (the first was the exceptional Concurrent Programming in Windows, by Joe Duffy). As I”ve said in the past, this is a topic which really interests me and that”s why I gladly accepted a free copy from Packt for review. As you can see from […]

Read the rest of this entry »

Apr 29

Protected: The S#arp framework: The SharpArch.Web assembly – part II

Posted in S#arp       Comments Off on Protected: The S#arp framework: The SharpArch.Web assembly – part II

There is no excerpt because this is a protected post.

Read the rest of this entry »

Apr 28

MVC Action filter project on Codeplex

Posted in ASP.NET, MVC       Comments Off on MVC Action filter project on Codeplex

Roni Schuetz informed me of a new Codeplex project he created for building a common library of ASP.NET MVC action filters. If you’re into MVC and you’d like to contribute, then check it out.

Read the rest of this entry »

Apr 27

The S#arp framework: the SharpArch.Web – part I

Posted in S#arp       Comments Off on The S#arp framework: the SharpArch.Web – part I

In this post we’re going to start looking at the goodies available on the SharpArch.Web assembly introduced by the S#arp framework. This assembly contains several helpers which you can reuse in your ASP.NET MVC projects. In this post, we’re concentrating on the WebSessionStorage class. I’m not sure if you remember it, but we talked about […]

Read the rest of this entry »

Apr 27

The S#arp framework: the duplicate entity validator

Posted in S#arp       Comments Off on The S#arp framework: the duplicate entity validator

In the last post I promise that we’d talk about the EntityDuplicateChecker and that’s what we’re going to look at today. As we’ll see, this  class is used by the custom NH validators  that you can find in the SharpArch.Core.NHibernateValidator. The EntityDuplicateChecker implements the IEntityDuplicateChecker, which looks like this: public interface IEntityDuplicateChecker    {         bool […]

Read the rest of this entry »

Apr 26

The S#arp framework: understanding the data assembly

Posted in S#arp       Comments Off on The S#arp framework: understanding the data assembly

After a small detour into the NH Validator framework (and yes, it was really a small detour since we didn’t see how it integrates really well with NH and other frameworks nor how we can create custom validation rules), in this post we’re going back to our study of the S#arp framework. Today, we’re going […]

Read the rest of this entry »

Apr 26

2011-01-12 12:15:25

Read the rest of this entry »

Apr 24

After started looking at the S#arp framework, I was almost obliged to take a look at NHibernate Validator framework .To see if it was really that good, I decide to pick a small example and apply some validation rules. This post contains some notes on my incursion into this framework. The first thing you need […]

Read the rest of this entry »

Apr 23

2011-01-12 12:15:14

Read the rest of this entry »

Apr 22

Code Contracts…are cool again!

Posted in Design by Contract       Comments Off on Code Contracts…are cool again!

Why, you ask? Simply because now they’re usable from within any version of Visual Studio (though you’ll only have static checking if you’re using VSTS). I’m not sure on how I missed that announcement (ok, I missed it because I got really “depressed” after the initial requisites for using it and never looked back!), but […]

Read the rest of this entry »

Apr 22

Protected: Spb Mobile Shell 3.0

Posted in Mobile       Comments Off on Protected: Spb Mobile Shell 3.0

There is no excerpt because this is a protected post.

Read the rest of this entry »

Apr 22

Today we’re going to keep looking at the SharpArch.Core assembly and try to understand its default support for repositories. Before going on, I guess that it’s a good idea to take a detour and talk a little bit about repositories. One of the problems we (developers) face in most applications is that most of the […]

Read the rest of this entry »

Apr 21

Today I took 10 minutes of my time and I’ve decided to use them in browsing through Stackoverflow. It completely blew me away…They have done a fantastic job in building a great software developer community which is open to anyone. This is going to be a great place to visit regularly. From now on I’ll […]

Read the rest of this entry »

Apr 20

Protected: The S#arp framework: working with entities

Posted in S#arp       Comments Off on Protected: The S#arp framework: working with entities

There is no excerpt because this is a protected post.

Read the rest of this entry »

Apr 20

Fog Creek guided tour

Posted in Trivia       Comments Off on Fog Creek guided tour

I guess that by now everyone has heard about Joel Spolsky and his company (Fog Creek), right? Ok, if you’ve got a minute, then watch this guided tour around their offices…the only thing I can say is that they do have excellent work conditions and that I’d love to work in a place like that […]

Read the rest of this entry »

Apr 19

2009 Lang.NET Symposium

Posted in Trivia       Comments Off on 2009 Lang.NET Symposium

Videos available.

Read the rest of this entry »

Apr 19

The S#arp framework: adding validation to your objects

Posted in S#arp       Comments Off on The S#arp framework: adding validation to your objects

Today we’re going to keep looking at the S#arp framework and we’re going to take a look at how we can reuse the classes introduced by the framework to add validation to an object. Before going on, it’s important to keep in mind that validation is a topic which might generate lots of discussion. For […]

Read the rest of this entry »

Apr 18

The S#arp framework: using value objects

Posted in S#arp       Comments Off on The S#arp framework: using value objects

If you’ve been involved with DDD, you have surely built several value objects. But what is a value object? Eric Evans defines it (in his seminal work) as being an object which doesn’t have a conceptual identity and that is used for describing a characteristic of a thing. As always, there really isn’t any good […]

Read the rest of this entry »

Apr 18

The S#arp framework: getting started

Posted in S#arp       Comments Off on The S#arp framework: getting started

This marks the beginning of a new series. I’ve already written about it in the past, but I thought that now would be a good idea to go back and take a deep dive on the existing code. What is the S#arp? Here’s the official definition: “Pronounced "Sharp Architecture," this is a solid architectural foundation […]

Read the rest of this entry »

Apr 15

Windows 7: aero shake

Posted in Windows 7       Comments Off on Windows 7: aero shake

Ok, this is something that I’ve found a few days ago while I was watching a presentation on Windows 7, but forgot to blog about it.Nothing explains it better than a video..

Read the rest of this entry »

Apr 14

Well, I’m thinking that the MVC platform hasn’t really much more for me to blog about, so I’m thinking about new themes which might also interest you. Here are my ideas for future posts: I’m thinking on starting a basics series. The idea is to talk about concepts which I consider that every developer should […]

Read the rest of this entry »

Apr 13

The MVC framework: the ActionLink control

Posted in ASP.NET, MVC       Comments Off on The MVC framework: the ActionLink control

Ok, so today I’ve finally updated my local copy of the MVC source code (which I’m doing through my preferred SVN client) and lo-and-behold: new stuff to talk about in the MVC futures source code! Today we’re going to talk about the ActionLink control. As you might expect (from the name), this is a really […]

Read the rest of this entry »

Apr 10

Book review: ThoughtWorks Anthology

Posted in Books       Comments Off on Book review: ThoughtWorks Anthology

I’ve just finished reading a couple of interesting essays on software development which were compiled into this book. If you really enjoy those books helps you reflect in your profession (and you’re a software developer), then this book is for you. Classification: 7.5/10.

Read the rest of this entry »

Apr 09

Book review: Concurrent Programming on Windows

Posted in Books       Comments Off on Book review: Concurrent Programming on Windows

2011-01-12 12:13:57

Read the rest of this entry »

Apr 08

The MVC framework: the AcceptAjaxAttribute

Posted in ASP.NET, MVC       Comments Off on The MVC framework: the AcceptAjaxAttribute

There might be some scenarios where you have methods that should only be invoked for AJAX requests. In those cases, you can use the AcceptAjaxAttribute to decorate those methods. This is an ActionMethodSelectorAttribute which overrides the IsValidForRequest and delegates all its work to the Request.IsAjaxRequest extension method. When you’re not in an AJAX request, the […]

Read the rest of this entry »