laazyj / applicationassemblyutility Goto Github PK
View Code? Open in Web Editor NEWSome simple methods for finding the application's version, based on the main or entry assembly.
License: Other
Some simple methods for finding the application's version, based on the main or entry assembly.
License: Other
I've used code from your StackOverflow post, plus code from the following post to create a reusable splash screen for multiple intranet web sites (the splash screen includes the title and version number).
You might like to include this helper in your library too:
http://stackoverflow.com/questions/7320078/read-assemblytitle-attribute-in-asp-net
I have a .net framework 4.7 web application consuming a .net standard 2.0 assembly. The .NET standard assembly is consumed by a ton of web and console apps. I was in need of getting the running assembly, hopped on Stack Overflow and then here. When I use ApplicationAssemblyUtility on the .net standard project, I get "ApplicationAssemblyUtility" when called from the web app, but works right from the console app.
If ApplicationAssemblyUtility.ApplicationAssembly is called from within a WCF service, it will return the assembly for ApplicationAssemblyUtility instead of the WCF's assembly.
This is due to HttpContext.Current being null when called from a WCF service. (http://stackoverflow.com/questions/5990479/httpcontext-in-wcf)
Is this repository still active?
Please, you must release your library as NuGet
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.