Comments (3)
@BrainCrumbz Ok, no problem. I was drawn here for the routing middleware as ASP.NET Core RC2 module has broken the URL rewriting for IIS. I was unable to adapt said middleware to RC2 and as a result found a different intermediary workaround.
I have, however, bookmarked this repo as this is one of the few seed projects that has Angular 2.x set up, which I plan to move into in the near future :)
from awatts.
Wrong assumption
So I'd say it's only a matter of time. Then again, it seems that by the end of this month RTM should be out ... so one might wonder whether it's better to do the intermediate step or two-in-one. I think we'll go for the intermediate step anyway.
So, please be patient ... or maybe submit a PR ;)
from awatts.
We already (?) migrated the client side to Angular 2 RC1, so that is sorted (until next Angular update...). I was not aware of such break, i guess you already checked threads like this on SO. As a rough rule of thumb, I've seen people suggesting to avoid URL rewriting rules in IIS altogether for ASP.NET Core (...actually since ASP.NET 5 I think), basically trying to avoid putting custom directives in web.config at all. For such needs as rewrites, they suggested changing your setup in the various Startup
methods.
If you're talking about redirecting for a Single Page Application scenario, where you want to allow deeplinking, and thus you want your server side to redirect not found URLs to home, we struggled with that a little and then we made a custom middleware as well. Yet, nothing to be put in web.config
BTW happy to know that this project might be useful to you in the future!
from awatts.
Related Issues (3)
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 awatts.