5 items found in the LINQ Category
Cannot use a lambda expression as an argument to a dynamically dispatched operation
Mikesdotnetting
-
18 September 2012 08:08
Since the introduction of the Web Pages framework, ASP.NET has been making use of the dynamic type introduced in C# 4.0. Along with that comes some new error messages which at first glance don't make a lot of sense - mainly because they are unexpected. I have already looked at how dynamics do not support extension methods, and a recent question in the ASP.NET forums illustrated another way in which the dynamic type can catch you out.
Filed under:
LINQ
ASP.NET MVC
ASP.NET Web Pages
WebMatrix
as
Tutorial
Viewed: 7217 times
Dependency Injection and Inversion of Control with ASP.NET MVC
Mikesdotnetting
-
10 October 2009 22:46
As you delve more into ASP.NET MVC you start to come across a whole new way of doing things that Web Forms development didn't really expose you to. Inversion of Control (IoC) and Dependency Injection (DI) are two phrases that crop up a lot in the MVC space. So what are they all about? And should you care?
Click to read more about Dependency Injection and Inversion of Control with ASP.NET MVC ...
Filed under:
LINQ
ASP.NET MVC
Entity Framework
as
Tutorial
Viewed: 57770 times
Parameterized IN clauses with ADO.NET and LINQ
Mikesdotnetting
-
28 September 2009 21:53
Since my article on using parameters for Preventing SQL Injection In ASP.NET, I have had a few emails asking how to do the same with an IN clause expression. In this entry, I explore a couple of ways to do this.
Click to read more about Parameterized IN clauses with ADO.NET and LINQ ...
Filed under:
C#
ADO.NET
LINQ
ASP.NET 3.5
as
Tutorial
Viewed: 22196 times
RSS Feeds and Google Sitemaps for ASP.NET MVC with LINQ To XML
Mikesdotnetting
-
10 July 2009 22:43
For the majority of personal web sites, two uses of XML are commonplace: creating an RSS feed and a Google Sitemap. Here, I look at how to create both of those using LINQ to XML for an ASP.NET MVC web site.
Click to read more about RSS Feeds and Google Sitemaps for ASP.NET MVC with LINQ To XML ...
Filed under:
LINQ
ASP.NET MVC
as
Tutorial
Viewed: 22451 times
Search Engine-Friendly Custom Paging with the GridView and LINQ to SQL
Mikesdotnetting
-
20 November 2007 22:54
The main problem I find with the built-in paging functionality offered by the GridView control is that the paging links are managed by Javascript. This is a bit awkward for people who disable, or don't have Javascript in their browser, but more importantly, the links can't be triggered by search engines. If you rely on the GridView to paginate links to content, this can prove disastrous, and much of your content will be inaccessible to search engines. Motivated by Scott Guthrie's series of blog entries on LINQ to SQL, available in the .Net 3.5 framework, I set about getting some custom paging working with html paging links.
Click to read more about Search Engine-Friendly Custom Paging with the GridView and LINQ to SQL ...
Filed under:
LINQ
ASP.NET 3.5
ASP.NET Web Forms
as
Tutorial
Viewed: 38530 times


