Permalink
Browse files

Pushing App

  • Loading branch information...
1 parent af433d0 commit a38d761e55cf5221599bebc32637b53a69132269 @msarchet msarchet committed Oct 19, 2012
@@ -32,6 +32,9 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
+ <PropertyGroup>
+ <SignAssembly>false</SignAssembly>
+ </PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@@ -9,7 +9,6 @@
<meta name="Distribution" content="Global" />
<meta name="t_omni_extblogid" content="msstoextblogs1" />
<meta name="t_omni_blogname" content="Scott Hanselman" />
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="css/bootstrap-responsive.min.css" type="text/css" />
@@ -59,6 +58,14 @@
</div>
</div>
+ <div class="row-fluid">
+ <div class="span12">
+ <h2>What about .NET 4.5?</h2>
+
+ Download this application <a href="https://github.com/downloads/shanselman/SmallestDotNet/CheckForDotNet45.exe" class="m-btn blue"><strong><i class="icon-download-alt"> </i> .NET Checker</strong></a> and run it.
+ This harmless code signed application will tell us if you have .NET 4.5.
+ </div>
+ </div>
<!-- Example row of columns -->
<div class="row-fluid">
<div class="span4">
@@ -70,13 +77,11 @@
<br />
<br />
</div>
- <div class="span4">
+ <div class="span8">
<h2><i class="icon-download-alt"></i> Offline Download</h2>
<asp:Literal runat="server" ID="developerOfflineResult" />
- </div>
- <div class="span4">
<h2><i class="icon-download-alt"></i> Online Download</h2>
- <asp:Literal runat="server" ID="developerOnline" />
+ <asp:Literal runat="server" ID="developerOnline" />
</div>
</div>
<div class="row-fluid">
@@ -17,8 +17,14 @@ protected void Page_Load(object sender, EventArgs e)
getdotnet.HRef = Constants.Version45URL;
userAgent.Text = HttpUtility.HtmlEncode(Request.UserAgent);
- userResult.Text = Helpers.GetUpdateInformation(Request.UserAgent, Request.Browser.ClrVersion);
-
+ if (Request.QueryString["realversion"] == "")
+ {
+ userResult.Text = Helpers.GetUpdateInformation(Request.QueryString["realversion"], Request.Browser.ClrVersion);
+ }
+ else
+ {
+ userResult.Text = Helpers.GetUpdateInformation(Request.UserAgent, Request.Browser.ClrVersion);
+ }
developerOnline.Text = String.Format(@"If your users have internet connectivity, the .NET Framework is only between 10 and 60 megs. Why such a wide range? Well, it depends on if they already have some version of .NET.
If you point your users to the online setup for the {0}, that 980 KB download will automatically detect and download the smallest archive possible to get the job done.", Constants.DotNetOnline);
Oops, something went wrong.

0 comments on commit a38d761

Please sign in to comment.