Entity Framework Code First Migrations

By Shahed C on April 21, 2013

Updates:

  • the sample files are available on the Downloads page.
  • this speaking engagement has been added to a new Speaking page

Original Post:

I recently spoke at NoVA Code Camp (at Microsoft’s Reston VA office) about Entity Framework Code First Migrations. This talk was about the Data Layer of an enterprise web application, part of a larger presentation about Lean Enterprise Architecture. It was followed by presentations on the Domain Layer and Presentation Layer, given by my colleagues Sahil Talwar and Doguhan Uluca.

So what the heck is (are?) Code First Migrations? Read on to find out!

Continue reading

Hitting Breakpoints in Global.asax

By Shahed C on March 23, 2013

Every .NET developer should know how to set breakpoints in Visual Studio 2012.

  • Right-click a line in your code, then select Breakpoint -> Insert Breakpoint.
  • Or, simply press F9 after placing your cursor on the line of code.

But, what if that line of code is in your Global.asax code? Will the breakpoint still work when you run the application? If not, what can you do to get it to work?

Continue reading

Getting Started with Knockout.js and MVVM

By Shahed C on March 10, 2013

Introduction

JavaScript is almost as old as the first graphical browsers, but it has been swimming in a sea of spaghetti code since its inception. With the introduction of many JavaScript frameworks over the years, there has been a lot of improvement in making it a robust programming language. One such framework is Knockout.js, which uses the MVVM (Model-View-ViewModel) pattern to bind HTML templates to a JavaScript view model.

Knockout logo

Continue reading

The Future of Microsoft Game Development

By Shahed C on March 2, 2013

When Microsoft first showed off Windows 8 and its development stack, their diagram answered some lingering questions and posed a few new ones.

Win8 Platform and Tools

In the world of Indie Game Development, we had many questions. Can we make any game for Windows8 and release it in the Windows Store? Will we be tied down to C++ and DirectX? Wait a minute, where is XNA?

Continue reading

Study Guides for MCSD 70-480 Programming HTML5/JS/CSS3

By Shahed C on February 23, 2013

I recently took and passed the Microsoft exam MCSD 70-480 “Programming in HTML5 with JavaScript and CSS3”.

html5_css_javascript

 

However, this exam is relatively new as of early 2013, and the official book wasn’t out yet when I first published this blog post. It is now available for purchase, as of Spring 2013.

To prepare for the exam, you may refer to the following online resources:

Continue reading