Coder Social home page Coder Social logo

Razor pages about blogifier HOT 6 CLOSED

blogifierdotnet avatar blogifierdotnet commented on June 30, 2024
Razor pages

from blogifier.

Comments (6)

rxtur avatar rxtur commented on June 30, 2024

You need to add MVC to your project, Blogifier uses MVC for routing but we can't handle it inside Core because it can clash with routes registered in parent application. I don't think it will effect your existing Razor pages in any way, they should work fine side by side.

from blogifier.

senadburak avatar senadburak commented on June 30, 2024

Thank you for the quick response.
However, it still doesn't work. Please try it yourself, ie. create a new ASP.NET Core 2.0 application with Razor Pages, modify Startup.cs as you suggested and run. No go.
I believe Blogifier.Core has to be modify if we wish (as I do) to be compatible with the Razor Pages. The problem is I don't have an idea where to start.

from blogifier.

rxtur avatar rxtur commented on June 30, 2024

Yeah I see what you saying, apparently "page" is a reserved word for Razor to handle attributes. We'll need to fix it, probably move to query string like "?page=2" instead of "/page/2".

from blogifier.

senadburak avatar senadburak commented on June 30, 2024

Excellent, looking forward to see a fix soon.
Razor pages is excellent technology and more and more people will use them in the future. With the early adoption to the .net standards of relatively new solution as Blogifier is, it will be a big plus. Thanks again.

from blogifier.

rxtur avatar rxtur commented on June 30, 2024

Should work fine with latest (1.2.2) release.

from blogifier.

senadburak avatar senadburak commented on June 30, 2024

rxtur,
thankyou very much for the update. It works like a charm.

from blogifier.

Related Issues (20)

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.