If you’re creating a new Angular2 application, you definitely want to use the Angular2 CLI. It help you setup a new Angular application. It has a build-in development server and it will generate Components for you. This means less typing (isn’t that always better?).
I’ve found a few nice articles to get you started with Angular 2 and .NET core. Normally it would be somewhat of a hassle to get started, but this should provide you with some working samples. Fast track your Angular 2 and .NET Core Angular 2 and .NET Core – your first component Angular 2 and .NET Core – route directly to your components This is a series of posts by Jon Hilton and uses the...
Allowing users of your website to include a video into a message, can be done in two ways.
You instruct all the users to go to the video page, find the embed code, let them upload html to your website and displaying the raw html to all users.
You tell them to paste the link to the youtube page, and your website generates the embed code right from that link.
You’re building a new application, and you’re using Entity Framework Code First. Probably all your entities need an Id and CreatedAt/UpdatedAt property.
The sample below shows you how to define these properties in a base class, and (more importantly) how to set them correctly on every save, without setting them manually on every place where you’re changing things.
Yesterday WordPress 4.4 was released, with this version they improved this product even more. The most notable new features are, support for oEmbed and an integrated REST API. What is oEmbed and why is this a new amazing feature? oEmbed is a specification for embedding content from an other website right inside the consuming website. This enables (for instance) Twitter to display the excerpt of a...
Someone at WordPress decided that if you want to create a plugin for WordPress, you’ll have to host it at their SVN server. Personally I’m not a big fan of SVN, I’m more a GIT person. Lucky for me, it appears I’m not the only one. So for my latest WordPress plugin (REST API – Filter Fields) I used Github. Then I came to a few problems that had to be solved Small...
WordPress is a great platform for running a website with a content management system behind it. Around a year ago the released a plugin called WordPress REST API. And this is a really nice addition to WordPress. This plugin enables you to retrieve all the posts/comments/terms in a really easy JSON format. JSON vs XML In the last few years JSON has become the default way for app developers to...
At some point you would like your wordpress website to be able to send email. You’ll need it for:
“New User” notifications
It is quitte easy to create a mobile website. With these tweaks it will look even more like a real application.
You’ll just have to append some items to the html source code.
When working with Exchange, you’ll sometimes need the primary address and not some kind of alias. This snippet helps you with that.