Skip to content

Commit

Permalink
Added information related to 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Sikorsky committed Nov 16, 2019
1 parent c62082e commit 23617ee
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Docs for ExtCore 4.0.0
# Docs for ExtCore 5.0.0
26 changes: 13 additions & 13 deletions getting_started/samples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@

Please take a look at our samples on GitHub:

* `Full-featured ExtCore 5.0.0-alpha1 framework sample web application <https://github.com/ExtCore/ExtCore-Sample>`_;
* `ExtCore framework 4.0.0 sample simplest web application <https://github.com/ExtCore/ExtCore-Sample-Simplest>`_;
* `ExtCore framework 4.0.0 sample web application that uses file storage <https://github.com/ExtCore/ExtCore-Sample-FileStorage>`_;
* `ExtCore framework 4.0.0 sample MVC web application <https://github.com/ExtCore/ExtCore-Sample-Mvc>`_;
* `ExtCore framework 4.0.0 sample web application that uses a database <https://github.com/ExtCore/ExtCore-Sample-Data>`_;
* `ExtCore framework 4.0.0 sample web application that uses a Identity <https://github.com/ExtCore/ExtCore-Sample-Identity>`_;
* `ExtCore framework 4.0.0 sample web application with modular UI <https://github.com/ExtCore/ExtCore-Sample-Modular-Ui>`_;
* `ExtCore framework 4.0.0 advanced sample web application with modular UI <https://github.com/ExtCore/ExtCore-Sample-Modular-Ui-Adv>`_;
* `ExtCore framework 4.0.0 advanced sample accounting web application <https://github.com/ExtCore/ExtCore-Sample-Accounting>`_;
* `ExtCore framework 4.0.0 sample web application that registers a service inside the extension <https://github.com/ExtCore/ExtCore-Sample-Service>`_;
* `ExtCore framework 4.0.0 sample web application that uses the events <https://github.com/ExtCore/ExtCore-Sample-Events>`_;
* `ExtCore framework 4.0.0 sample API web application <https://github.com/ExtCore/ExtCore-Sample-Api>`_.
* `Full-featured ExtCore 5.0.0 framework sample web application <https://github.com/ExtCore/ExtCore-Sample>`_;
* `ExtCore framework 5.0.0 sample simplest web application <https://github.com/ExtCore/ExtCore-Sample-Simplest>`_;
* `ExtCore framework 5.0.0 sample web application that uses file storage <https://github.com/ExtCore/ExtCore-Sample-FileStorage>`_;
* `ExtCore framework 5.0.0 sample MVC web application <https://github.com/ExtCore/ExtCore-Sample-Mvc>`_;
* `ExtCore framework 5.0.0 sample web application that uses a database <https://github.com/ExtCore/ExtCore-Sample-Data>`_;
* `ExtCore framework 5.0.0 sample web application that uses a Identity <https://github.com/ExtCore/ExtCore-Sample-Identity>`_;
* `ExtCore framework 5.0.0 sample web application with modular UI <https://github.com/ExtCore/ExtCore-Sample-Modular-Ui>`_;
* `ExtCore framework 5.0.0 advanced sample web application with modular UI <https://github.com/ExtCore/ExtCore-Sample-Modular-Ui-Adv>`_;
* `ExtCore framework 5.0.0 advanced sample accounting web application <https://github.com/ExtCore/ExtCore-Sample-Accounting>`_;
* `ExtCore framework 5.0.0 sample web application that registers a service inside the extension <https://github.com/ExtCore/ExtCore-Sample-Service>`_;
* `ExtCore framework 5.0.0 sample web application that uses the events <https://github.com/ExtCore/ExtCore-Sample-Events>`_;
* `ExtCore framework 5.0.0 sample API web application <https://github.com/ExtCore/ExtCore-Sample-Api>`_.

You can also download our `ready to use full-featured sample <http://extcore.net/files/ExtCore-Sample-5.0.0-alpha1.zip>`_.
You can also download our `ready to use full-featured sample <http://extcore.net/files/ExtCore-Sample-5.0.0.zip>`_.
It contains everything you need to run ExtCore-based web application from Visual Studio 2019, including SQLite
database with the test data.
12 changes: 6 additions & 6 deletions getting_started/tutorial_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Create new .NET Core class library project:

.. image:: /images/tutorial_data/1.png

Open NuGet Package Manager and add dependency on the ExtCore.Data.Entities.Abstractions version 4.0.0 package
Open NuGet Package Manager and add dependency on the ExtCore.Data.Entities.Abstractions version 5.0.0 package
(be sure that Include prerelease checkbox is checked).

Create ``Person`` class that implements ``ExtCore.Data.Entities.Abstractions.IEntity``. Create
Expand Down Expand Up @@ -66,7 +66,7 @@ Create new .NET Core class library project:

.. image:: /images/tutorial_data/2.png

Open NuGet Package Manager and add dependency on the ExtCore.Data.Abstractions version 4.0.0 package.
Open NuGet Package Manager and add dependency on the ExtCore.Data.Abstractions version 5.0.0 package.
Also add dependency on your local Extension.Data.Entities project.

Create ``IPersonRepository`` interface that implements the ``ExtCore.Data.Abstractions.IRepository`` one.
Expand All @@ -86,7 +86,7 @@ Create one more .NET Core class library project:

.. image:: /images/tutorial_data/3.png

