Posted by kusek on January 2, 2009
Recently when I was working with ASP.NET 3.5 driven SharePoint I got few strange error, to make sure everything is configured properly I crosschecked with the IIS and found that SharePoint application is running ASP.NET 2.0 version,quickily coming to the conclusion that ASP.NET 3.5 is not registered to the IIS. After a quick search I found this article that taught me the truth that
“…… .NET 3.5 is not a standalone framework like v2.0 or v1.1 . It is just an extension of the 2.0 framework. The extension provides developers with new language features like Anonymous Types, Extension Methods, Lambda Expressions and of course LINQ …. and AJAX is now integrated … also you have a few new ASP.NET controls <asp:ListView>, <asp:LinqDataSource>, <asp:DataPager>……“
Posted in ASP.NET 3.5 | Leave a Comment »
Posted by kusek on January 2, 2009
Recently I was working on a task of converting the SharePoint site running in ASP.NET 2.0 to ASP.NET 3.5. If you are doing the same there is an easier and nice way to do the same. Please follow this link which guides you a kind of automated way to achieve it. Make sure that you include the System.Web.Extensions assembly in the SafeControls.
Also after done with the conversion I tried to code come web Services by using Hand much without intelli-sence help of Visual Studio, when which I encountered an interesting issue in fact a compiler error which says ‘System.Data.DataRowCollection’ does not contain a definition for ‘Cast’ and the best extension method overload ‘System.Data.EnumerableRowCollectionExtensions.Cast<TResult>(System.Data.EnumerableRowCollection)’ has some invalid arguments. Initially I narrowed down it to be some configuration issue, but it was because of missing Namespace. System.Linq By the fact that all the extension methods are defined in the System.Linq Namespace.
Posted in ASP.NET 3.5, LINQ, SharePoint | Leave a Comment »