Fat Free Framework Installation

  1. Framework Free Download
  2. Net Framework Installation Files
  3. Fat Free Framework Installation Guide
-->

The .NET Framework is required to run many applications on Windows. The instructions in this article should help you install the .NET Framework versions that you need. The .NET Framework 4.8 is the latest available version.

The Microsoft.NET Framework 4.6.1 is a highly compatible in-place update to the Microsoft.NET Framework 4, the.NET Framework 4.5, the.NET Framework 4.5.1, the.NET Framework 4.5.2, and the.NET Framework 4.6. The offline installer can be used when the web installer can't be used because of a lack of Internet connectivity. Fat-Free Framework tutorials by Mark Takacs 9 : Basics of installation, project setup and the definition of the first route: Video, Description, Code. Global variables, routing with class object references, basics of structuring business logic: Video, Description, Code. Advanced MVC project structure: Video, Description, Code.

You may have arrived on this page after trying to run an application and seeing a dialog on your machine similar to the following one:

.NET Framework 4.8

/hot-tub-free-delivery-and-installation/. .NET Framework 4.8 is included with:

.NET Framework 4.8 can be used to run applications built for the .NET Framework 4.0 through 4.7.2.

You can install .NET Framework 4.8 on:

  • Windows 10 October 2018 Update (version 1809)
  • Windows 10 April 2018 Update (version 1803)
  • Windows 10 Fall Creators Update (version 1709)
  • Windows 10 Creators Update (version 1703)
  • Windows 10 Anniversary Update (version 1607)
  • Windows Server 2019
  • Windows Server, version 1809
  • Windows Server, version 1803
  • Windows Server 2016

The .NET Framework 4.8 is not supported on:

  • Windows 10 1507
  • Windows 10 1511

If you're using Windows 10 1507 or 1511 and you want to install the .NET Framework 4.8, you first need to upgrade to a later Windows 10 version.

.NET Framework 4.6.2

The .NET Framework 4.6.2 is the latest supported .NET Framework version on Windows 10 1507 and 1511.

The .NET Framework 4.6.2 supports apps built for the .NET Framework 4.0 through 4.6.2.

.NET Framework 3.5

Follow the instructions to install the .NET Framework 3.5 on Windows 10.

Installation

The .NET Framework 3.5 supports apps built for the .NET Framework 1.0 through 3.5.

Additional information

.NET Framework 4.x versions are in-place updates to earlier versions. That means the following:

  • You can only have one version of the .NET Framework 4.x installed on your machine.

  • You cannot install an earlier version of the .NET Framework on your machine if a later version is already installed.

  • 4.x versions of the .NET Framework can be used to run applications built for the .NET Framework 4.0 through that version. For example, .NET Framework 4.7 can be used to run applications built for the .NET Framework 4.0 through 4.7. The latest version (the .NET Framework 4.8) can be used to run applications built with all versions of the .NET Framework starting with 4.0.

For a list of all the versions of the .NET Framework available to download, see the .NET Downloads page.

Help

If you cannot get the correct version of the .NET Framework installed, you can contact Microsoft for help.

See also

In the previous tutorial (Fat Free Framework – 1. Installing Fat Free Framework…), we tested the installation of Fat Free Framework by creating a route that was calling an anonymous function when someone was accessing the application:

2
echo'hello from f3!';

But if we do this for every “page” that someone access the main index.php file would become pretty large soon.

Framework Free Download

So why not create classes that would deal with different routes?

For starters, let’s change the line above with this and see if it works?

index.php

Net Framework Installation Files

2
4
6
functionindex(){
}

Now, if we visit the same page again, we will see that everything works fine.

As you can see, we can pass our route a controller (class) and a method by using the classic notation class->method.

All we have to do now is to move the class in its own file… So how do we do this?

So let’s create an “App/Controllers” directory and in it create a file named Homepage.php and put the class definition in it:

App/Controllers/Homepage.php

Fat Free Framework Installation Guide

2
4
functionindex(){
}

Now we will use the autoload system variable AUTOLOAD (https://fatfreeframework.com/quick-reference#AUTOLOAD). This allows us to define file that the framework will attempt to autoload at runtime. That means that if we pass it our app directory, any class called inside our application will be looked inside this directory.

So returning to our index.php we will ask the autoload functionality to take into consideration our app directory, by using the set() method to our instance:

Now, if we visit our website again we will see that… nothing happened… which is… good…

Let’s see the index.php again:

index.php
2
4
6
8
10
require_once('vendor/autoload.php');
$f3=Base::instance();
$f3->set('AUTOLOAD','App/Controllers/');
$f3->route('GET /','Homepage->index');
$f3->run();

Now let’s see our App/Controllers/Homepage.php

App/Homepage.php
2
4
6
echo'hello from index';
}

See you next time.