Skip to content
Snippets Groups Projects
Commit 5848d79a authored by Benedikt Heinrichs's avatar Benedikt Heinrichs
Browse files

Merge branch 'Topic/157-userProfileApi' into Product/114-userProfileMigration

parents 58e2af63 80b91f49
No related branches found
No related tags found
1 merge request!2Product/114 user profile migration
......@@ -6,12 +6,12 @@ namespace Coscine.ApiCommons
{
public class ApplicationInformation
{
public string AppName { get; set; } = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
public string AppName { get; set; } = System.Reflection.Assembly.GetEntryAssembly().GetName().Name;
public string AppType { get; set; } = "apis";
public Version Version { get; set; } = ToSemanticVersion(System.Reflection.Assembly.GetEntryAssembly().GetName().Version);
public string DomainName { get; set; } = System.Net.NetworkInformation.IPGlobalProperties.GetIPGlobalProperties().DomainName;
public string HostName { get; set; } = Dns.GetHostName();
public string PathPrefix { get; set; } = $"coscine/api/{System.Reflection.Assembly.GetExecutingAssembly().GetName().Name}";
public string PathPrefix { get; set; } = $"coscine/api/{System.Reflection.Assembly.GetEntryAssembly().GetName().Name}";
public Tuple<int, int> PortRange = new Tuple<int, int>(6001, 6999);
public int Port { get; set; } = 0;
public string AppBasePath { get { return $"coscine/{AppType}/{AppName}"; } }
......
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Cake" version="0.28.0" />
<package id="Cake" version="0.34.1" />
</packages>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment