Author: Jamie

  • C# Basic Authentication with ASP.NET MVC

    In this tutorial, I’ll show you how to implement basic authentication using ASP.NET MVC.
    (more…)

  • Enable CORS in ASP.NET Web API

    The CORS (Cross Origin Resource Sharing) ASP.NET Web API allows us to request data from another website without having to use JavaScript. This will let us access data from sites that don’t support cross origin requests. This prevents a web page and increases the security prevents a web page from making ajax requests to another domain when the access control allow methods are not defined.

    (more…)

  • Nodejs 413 request entity too large error

    There are several ways to resolve this issue. First, you should check with your hosting provider to see what settings they recommend. Second, you can try increasing the memory limit on your web server. Third, you can use a different method to upload the file instead of using FTP (File Transfer Protocol). Finally, you can split up the file into smaller parts and upload them one at a time.

    (more…)

  • Knockout JS Foreach Loop

    Knockout is an easy way to loop through observable arrays or standard array objects using a foreach data bind statement. Let’s look at a concrete, in depth example.

    (more…)

  • Apache 413 request entity too large error

    Apache 413 request entity too large error

    Ugh, I’ve been stuck on this one for a file and finally found my solution, so I thought I would definitely share it with you. So you’re coming here because you’ve received the dreaded 413 Request Entity too Large error. Keep reading because I have your solution!

    (more…)