Skip to content

add public version endpoint#5

Open
sstadlbauer wants to merge 1 commit intoadliance:mainfrom
sstadlbauer:feature/version_endpoint
Open

add public version endpoint#5
sstadlbauer wants to merge 1 commit intoadliance:mainfrom
sstadlbauer:feature/version_endpoint

Conversation

@sstadlbauer
Copy link
Copy Markdown
Contributor

added public endpoint "/version" to get version of azure blob simulator

@sstadlbauer sstadlbauer marked this pull request as draft March 25, 2026 09:33
@sstadlbauer sstadlbauer marked this pull request as ready for review March 25, 2026 09:34
var assemblyVersion = Assembly.GetAssembly(typeof(Program))?.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion;
if (assemblyVersion?.Contains("0.0.0") ?? false)
{
assemblyVersion = Assembly.GetAssembly(typeof(Program))?.GetCustomAttribute<AssemblyMetadataAttribute>()?.Value;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dieses Attribute haben wir in diesem Projekt gar nicht. Das if können wir uns also sparen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants