[Code First] Migrations

Your DB will not stay the same. When using CodeFirst, you need to update DB from code. This update is the biggest hassle in Code First. One way of updating DB is “Code First Migration“. It is done by “Package Manager Console“. Advertisements

[Web API] Sessions

By default, Sessions are not supported in Web API. The one of the design principles of Web API is atomic. But in some cases, you want to access session data. Let’s find out how can you do that.