Browsed by
Tag: ASP.NET Core

Configuration in .NET Core

Configuration in .NET Core

Setting up From the beginning of .NET we used web.config or app.config files for application configuration. When you’re create new ASP.NET Core project you’ll no longer find those files, instead you’ll have appsettings.json file and in Startup class constructor you’ll find setup of it: This configuration tells us to search for settings file in main application directory (env.ContentRootPath), use appsettings.json file, that must exist (optional: false) and reload whole application, when it’s changed (reloadOnChange: true – available in .NET Core…

Read More Read More

TeamCity integration with C# and REST API

TeamCity integration with C# and REST API

As I mentioned in my previous Get Noticed post. TeamScreen first integration will be with TeamCity. For those who don’t know TeamCity is a continuous integration tool created by awesome guys from JetBrains company that brought you Resharper, IntelliJ, WebSharper and many other great tools. What I want from TeamCity is a list of builds and statuses for them. A quick search in google gave me this page, which describes how to connect to TeamCity and get an info I need using REST…

Read More Read More

Creating ASP.NET Core project in Visual Studio 2017

Creating ASP.NET Core project in Visual Studio 2017

Last time I described project and technologies I plan to use for TeamScreen – especially ASP.NET Core. Today I’ll start with some code – initial project creation. I’ll be using Visual Studio 2017 Release Candidate, so keep in mind some screens may differ with normal version. First new thing that you’ll encounter even before you’ll start using new VS is the new installer: In my opinion much better than in previous versions, because it allows us to be more flexible. Personally for…

Read More Read More