简体   繁体   中英

ASP.NET Core 1.0 for enterprise applications

I am figuring out architectural components for my new web project. I am thinking to go with ASP.NET Core 1.0, EF7 stack. Some people suggest that ASP.NET Core 1.0 is in it's initial stage and it's not recommended to use it in enterprise web applications presently. Same opinions I heard in case of EF7 as well.

Mainly I want to know the disadvantages. Experts please explain the pros and cons of using ASP.NET Core 1.0 at present.

Somewhere they are true and somewhere they are wrong. ASP.NET Core is targeted by 2 frameworks .NET Core and .NET Framework . Both options are available in Visual Studio. You have to carefully choose, what is right for your project. Here are some differences\\suggestions with ASP.NET Core and EF Core (EF 7 previously):

  • All .NET Framework Libraries (BCL or FCL) are not yet available for CoreFx (.NET Core library) but soon they will be available as the .NET team announced.

  • If your project uses .NET Framework libraries such as MailMessage and others, the use ASP.NET Core targeted with .NET Framework not .NET Core then you will be able to get all the features of .NET Framework in your ASP.NET Core application.

  • ASP.NET Core uses modern web work-flow for reducing page load times and for other attributes some of them are not available with the previous versions of ASP.NET.

  • EF Core 1.0 is new and cloud-optimized, it does not include (at least for now) featues which are available in EF 6.x such as Stored Procedures Mapping , Built-In feature for Seeding data and others.

If you want commercial projects that strongly rely on EF 6.x features which are not available now in EF Core, you can use ASP.NET Core 1.0 with .NET Framework with EF 6.x . I've a websites also created with ASP.NET Core with .NET Framework.

Here are some documentations for using ASP.NET Core 1.0 with EF 6.x and suggestions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM