title: ASP .NET Boilerplate + MongoDb
body: <p>I am using ASP.Net boilerplate framework + SQL Server 2016 in my project. Recently I have faced a challenge with migration from SQL Server to MongoDB. I have found that it is possible with ASP .NET boilerplate and installed required NuGet packages, however, due to the lack of documentation the only thing I have managed to do is to define respective RepositoryBase class:</p>
  
  <pre><code>public abstract class MyRepositoryBase&lt;TEntity, TPrimaryKey&gt; : MongoDbRepositoryBase&lt;TEntity, TPrimaryKey&gt;
      where TEntity : class, IEntity&lt;TPrimaryKey&gt;
  {
      protected MyRepositoryBase(IMongoDatabaseProvider databaseProvider)
          : base(databaseProvider)
      {
  
      }
  
  }
  </code></pre>
  
  <p>As far as I understand, first of all, I need to define connection string somewhere now. And then populate the database with required basic data(which previously had been done by EF Core migrations). Obviously, EF Core in the new approach is obsolete so does that mean for my DbContext class that it is obsolete as well? 
  Actually, there are plenty of questions in relation to ASP .NET boilerplate and MongoDB integration, therefore my current post is actually a request for provision of some kind of example of the existing integration. Thank you in advance.</p>