Skip to main content

One post tagged with "Introduction"

View All Tags

First Post

· 2 min read
Mark Burton
Software Engineer & Technical Writer
  • strongly typed configs (yay) * sqlite in ef core - Julie Lerman and Geoffrey Grosenback have a nice introduction to EF Core 1.0 on PluralSight[^2]
  • upgrading packages can have terrible side effects (IOptions from Microsoft.Framework.OptionsModelIOptions to Microsoft.Extensions.OptionsIOptions leaving a reference to Microsoft.Framework.OptionsModel)
  • metaweblog api for Open Live Writer[^3] integration now using markdown monster[^4]
  • XMLRPC thanks Shawn Wildermuth [^5] ### Setting up EF CORE with SQLite As easy as adding ```json ... "Microsoft.EntityFrameworkCore.SQLite": "1.0.1", ...
to project.json (just be sure put add it after it dependencies or use the sort to fix things)
Update startup.cs to use sqlite rather than sqlserver
```csharp This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServices(IServiceCollection services) \\{ ... services.AddDbContext<ApplicationDbContext />(options => options.UseSqlite(Configuration.GetConnectionString("DefaultConnection"))); ... \}
``` ### Links
[MiniBlog](http:/github.commadskristensenminiblog) [An ASP.NET Core Middleware Component for Implementing MetaWeblog API ](https:/github.comshawnwildermuthMetaWeblog) [^1]: Source: [MiniBlog](http:/github.commadskristensenminiblog)
[^2]: Source: [EF Core 1.0](https:/www.pluralsight.comcoursesplay-by-play-ef-core-1-0-first-look-julie-lerman)
[^3]: Source: [Open Live Writer](http:/openlivewriter.org)
[^4]: Source: [Markdown Monster Web Site](http:/markdownmonster.west-wind.com)
[^5]: Source: [An ASP.NET Core Middleware Component for Implementing MetaWeblog API ](https:/github.comshawnwildermuthMetaWeblog)