Skip to main content

All Questions

Filter by
Sorted by
Tagged with
-1 votes
1 answer
300 views

Autofac Unable to resolve service for type 'log4net.ILog'

I have ASP.NET MVC app which was working fine but once I upgraded Autofac and did the change for Log4Net middleware example it keeps failling if I try to Resolve ILog. We use FluentMigrator and I am ...
Dark_Knight's user avatar
0 votes
1 answer
216 views

Fluent NHibernate Mapping Doesn't Work For Some Tables

I'm using Fluent Migrator and Fluent NHibernate in the same project but when I launch queries using Database.Session.Query<ENTITY>().** some return data and some don't. I can't tell where I'm ...
oividiosCaeremos's user avatar
1 vote
0 answers
153 views

How to run Migrations at AppStart

I am using FluentMigrator.dll for DB settings and I want it can create or update its database when program ran any server. So I visited this page for this problem Is it possible to use fluent ...
Umut Gür's user avatar
  • 387
19 votes
2 answers
8k views

What can Entity Framework Migrations do that FluentMigrator cannot?

I have several databases currently using FluentMigrator and am curious to know how Entity Framework Migrations compare. Can EF Migrations seed data in migrations and selectively run migration scripts ...
Pam's user avatar
  • 357
5 votes
2 answers
4k views

How to seed database data for integration testing in C#?

I've been writing some integration tests recently against ASP.Net MVC controller actions and have been frustrated by the difficulty in setting up the test data that needs to be present in order to run ...
Tristan's user avatar
  • 425