Pages

Wednesday, October 26, 2016

.NET Core - how to add project reference

Well, in prev. version of .NET adding a new project reference is quite straightforward, however in .NET Core is still a challenge (thanks to the missing tools). So, let's see how to reference your custom Foo.Lib into your Foo.Web project.


  1. Open project.json in Foo.Web
  2. Find frameworks tag
  3. Add a new tag "dependencies"
  4. Extend with your Foo.Lib under dependencies.


It should look like something similar:

"frameworks": {
    "netcoreapp1.0": {
      "dependencies": {
        "Foo.Lib": "1.0.0-*",        
      },
      "imports": [
        "dotnet5.6",
        "portable-net45+win8"
      ]
    }
  },

Recompile your whole solution and now you can use your lib in the web project.

AppHarbor - .NET Cloud Platform as a Service

.NET Core 1.0 is still in preview state, but I urged to create a small demo project with it. Since I didn't wanted to use my company accounts and licenses, I google a little bit to find a free cloud service instead of Azure. 

So have I found AppHarbor. It is a really simple site, with a lot of available add-ons for free (at least for dev. purpose). You can even integrate it with your GitHub, CodePlex or local Git server to deploy code immediately. Later, if you really wanna go live and use it as a productive server, you can upgrade to a premium account. It gives you a lot more resources, custom domain and more.

Tuesday, October 4, 2016

Brace yourself, interview is coming!

Nowadays IT is more in focus than ever, news are full with hopeless firms, crave experts. But this is not a recruiter blog, so I just skip this part and lets focus on the technical stuff :) Regardless of your work experiences, before you go to an interview reread the basics and learn the technologies you may missed in the last years. 

Here are some sites as starting points: