I was looking for the way to do data validation for my church library management system, there are some good frameworks around. But I found they need to bind with other libraries. After I had spent some time to look around, then I found a library, calls Fluent Validation. They are very simple.
The validation can be done in this way:
That is so simple, that is what I like!
Moreover, I downloaded their source codes. The structure and code are very very readable!
Lastly, it can be integrated with ASP.Net MVC!
Error Message :"The type 'TEntity' must be a reference type in order to use it as parameter 'T' in the generic type or method 'XXXXX' (CS0452) -"
I got a line of code like this:
That sounds alright, but I got an Error Message :"The type 'TEntity' must be a reference type in order to use it as parameter 'T' in the generic type or method 'XXXXX' (CS0452) -".
Well, that is a common mistake and easy to fix.
Visual Studio 2010 is in the market for a little while. That sounds like no opensource alternative for .Net 4.0 until now. SharpDevelop 4.0 Beta 1 is released. I have tried that. So far, my first impression is slower. I guess that is because the UI is heavy rewritten in WPF. I think most of people will agree WPF got a better appearance and runs slower. But it got a feature I want for long time. Windows forms designer for WPF. Now, you can use the form desginer to edit xaml. That's great! By the way, in release notes, they do not recommend to use the form designer for editing .net 2.0 winfrom files. I tried that, so far, I have not faced any major issues. Well, they don't recommend that, I think you should not do that.
Lastly, so far, I am very happy to the new version. It looks better and got more features!
I found that actually you can develop iPhone app in C#. There is an application from Novell, MonoTouch. I read the documentations, it seems to be directly interface with the native iPhone OS. That sounds quite nice and it supports iPhone OS. Although it sounds powerful, it is not a freeware. Even the professional edition costs $399!