<cite>ismcagdas: </cite> Hi,
You can use this document <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/EF-MySql-Integration">https://aspnetboilerplate.com/Pages/Doc ... ntegration</a>. It is for ASP.NET MVC 5.x but you just need to use
dotnet ef migrations add "AbpZero_Initial"
instead of
Add-Migration "AbpZero_Initial"
Open your command prompt, navigate to *.EntityFramework solution's root directory and run this command
dotnet ef migrations add "AbpZero_Initial"
in command prompt .
Thanks.
I am not able to connect Mysql server. How to use Mysql server connection.
How to configure Mysql connection in ASP.NET CORE + ANGULAR 2.X?
Entity Framework - MySql Integration with ASP.NET CORE + ANGULAR 2.X
Is it Correct? I can't understand. How it assign as default tanant? Please explain...
public class Tenant : AbpTenant<User> { //Can add application specific tenant properties here
public new const string DefaultTenantName = "NewDefaultTenantName";
protected Tenant() {
}
public Tenant(string tenancyName, string name) : base(tenancyName, name) {
} }
<cite>ismcagdas: </cite> Hi,
It is Tenant.cs file in MultiTenancy folder of your *.Core project.
This is Tenant file. Where to add in this?
public class Tenant : AbpTenant<User> { //Can add application specific tenant properties here
protected Tenant()
{
}
public Tenant(string tenancyName, string name)
: base(tenancyName, name)
{
}
}
<cite>ismcagdas: </cite> Hi,
Do you use Visual Studio 2017 ? Otherwise you cannot open it.
I am using Visual Studio 2015. Then what to do.
We have created Asp.net Core & Angular 2.x. But While opening solution, we are getting below mentioned error.
Please help on this.
D:\Live_Application\landmark\aspnet-core\src\landmark.Core\landmark.Core.csproj : error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. D:\Live_Application\landmark\aspnet-core\src\landmark.Core\landmark.Core.csproj
D:\Live_Application\landmark\aspnet-core\src\landmark.Application\landmark.Application.csproj : error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. D:\Live_Application\landmark\aspnet-core\src\landmark.Application\landmark.Application.csproj
D:\Live_Application\landmark\aspnet-core\test\landmark.Tests\landmark.Tests.csproj : error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. D:\Live_Application\landmark\aspnet-core\test\landmark.Tests\landmark.Tests.csproj
D:\Live_Application\landmark\aspnet-core\src\landmark.EntityFramework\landmark.EntityFramework.csproj : error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. D:\Live_Application\landmark\aspnet-core\src\landmark.EntityFramework\landmark.EntityFramework.csproj
D:\Live_Application\landmark\aspnet-core\src\landmark.Migrator\landmark.Migrator.csproj : error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. D:\Live_Application\landmark\aspnet-core\src\landmark.Migrator\landmark.Migrator.csproj
D:\Live_Application\landmark\aspnet-core\src\landmark.Web.Core\landmark.Web.Core.csproj : error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. D:\Live_Application\landmark\aspnet-core\src\landmark.Web.Core\landmark.Web.Core.csproj
D:\Live_Application\landmark\aspnet-core\src\landmark.Web.Host\landmark.Web.Host.csproj : error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. D:\Live_Application\landmark\aspnet-core\src\landmark.Web.Host\landmark.Web.Host.csproj
We have created Project Type ASP.NET CORE & Angular 2.x.
The project creation download has failed now it is showing 2 entries of "*****" project name in the Your recent downloads with the same date and time.
Please help us in getting the necessary project downloads for the project ***** with the Project type ASP.NET Core & Angular 2.x
Its urgent
<cite>ismcagdas: </cite> Hi,
You can change it in CreateDefaultTenant method of DefaultTenantBuilder class. But this only changes it for migration and probably, you will have some other problems.
Instead of that, please add below constant to Tenant class.
public new const string DefaultTenantName = "NewDefaultTenantName";
Please confirm the file Name.
How to Change Default Tenancy Name while migration?
Please help me on that.
<cite>ismcagdas: </cite> Hi @velu,
In which page is this happening, is it an AspNet Zero page or a page developed by you ? I'm asking to test it.
And, how many records do you have in that dropdown ?
Thanks.
In AspNet Zero pages wherever dropdown is available and my page also.