Comments (6)
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.
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.
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.
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.
Should work fine with latest (1.2.2) release.
from blogifier.
rxtur,
thankyou very much for the update. It works like a charm.
from blogifier.
Related Issues (20)
- Localizer does not give correct results
- What tools were used to compile static files in Blogifier? HOT 2
- Custom cover images not showing in pages. HOT 2
- I made a step by step installation using Ubuntu
- Please add comments section HOT 9
- Stored XSS via filename parameter in '/api/storage/upload/PostImage' HOT 1
- Stored XSS on upload files. HOT 1
- Translate Tool HOT 1
- I can"Resource.zh-CN.resx"
- there is something with "Resource.zh-CN.resx" that I can't understand? HOT 2
- 该项目是否仍在维护? HOT 3
- Changing DB to SQL Server in VS does not work as described in 02-Database.md HOT 2
- Newsletter feature
- I think it's time to upgrade to .NET 7 :) HOT 2
- error: Sorry I did something wrong with the main branch HOT 3
- Successfully ran on MacOS HOT 2
- Build fails HOT 1
- There is a runtime error on https://blogifier.net HOT 1
- Make a Azure Static Web compatible template with coded blog posts HOT 1
- Unable to resolve the .NET SDK version as specified in the global.json
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blogifier.