Sign in
|
Join
|
Help
in
Current Tags
Corey Roth [MVP]
Dot Net Mafia
(Entire Site)
Dot Net Mafia
Group site for developer blogs dealing with (usually) .NET, SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, and other Microsoft products, as well as some discussion of general programming related concepts.
Home
Blogs
Forums
Photos
Downloads
This Blog
Home
Contact
About
Syndication
RSS
Atom
Comments RSS
Recent Posts
How to: Get a Result Source Id in SharePoint 2013
Slides and code samples from my Search talk at SharePoint Summit Toronto
SharePoint 2013 Autocomplete textboxes using the term store and CSOM
JavaScript runtime error: 'NotifyScriptLoadedAndExecuteWaitingJobs' is undefined
How to: Query Search with the SharePoint 2013 JavaScript Client Object Model
Tags
.NET 4.0
Access
ADO.NET Data Services
Apps
ASP.NET
Business Connectivity Services
Business Data Catalog
C# 3.0
CAML
Client Object Model
Code Access Security
Content Organizer
Content Type
Cutting Edge
Debugging
Deployment
Document Library
ECM
End User
Enterprise Library
Enterprise Search
Error
Excel
Excel Services
Extranet
FAST Search for SharePoint
Feature
H-SPUG
Hyper-V
InfoPath
iPhone
jQuery
LINQ
LINQ to DataSet
LINQ to SQL
LINQ to XML
Meetup
MOSS
Office
Office 365
Office 365 Grid
Office 365 Preview
Office Web Apps
OKC SharePoint Users Group
People Search
PowerShell
Presentations
Product Review
Records Center
Remote Debugging
REST
Sandboxed Solution
Search Community Toolkit
Service Pack
SharePint
SharePoint
SharePoint 2010
SharePoint 2013
SharePoint 2013 Preview
SharePoint Designer
SharePoint Online
SharePoint PowerShell Community Toolkit
SharePoint Saturday
SharePoint Upgrade
SharePoint Workspace
Silverlight
Solution
SP2
SP2010 Beta
SPC09
SPC11
SPC12
SPSource
SPTechCon
SQL
Sun VirtualBox
Surface
TDD
TechEd
TechFest
Testing
Third Party Tools
Tulsa SharePoint Interest Group
Upgrade
User Profile Service
Virtual Machine
VirtualBox
Visual Studio 11
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
VMWare
VSeWSS
WebPart
Wildcard Search
Windows 7
Windows 8
Windows Phone
Windows Store App
Workflow
Archives
May 2013
(2)
April 2013
(8)
March 2013
(3)
February 2013
(6)
January 2013
(10)
December 2012
(3)
November 2012
(6)
October 2012
(7)
September 2012
(5)
August 2012
(3)
July 2012
(11)
June 2012
(2)
May 2012
(5)
April 2012
(9)
March 2012
(3)
February 2012
(7)
January 2012
(7)
December 2011
(5)
November 2011
(5)
October 2011
(4)
September 2011
(4)
August 2011
(3)
July 2011
(8)
June 2011
(4)
May 2011
(6)
April 2011
(7)
March 2011
(5)
February 2011
(2)
January 2011
(7)
December 2010
(6)
November 2010
(7)
October 2010
(5)
September 2010
(9)
August 2010
(10)
July 2010
(12)
June 2010
(2)
May 2010
(7)
April 2010
(8)
March 2010
(13)
February 2010
(10)
January 2010
(5)
December 2009
(6)
November 2009
(10)
October 2009
(25)
September 2009
(8)
August 2009
(8)
July 2009
(7)
June 2009
(7)
May 2009
(8)
April 2009
(8)
March 2009
(11)
February 2009
(6)
January 2009
(6)
December 2008
(8)
November 2008
(7)
October 2008
(15)
September 2008
(9)
August 2008
(6)
July 2008
(10)
June 2008
(8)
May 2008
(10)
April 2008
(8)
March 2008
(13)
February 2008
(22)
January 2008
(12)
December 2007
(4)
November 2007
(1)
October 2007
(5)
September 2007
(4)
August 2007
(5)
July 2007
(10)
June 2007
(6)
May 2007
(10)
April 2007
(8)
March 2007
(4)
February 2007
(4)
January 2007
(1)
December 2006
(6)
November 2006
(10)
October 2006
(14)
September 2006
(5)
August 2006
(4)
July 2006
(6)
June 2006
(3)
May 2006
(15)
April 2006
(8)
March 2006
(4)
February 2006
(4)
January 2006
(23)
December 2005
(10)
November 2005
(23)
October 2005
(20)
September 2005
(11)
August 2005
(22)
July 2005
(16)
June 2005
(12)
May 2005
(17)
April 2005
(19)
March 2005
(16)
February 2005
(21)
January 2005
(19)
December 2004
(19)
Corey Roth [MVP]
A SharePoint MVP bringing you the latest time saving tips for SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, MOSS 2007, ASP.NET, LINQ, and Visual Studio 2012.
Browse by Tags
All Tags
»
LINQ
(
RSS
)
ASP.NET
C# 3.0
Document Library
Enterprise Library
Enterprise Search
Feature
InfoPath
LINQ to DataSet
LINQ to SQL
LINQ to XML
MOSS
Presentations
SharePoint
SharePoint 2010
SP2010 Beta
SPC09
Visual Studio 2008
A simple way to programmatically create SharePoint security groups
When it comes to SharePoint deployments, I try to automate everything I can. I don’t like manual steps especially when it comes to setting up security. A common task when deploying any sites is setting up security in some manner. Today...
Posted
Mar 08 2010, 11:12 AM
by
CoreyRoth
with | with
10 comment(s)
Filed under:
SharePoint
,
LINQ to XML
,
LINQ
Checking to see if a list item exists in SharePoint 2010
This is another topic that is quite dear to most SharePoint developers. We’ve all been there. We want to know if a list item exists and the indexer is useless. It throws an exception should we attempt to access an item that does not...
Posted
Oct 21 2009, 11:02 AM
by
CoreyRoth
with | with
1 comment(s)
Filed under:
SharePoint
,
LINQ
,
SharePoint 2010
,
SPC09
,
SP2010 Beta
Linq to XML and Deleting Lists on Feature Deactivation
A few months ago, I discussed how to use LINQ to XML to parse your elements.xml file to delete any files that you may have deployed on feature activation. Today I have decided to reuse this concept to delete any lists that I have created when I...
Posted
Sep 24 2009, 03:04 PM
by
CoreyRoth
with | with
no comments
Filed under:
SharePoint
,
LINQ to XML
,
LINQ
,
Feature
,
Enterprise Library
Code samples from my short talk about LINQ to XML
Today, I had the opportunity to give a short introduction on how to do some basic queries on XML documents with LINQ to XML. In the talk, I talked about how to create anonymous types from your XML document so that you can work with strong types. I also...
Posted
Apr 29 2009, 10:02 AM
by
CoreyRoth
with | with
no comments
Filed under:
LINQ to XML
,
LINQ
,
Presentations
,
InfoPath
String[] in columns returned from KeywordQuery.Execute
I have posted in the past about how to use the KeywordQuery class to execute an Enterprise Search query. This makes it easy to get a DataTable containing search results. However, one caveat with this is that some columns get returned as a string array...
Posted
Dec 11 2008, 10:17 AM
by
CoreyRoth
with | with
no comments
Filed under:
SharePoint
,
LINQ
,
MOSS
,
Enterprise Search
,
LINQ to DataSet
My 500th Post! Left Outer Joins with LINQ
Today, this blog reaches an important milestone. This is my 500th post. It's just a number, but I thought I would use it as an opportunity to talk about the history of the blog and where it is heading. On December 1st, 2004, I wrote my first .NET...
Posted
Oct 15 2008, 02:43 PM
by
CoreyRoth
with | with
2 comment(s)
Filed under:
LINQ
,
LINQ to SQL
,
C# 3.0
Select Where In with LINQ
I can't talk about SharePoint all the time, so I thought I would talk about how to perform a type of query with LINQ. In T-SQL you might have wrote something like this at one point. SELECT Title, Id FROM Table1 WHERE Id IN (SELECT Id FROM Table2)...
Posted
Jul 01 2008, 05:14 PM
by
CoreyRoth
with | with
3 comment(s)
Filed under:
LINQ
Checking for empty EnumerableRowCollections when using LINQ
After you query something with LINQ, you may want to know if any results were returned before your start enumerating or working with the EnumerableRowCollection (that's most likely the type behind that var you are using in most cases). Consider the...
Posted
Apr 24 2008, 10:18 AM
by
CoreyRoth
with | with
no comments
Filed under:
LINQ
,
C# 3.0
How to: Use the Group Clause in LINQ
As you know, LINQ is similar in a lot of ways to T-SQL, but as you go to start doing things with grouping or joining, you will find that that there are some syntactical differences. There are two ways you can use the group clause in LINQ, which way you...
Posted
Mar 26 2008, 09:29 AM
by
CoreyRoth
with | with
4 comment(s)
Filed under:
LINQ
,
LINQ to DataSet
Using LINQ to make Enterprise Search Results more usable
In my previous post about using the KeywordQuery class, I had one small omission. The fact is that when you add your own managed properties using the SelectProperties collection of the keyword class, the data type you get back is a string[] containing...
Posted
Mar 25 2008, 09:58 AM
by
CoreyRoth
with | with
no comments
Filed under:
SharePoint
,
LINQ
,
MOSS
,
Enterprise Search
How to: Use LINQ to SQL without using the Object Relational Designer
LINQ to SQL has already proved to be extremely easy to use to create object relational mappings when you have an existing database schema using the Object Relational Designer. This designer is good, but you may not want something that is autogenerating...
Posted
Mar 17 2008, 07:54 PM
by
CoreyRoth
with | with
2 comment(s)
Filed under:
LINQ
,
LINQ to SQL
,
ASP.NET
,
Visual Studio 2008
,
C# 3.0
LINQ to SQL Logging
The other day I was reading Charlie Calvert's excellent post on LINQ and Deferred Execution and stumbled upon a logging feature inside LINQ to SQL. By setting the Log property to a TextWriter (in this case Console.Out), LINQ to SQL will log the query...
Posted
Feb 21 2008, 09:24 AM
by
CoreyRoth
with | with
no comments
Filed under:
LINQ
,
LINQ to SQL
Making DataSets tolerable using LINQ to DataSet
Unfortunately, most of us aren't working in a perfect world, so it is bound to happen that you run into a dataset or two. Whatever the reason (the developer was lazy, you're maintaining legacy code, someone didn't know any better, or you're...
Posted
Feb 18 2008, 10:01 AM
by
CoreyRoth
with | with
1 comment(s)
Filed under:
LINQ
,
C# 3.0
,
LINQ to DataSet
How I used LINQ to XML to Create Document Library Folders
I have been doing a lot of document library work lately and in my work I had a need to create a series of subfolders in the document library using a particular custom content type. This meant I was going to need to write a little code. I decided to keep...
Posted
Jan 17 2008, 05:29 PM
by
C-Dog's .NET Tip of the Day
Filed under:
SharePoint
,
LINQ to XML
,
Document Library
,
LINQ
2012 dotnetmafia.