zzz projects Entity Framework Core EF Core
Home EF Core 5 Articles Knowledge Base Online Examples
  • Home
  • EF Core 5
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework Core - Knowledge Base (KB)

15 results for: in tag: docker

ASP.NET Core 1.0 EF7 System.Data.SqlClient not found

Today I tried to deploy my asp.net core 1.0 project to my server. I made a FileSystemDeploy in Visual Studio and transfered it to my server. There I want to run the website in a docker container. I'm using ...microsoft/aspnet:1.0.0-rc1-update1-coreclr...
asp.net-core docker entity-framework-core
asked by Michael Moser

Cannot connect to SQL Server from a Docker container

We have created ASP NET Core App with existing sql server....const string connectionString = @"Server=hostname\sqlexpress;Database=DEVDB;User Id=sa;Password=password;"; services.AddDbContext<RecruitmentToolsDatabaseContext>(options => options.UseSqlServer...
asp.net-core docker entity-framework-core linux sql-server
asked by bizon

SQL Server instance string connection in Linux Docker

I'm publishing an application to docker image ...microsoft/dotnet:1.0.1-core... that reference Sql Server instance in connection string:..."Data Source=host\instance;Initial Catalog=database;User ID=user;Password=pass;" ...In Windows environment it work's...
.net-core c# docker entity-framework-core sql-server
asked by Ricardo Fontana

EF Core migrations using asp.net core, SQL Server and Docker yields dotnet SDK error

I'm using Docker for Windows Version 1.13.0-rc5-beta35 (9606)...Windows 10 Pro...Visual Studio Code...I've created an ASP.NET Core project with Docker using the yeoman generator:...yo aspnet yo docker ...I ran into issues when I was trying to get the API ...
asp.net-core docker entity-framework-core sql-server
asked by GreenyMcDuff

add-migration : Cannot bind argument to parameter 'Path' because it is an empty string

I'm running default api core project on Visual studio 2017 with docker support and I got this error everytime I run the command ...add-migration -name name...add-migration : Cannot bind argument to parameter 'Path' because it is an empty string. At line...
asp.net-core-webapi docker entity-framework-core visual-studio-2017
asked by Hayha

Database migration with two context in Asp.Net Core (SQL Server on Docker)

I have two Context in my Application. One in ...WebApi Project -> ApiContext (inherited from IdentityDbContext)... and another one in ...Infrastructure -> Context.......I use Official images for Microsoft SQL Server on Linux for Docker Engine (...microsof...
asp.net-core database-migration docker entity-framework entity-framework-core
asked by Cieja

Migration not working

I have a project that uses .net core 2.0 with EntityFrameworkCore, Docker and SQL Server....I can't get migrations to work. When I try ...Add-Migration InitialCreate... I get the following error:...Startup project 'docker-compose' is a Docker project. Sel...
.net-core docker entity-framework-core sql-server
asked by Thypari

EF Core migrations in Docker container

I am setting up a WebApi in .NET Core 2.0. I will be using Entity Framework Core as ORM. Whole app will be deployed as Docker Container. The thing that disturbs me a bit is the way of handling DB migrations in this case. I mean PRODUCTION environment. He...
asp.net-core-2.0 docker entity-framework-core entity-framework-core-migrations
asked by user1658223

Any way to run dotnet-ef from a published app

I'm constructing a docker container from a Dotnet Core 2.0 WebApp that was packaged with ...dotnet publish..., but publishing this way doesn't copy the extensions in ...Microsoft.EntityFrameworkCore.Tools.DotNet... that enable the ...dotnet-ef... command....
.net-core c# docker entity-framework-core
asked by mikebridge

Asp.Net Core on Mac OS X connect to SQL Server Linux Docker

I have completed set the sql server linux on docker....microsoft/mssql-server-linux:2017-latest "/opt/mssql/bin/sqls…" 5 days ago Up 18 minutes 0.0.0.0:1433->1433/tcp ...
asp.net-core docker entity-framework entity-framework-core sql-server
asked by Herman

How to connect to SQL Sever docker container from another container?

I have pulled and run SQL Server 2017 container image using the following command:...docker pull microsoft/mssql-server-linux docker run --name mssql -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=!Abcd123' -p 1433:1433 -d microsoft/mssql-server-linux ...And I also d...
asp.net-core asp.net-core-2.0 docker entity-framework-core sql-server
asked by WPInfo

Sqlite DB Locked on Azure Dotnet Core Entity Framework

I have a simple asp.net core web app (v2.1), that I deployed to a B1 (and I tried B2) Azure App Service on Linux. When I call ...dbContext.SaveChanges()..., after adding one very simple entity, the request takes about 30 seconds before throwing the follow...
azure docker entity-framework-core linux sqlite
asked by Josh Pearce

The operation has timed out on EF Core migration to PostgreSQL

I am new to PostgreSQL and I would like to use it with Identity Server 4. I am using next NuGet packages: IdentityServer4, IdentityServer4.EntityFramework and Npgsql.EntityFrameworkCore.PostgreSQL...I am trying to make migration for Identity Server tables...
c# docker entity-framework-core identityserver4 postgresql
asked by Ryukote

Apply Entity Framework migrations when using ASP.Net Core in a Docker image

I have an ASP.Net Core application which uses Entity Framework with Sqlite. I am building a Docker image to deploy this....The ASP.Net Core application runs fine when debugging with VS Code, but when running in a Docker container I receive an error:...Sql...
asp.net-core c# docker entity-framework-core
asked by Owen Pauling

EF context not responding in docker

I just upgraded my Web API application to .NET core 3.0, all works fine when running in debug mode in IIS Express, but context does not respond when running in docker container either on server or in VS debug. No error thrown, just never responds....I tri...
.net c# core docker entity-framework-core
asked by David Violett

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79