|
|
|
|
|
by contextfree
5739 days ago
|
|
The main headache-inducer I've encountered is that to really get the benefits of F# I'd like my model objects to be immutable records, but the ASP.NET MVC model binding infrastructure (along with the binding/serialization/etc. parts of a lot of other .NET frameworks) assumes mutable model properties (and default constructors). You can create a custom model binder, which works but isn't 100% satisfactory for other reasons. The example gets around this by just using LINQ to SQL generated C# classes as the model, but that's a big compromise. |
|