http://micahlmartin.myopenid.com/
Name: http://micahlmartin.myopenid.com/
Score: 144.1
Last Seen: 810 days, 3 hours, 1 minute ago
Member Since: 6 February, 2009
DotNetShoutout
atom rss
3
Shouts

Wikipedia Maze - Open Source

published 838 days, 2 hours, 29 minutes ago posted by http://micahlmartin.myopenid.com/http://micahlmartin.myopenid.com/ 838 days, 13 hours, 29 minutes ago
Tuesday, February 01, 2011 5:27:42 PM GMT Tuesday, February 01, 2011 6:28:15 AM GMT
I upgraded Wikipedia Maze to MVC 3 and decided to publish the source. If anyone has any suggestions or would like to contribute let me know. (more)
category: Web Dev | clicked: 1 | comment | | source: unknowndev.com
tags: Open Source, MVC 3, ASP .NET 4
3
Shouts

Unknown Dev — SQLite Session State Provider

published 838 days, 2 hours, 29 minutes ago posted by http://micahlmartin.myopenid.com/http://micahlmartin.myopenid.com/ 839 days, 4 hours, 52 minutes ago
Tuesday, February 01, 2011 5:27:42 PM GMT Monday, January 31, 2011 3:04:57 PM GMT
An ASP.NET Session State Provider for SQLite (more)
category: Web Dev | clicked: 12 | 1 comment | | source: unknowndev.com
tags: SQLite, ASP .NET 4, Session State
11
Shouts

Setting Up a Database For Integration Tests

published 1226 days, 7 hours, 28 minutes ago posted by http://micahlmartin.myopenid.com/http://micahlmartin.myopenid.com/ 1229 days, 6 hours, 17 minutes ago
Saturday, January 09, 2010 12:29:34 PM GMT Wednesday, January 06, 2010 1:40:37 PM GMT
Warning There is a lot of code in this post. Nothing too crazy or fancy just a LOT of code. It's too much of a pain to create and upload a project file so I've just pasted in. If for some reason you are having trouble getting the code off the page just shoot me an email and I'll send it to you. Also, I'm using MSTest so if that bothers you then please move along.Purpose I've always avoided doing full integration tests because it's always such a pain to get a db setup and in working order each time you ... (more)
category: Data | clicked: 3 | 7 comments | | source: www.codingcontext.com
tags: integration tests, TDD
8
Shouts

Deleting entities in a many to many relatonship with Entity Framework and Ria Services

published 1242 days, 23 hours, 15 minutes ago posted by http://micahlmartin.myopenid.com/http://micahlmartin.myopenid.com/ 1244 days, 13 hours, 23 minutes ago
Wednesday, December 23, 2009 8:42:22 PM GMT Tuesday, December 22, 2009 6:34:05 AM GMT
Trying to delete a record in many to many relationship can be a bit tricky. In this scenario I have a person record that can be tied to multiple address records. Here is our database setup:   When creating the data model the Entity Framework will hide all the details for us of creating and updating the intermediary "PersonAddress" table.  Here's what's generated by the designer: When generating our Ria Service, if we select the "Enable Editing" option for our "Address" table it will create all the C... (more)
category: Metro | clicked: 4 | comment | | source: www.codingcontext.com
tags: RIA Services, Entity Framework, silveright
8
Shouts

Localization with RIA Services and Silverlight

published 1253 days, 11 hours, 12 minutes ago posted by http://micahlmartin.myopenid.com/http://micahlmartin.myopenid.com/ 1255 days, 13 hours, 54 minutes ago
Sunday, December 13, 2009 8:45:31 AM GMT Friday, December 11, 2009 6:02:50 AM GMT
Hopefully there will be an easier way of getting localization to work with RIA services soon, but at least it can be done. Here's what you need to do: In your server side project (the web project) add a resource file in a folder called resources.   In your client-side (silverlight) project you will also need to add a folder called resources. Right click the new folder and select "Add existing item". Navigate to your web project folder and select both the "Resources.resx" and "Resources.Designer.cs"... (more)
category: Metro | clicked: 0 | comment | | source: www.codingcontext.com
tags: Silverlight, RIA Services, Localization
11
Shouts

Including related entities in your domain service calls

published 1265 days, 57 minutes ago posted by http://micahlmartin.myopenid.com/http://micahlmartin.myopenid.com/ 1267 days, 5 minutes ago
Tuesday, December 01, 2009 7:00:29 PM GMT Sunday, November 29, 2009 7:52:02 PM GMT
There are two steps you need to perform in order to get back related entities in your object graph when making calls to your domain service using the Entity Framework or Linq to Sql as your DAL. Let's say we want to retrieve a Person record along with their Address record. The first step is to tell your DAL to return the associated object in your query like this: Entity Frameworkpublic Person GetPersonById(long Id) { returnthis.Context.People.Include("Address").Where(p => p.Id == Id).FirstOrDefau... (more)
category: Metro | clicked: 0 | comment | | source: www.codingcontext.com
tags: RIA Services, Linq To SQL, Entity Framework