Giter VIP home page Giter VIP logo

smallestdotnet's Introduction

FOSSA Status

SmallestDotNet

SmallestDotNet - SmallestDotNet.com is a single page site that does one thing. It tells you the smallest, easiest download you'd need to get the .NET Framework on your system.

The code sucks. I did it in an hour and I'm sad.

Thanks to Calin Balauru for his help. Anything good here is him. All the bad is me.

License

FOSSA Status

smallestdotnet's People

Contributors

atifaziz avatar brucealdridge avatar danwissa avatar dhanilan avatar fossabot avatar grhm avatar irfancharania avatar jawn avatar jdeering avatar kantnisha avatar lethrir avatar marcosnz avatar mps avatar msarchet avatar robgibbens avatar shadahm avatar shanselman avatar shingi avatar supergibbs avatar tiernano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smallestdotnet's Issues

Handle unknown releases better

I have .net-4.6 and when I run the tool it just reports that I have .net-4.5. This is misleading and unhelpful because it suggests I have something that is older than .net-4.5.2. Instead, it should say that it scanned “381029” and doesn’t know about it yet.

releaseKey=394744

Visual Studio 2015 tells me I have .net-4.6.01528. I think it’s also .net-4.6.1 as I can target that with VS and run such programs.

.NET 4.5 not detected

I get "You have .NET 4.0, this is a recent version of .NET. Download an installer for the newest version .NET 4.5.". But I have installed 4.5, and VS 2012.

releaseKey=393295

The .Net Checker application determined that you have 4.6 RC2 or greater on your machine. The application was not able to determine the exact version you have. Please log an issue including this information: releaseKey=393295 so we can get it exact in the future.

My box uses a new install of Win 10 Enterprise x64 and Vs 2015 Enterprise. I wonder why I'm not having 393297 then.

Exact Version 4.6.2 undeterminable

The .Net Checker application determined that you have 4.6.2 Preview or greater on your machine. The application was not able to determine the exact version you have. Please log an issue including this information: releaseKey=394802 so we can get it exact in the future.

Unclear outcome

I've just run a check and it took me a good 10-15 seconds to be sure that I did already have the latest version installed (4.6) and I'm no idiot, it needs to be immediately clear whether you're up to date or not.

I suggest something like:


Latest version: X.X
Your version: Y.Y

YOU ARE UP TO DATE

(Green box with tick mark)

or


Latest version: X.X
Your version: Y.Y

YOU NEED TO INSTALL AN UPDATE

(Red box with cross mark)

Smart Titles

The main title on the page needs to reflect the Users .NET Status.

Presumably

.NET 4.5 - You're up to date
Lower Version - You need to update
Unkown/No Install - Something different?

First() on a Dictionary?

Hi Scott,

I am sure time proved that this code works as expected but it looks strange for me:

installedVersions = installedVersions.OrderByDescending(p => p.Value.Major)
                .ThenByDescending(p => p.Value.Minor)
                .ThenByDescending(p => p.Value.Profile)
                .ThenByDescending(p => p.Value.ServicePack ?? 0)
                .ToDictionary(p => p.Key, p => p.Value);

if (installedVersions.Any())
{
    return installedVersions.First().Value;
}

Calling First() on a Dictionary shouldn't be a deterministic way to get the largest element from a Dictionary, or do I miss something here?

Tests!

This thing needs some tests on JavaScript Dom. Then I have a plan to shrink it all down.

.NET 4.5 Request Awareness

Need to know if the .NET 4.5 detection application is what called the site up, and present the proper message from there.

Handle Variable Font Sizes Better.

I have a larger than normal setting on my font. These means I cannot see all the output.

untitled

I think you detect the font size, or just allow the screen to be made bigger, or just make the screen bigger.

Dead links for .NET 4.6 and Get .NET

Using Chrome, with .NET 4.6 installed when I navigate to site it correctly identifies .NET 4.6.

However, the Get .NET link does nothing (points href="#" which does nothing - presumably because I'm already on the latest). It'd be nice if this still points to the download location which is what I'd expect here. Or if that's not the intent, remove or disable the button if you assume that the user is already on the latest.

Looks like the download link that was broken earlier has already been fixed.

Scott - really appreciate this site and I link to it from several products. It's kind of sad that there has to be third party site to provide this though...

Is there any chance that you can get the content management people that deal with this these downloads to have some sort of summary page that doesn't change and shows the latest available versions of the major runtime versions instead of the ever-changing links that not even your specialized site seems to be able to track reliably? It should list 2.0, 3.0, 3.5,4.0, 4.5.x and 4.6 and whatever comes after in descending order, along with a short blurp about what platforms it can run on.

This is something that should be handled by the folks that manage the new versions on the MS site.

Installer gives unexpectedly large file-size estimate

It said "You have .NET 4.0 Client Profile, this is a recent version of .NET", so I was expecting a small download, when I opened the 4.5.2 web installer the site linked me to, I ran the web installer and it said "Download Size Estimate: 102MB" (the offline installer was only 66MB so I used that)

I have a suspicion that the problem is with the installer and not your site, but even if the problem is just the installer overestimating, I believe some warning of this should be mentioned on the website.

"the [online].NET Framework is only between 28 and 66 megs"

"then calculated the total size if you chose to download the .NET Framework." I'm not sure whether it was supposed to give me this size estimate, but it didn't.

I hope the GitHub issues page is the appropriate place for me to post this.

Windows 7 with .NET version 4.0 reports as .NET version 2.0

OS: Windows 7 Professional (Build 7601) SP1
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
IE: 9.08112.16421
Screenshot: https://pbs.twimg.com/media/A4OCpX2CAAAtFzn.png

http://whatsmyuseragent.com/ with compatibility toggled

  • Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
  • Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; MS-RTC LM 8)

Recognize release key 394271

Running CheckForDotNet45.exe on a box with .NET 4.6 installed took me to http://smallestdotnet.com/?releaseKey=394271 and where I was told I should log an issue:

Please log an issue including this information: releaseKey=394271 so we can get it exact in the future.

So here I am.

In case it helps, the machine has Microsoft Windows NT 6.1.7601 Service Pack 1 (64-bit version) installed.

Edge (aka Spartan) called Chrome

When I browse to site with latest build of Windows 10 Edge browser the site says "Looks like you're running Chrome..."
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 Edge/12.0

When running from IE in Windows 10 it says I have 4.5 because the use agent is saying NT 6.3
Full user agent:
Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; Touch; MALCJS; rv:11.0) like Gecko

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.