Close

Aurelia

Aurelia, ASP.NET and server-side templates

Aurelia is a great framework for a SPA, but one thing that is missing, I feel, is getting server-generated templates. By default, Aurelia uses the moduleId to fetch a static HTML file. Take this configuration: router.configure(config => { config.map([ { route: [”,’Welcome’], moduleId: ‘./welcome’ }, { route: [‘About’], moduleId: ‘./about } ]); }); When you […]

Read More

File upload with Aurelia

Update This post is no longer up to date, as you can now bind to the files attribute of your input element: <input type=”file” files.bind=”files” /> This would bind to the files property of your viewmodel. This was the original post: I’m getting up to steam with Aurelia and really like it. One thing that […]

Read More