Tommy Parnell 4b96ed6e5f minor readme clarification
minor readme clarification
2015-10-18 09:41:34 -04:00
2015-10-17 23:49:15 -04:00
2015-10-17 23:06:36 -04:00
2015-10-17 23:36:58 -04:00
2015-10-17 23:06:36 -04:00
2015-10-17 23:36:58 -04:00
2015-10-17 23:06:36 -04:00
2015-10-18 09:41:34 -04:00
2015-10-17 23:50:22 -04:00

Add turbolink support to ASP.NET 5 applications

This provides middlewear to add support for turbolinks.

Simply add app.UseTurboLinks(); and a build of the JavaScript turbolinks file to your layout.cshtml file (one can be found in the wwwroot/js dir of the example project)

If you have an application that may not fit into an SPA, or just have a lot of code that is tied to .NET this provides SPA like speed by ajaxing the html and replacing it. This allows the browser to keep the cache of existing scripts. Turbolinks was made in the rails community, and a lot of existing documentation already exists.

Warning This stops page loads thus $(document).ready(function(){}) does not fire on new pages.

What about asp.net 4x?

I am going to back port this to owin, and eventually more classic version of ASP.NET In the mean time, you can find an MVC action filter here

Description
Add TurboLink support to ASP.NET
Readme MIT 698 KiB
Languages
HTML 59.5%
C# 35.1%
CSS 5.2%
JavaScript 0.2%