I am trying to port an asp.net core 1.0.0 RC1 application to final 1.0.0 and with the help of other messages I managed to change all the links from RC1 to final 1.0.0 But there are still a few errors that I cannot find suitable replacement methods or links
app.UseIISPlatformHandler(options => options.AuthenticationDescriptions.Clear());
Error CS1061 "IApplicationBuilder" does not contain a definition for "UseIISPlatformHandler" and no extension method 'UseIISPlatformHandler' accepts the first argument of the type 'IApplicationBuilder' can be found (do you miss a directive or an assembly reference?)
I have "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0"in project.json
services.AddEntityFramework().AddSqlServer()
.AddDbContext<ApplicationDbContext>(options =>
options.UseSqlServer(Configuration["Data:DefaultConnection:ConnectionString"]));
Error CS1061 'IServiceCollection' does not contain a definition for 'AddEntityFramework' and no extension method 'AddEntityFramework' can take the first argument of the type "IServiceCollection" (do you miss the using directive or assembly reference?)
I have "Microsoft.EntityFrameworkCore": "1.0.0", "Microsoft.EntityFrameworkCore.SqlServer": "1.0.0",in project.json
Please help me solve this problem? Thanks in advance.
source
share