Generate C# POCOs from SQL statement in LINQPad

Recently I’ve been optimizing some complex processes that have been taking to long to execute using Entity Framework.The code in question has been written by someone else when deadline was imminent and hasn’t been touched since. Usually u had a...

NecroNetTookit v1.0.0 prerelease

After experiences gained during my last and current project, I made a lot of changes and improvements to NecroNetToolkit, and also a few new features. I’m not done quite yet, but I wanted to put the new version out there,...

Get emails from SharePoint 2010 people editor

I’ve recently implemented a feature that was supposed to send emails to all users selected by multi people picker in SharePoint, in one of our projects. Of course SharePoint groups as well as AD groups could be selected too. It’s...

Announcing CodeCaml - write SharePoint queries with C#

If you are a SharePoint developer, and hate having XML/HTML or any other kind of markup/magic string then keep reading. If not, keep reading anyway, you might change your mind ;). One of these messy things in SharePoint are CAML...

Enable or disable ribbon custom action based on user permissions

It’s been a while since I wrote something. That’s because I’ve been busy at my new job (student no longer :() learning SharePoint 2010. Needless to say it was quite the transition from nice, neat, clean way I was used...

Using application page as script service in SharePoint 2010

This is sort of a follow-up to my last post. There are few ways to call server methods from javascript other than the one I used. You could also use web services, page methods, http handlers and maybe something else....

A take on generic RssResult for MVC

When I first needed to support RSS in a MVC web application, it was around the time of MIX 2010. There was a talk by Scott Hanselman, where he explained how to create RSS feed by using a class derived...

Updates to NecroNetToolkit

I’m updating NecroNetToolkit at the moment, mainly because of the release of Entity Framework 4.1, so I wanted to write about the changes and show you some things that are now possible. The main update concerns the repository base classes,...

MCTS 70-515 experience

I recently got myself a free TS: .NET 4 web applications certification; and since before I did, I didn’t find too much information about what to expect from the exam, what to do before and after, and what to look...

Remote client validation in ASP.NET MVC 2

Halfway trough implementing some validation I needed to check on the server by hand in javascript, I realized that xVal (client-side validation framework I used earlier) had something called remote validation rules. I googled around a bit for a solution...