Posts

Showing posts from April, 2018

Installing Jekyll on Windows Subsystem for Linux - Ubuntu 16.04

I prefer to run ruby stuff under Linux rather than Windows. I run Windows 10, so will be using the Ubuntu 16.04 image for the Windows Subsystem for Linux. Though these steps should work in a full installation of Ubuntu as well. Install Ruby sudo apt install ruby ruby-dev ruby-bundler Install dev dependencies sudo apt install gcc make build-essentials Install Jekyll sudo gem install jekyll Install bundler dependencies bundler install I have the best luck running jekyll with  bundler exec bundler exec jekyll build bundler exec jekyll serve Happy blogging!

NHibernate Releases 5.1 with support for .Net Core and .NetStandard 2.0

The  NHibernate  Team has done it!  Release 5.1  of the famous ORM for .Net supports both the full .Net Framework and .Net Core. Great work! The library is actually cross compiled for net461, netCoreApp2.0 and netStandard2.0 to account for some of the subtle nuances between net461 and core and to support older tooling that doesn’t know how to work with netStandard libraries. Caveats As noted in the release notes, there are a few caveats when running on Core: Binary serialization is not supported - the user shall implement serialization surrogates for System.Type, FieldInfo, PropertyInfo, MethodInfo, ConstructorInfo, Delegate, etc. SqlClient, Odbc, Oledb drivers are converted to ReflectionBasedDriver to avoid the extra dependencies. CallSessionContext uses a static AsyncLocal field to mimic the CallContext behavior. System transactions (transaction scopes) are untested, due to the lack of data providers supporting them. WebSessionContext and ASP.Net Cor...