4 items found in the LINQ Category
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? More...
Filed under: Entity Framework LINQ ASP.NET MVC as Article
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. More...
Filed under: C# ADO.NET LINQ ASP.NET 3.5 as Article
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. More...
Filed under: LINQ ASP.NET MVC as Article
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. More...
Filed under: ASP.NET 2.0 LINQ ASP.NET 3.5 as Article

