Mapping XML column with XSD schema validation in EF Code First

The XML data type allows storing a xml content in our SQL Server database. The great feature is that we can also attach an XSD schema to it and have the xml content automatically validated. Here I am going to show you how to set it up together with Entity Framework Code First. Storing XSD Schema in database and mapping entity One could ask: what is the point of validating the x…

By Mirek on (tags: Entity Framework, SQL Server, XML, XSD, categories: architecture, code)

InitialCreate migration and why is it important

Entity Framework migrations is indeed a great feature. It makes you don’t need to worry about the database schema updates almost at all. There are however few things you must know to properly understand and use EF migrations. This post describes few of those things. Usually when you start a new project which makes use of Entity Framework and you starts developing it with a defa…

By Mirek on (tags: Entity Framework, migrations, categories: architecture, tools, code)

Changes are coming – ServiceWorker

ServiceWorker is a newly developer spec for the web; currently supported by Chrome, Firefox and Opera. Instead of writing a post about it, I’m going to redirect you here. It’s an excellent presentation from a guy who’s working on it. I highly recommend to watch it. No idea how much change this feature will bring, but I must admin, it’s got a very big potential. Cheers, Chris…

By on (tags: serviceworker, categories: web)