Open NuGet Package Manager and add dependency on the ExtCore.Data.EntityFramework.Sqlite version 4.0.0 package.
Open NuGet Package Manager and add dependency on the ExtCore.Data.EntityFramework.Sqlite version 5.0.0 package.
Also add dependency on your local Extension.Data.Abstractions project.

Create ``EntityRegistrar`` class that implements the ``ExtCore.Data.EntityFramework.IEntityRegistrar`` interface.
Expand Down Expand Up @@ -139,8 +139,8 @@ The second step is to add ``ConnectionStrings:Default`` parameter to the appsett
"Default": "Data Source=..\\..\\..\\db.sqlite"
}
Finally, open NuGet Package Manager and add dependencies on the ExtCore.Data version 4.0.0 and
ExtCore.Data.EntityFramework.Sqlite version 4.0.0 packages.
Finally, open NuGet Package Manager and add dependencies on the ExtCore.Data version 5.0.0 and
ExtCore.Data.EntityFramework.Sqlite version 5.0.0 packages.

Modify Extension
----------------
Expand Down Expand Up @@ -187,4 +187,4 @@ and Extension.Data.EntityFramework.Sqlite.dll to the extensions folder of the We
As we can see, data from the database is displayed.

You can find the complete source of this sample project on GitHub:
`ExtCore framework 4.0.0 sample web application that uses a database <https://github.com/ExtCore/ExtCore-Sample-Data>`_.
`ExtCore framework 5.0.0 sample web application that uses a database <https://github.com/ExtCore/ExtCore-Sample-Data>`_.
4 changes: 2 additions & 2 deletions getting_started/tutorial_mvc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ on ExtCore.Mvc.Infrastructure (same version). The easiest way to do that is manu
:emphasize-lines: 2
<ItemGroup>
<PackageReference Include="ExtCore.Mvc.Infrastructure" Version="4.0.0" />
<PackageReference Include="ExtCore.Mvc.Infrastructure" Version="5.0.0" />
</ItemGroup>
Create Actions folder inside the project and create ``UseMvcAction`` class inside it. Actions is ExtCore feature
Expand Down Expand Up @@ -164,4 +164,4 @@ As we can see, the text turns red. It means that everything works as expected. I
we will see how to work with the storage.

You can find the complete source of this sample project on GitHub:
`ExtCore framework 4.0.0 sample MVC web application <https://github.com/ExtCore/ExtCore-Sample-Mvc>`_.
`ExtCore framework 5.0.0 sample MVC web application <https://github.com/ExtCore/ExtCore-Sample-Mvc>`_.
2 changes: 1 addition & 1 deletion getting_started/tutorial_service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,4 @@ Everything works as expected. We can replace the PlusExtension.dll with the Mult
web application and the result will change.

You can find the complete source of this sample project on GitHub:
`ExtCore framework 4.0.0 sample web application that registers a service inside the extension <https://github.com/ExtCore/ExtCore-Sample-Service>`_.
`ExtCore framework 5.0.0 sample web application that registers a service inside the extension <https://github.com/ExtCore/ExtCore-Sample-Service>`_.
4 changes: 2 additions & 2 deletions getting_started/tutorial_simple.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ You can get the same result manually by opening the WebApplication.csproj file a
:emphasize-lines: 2
<ItemGroup>
<PackageReference Include="ExtCore.WebApplication" Version="4.0.0" />
<PackageReference Include="ExtCore.WebApplication" Version="5.0.0" />
</ItemGroup>
Create the appsettings.json file in the project root. We will use this file to provide configuration
Expand Down Expand Up @@ -140,4 +140,4 @@ how extensions may execute their own code insite the ``ConfigureServices`` and `
to use MVC and how to work with a storage.

You can find the complete source of this sample project on GitHub:
`ExtCore framework 4.0.0 sample simplest web application <https://github.com/ExtCore/ExtCore-Sample-Simplest>`_.
`ExtCore framework 5.0.0 sample simplest web application <https://github.com/ExtCore/ExtCore-Sample-Simplest>`_.
2 changes: 1 addition & 1 deletion introduction/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

`ExtCore <https://github.com/ExtCore/ExtCore>`_ is free, open source and cross-platform framework for creating
modular and extendable web applications based on ASP.NET Core. It is built using the best and the most modern
tools and languages (Visual Studio 2017, C# etc). Join our team!
tools and languages (Visual Studio 2019, C# etc). Join our team!

ExtCore allows you to build your web applications from the different independent reusable modules or extensions.
Each of these modules or extensions may consist of one or more ASP.NET Core projects and each of these projects
Expand Down
2 changes: 1 addition & 1 deletion migration/4_x_x_to_5_x_x.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ There are 3 main differences between ExtCore 4.x.x and 5.x.x.
.NET Core 3.0 applications can’t run on top of the full .NET Framework.

Razor runtime compilation is now (starting from .NET Core 3.0) turned off by default.
So far (5.0.0-alpha1), ExtCore does not support Razor runtime compilation at all, so views and pages added as resources won’t be resolved anymore.
So far (5.0.0), ExtCore does not support Razor runtime compilation at all, so views and pages added as resources won’t be resolved anymore.

To make them work you have to convert all the projects containing Razor files to
`Razor class libraries <https://docs.microsoft.com/en-us/aspnet/core/razor-pages/ui-class?view=aspnetcore-3.0&tabs=visual-studio>`_.
Expand Down

0 comments on commit 23617ee

Please sign in to comment.