Tags » Mvc

Referencing different resources via configuration

Minifying and obfuscating your resources (CSS/JS) is a great practice.  It reduces bandwidth and makes it harder for users to look at what your JS is doing.   2,829 more words

Marvel vs Capcom: Infinite news and gameplay breakdown

Over the last day, a plethora of news about Marvel vs Capcom: Infinite was released/leaked. We now have new details on the release date, story, modes, and roster of the game, as well as some new gameplay footage. 1,445 more words


Calling Untrusted SSL HTTPS request using HttpClient give "Message=The remote certificate is invalid according to the validation procedure"


+You want to deploy web application server (for example ASP.NET Web API) which require SSL certificate and HTTPS

+You want to make a call to that server using HttpClient… 204 more words

Microsoft Technology


1. Create a simple ASP.NET Web API project with HTTP GET and POST method

Create a simple Web API Controller like this:

    public class ValuesController : ApiController
        string[] list = new string[] { "value1", "value2" };
        // GET api/values
        public IEnumerable<string> Get() { return list; }

        // GET api/values/1
        public string Get(int id) { return list; }

        // POST api/values
        public string Post(string value) { return value; }
… 345 more words
Microsoft Technology

MVC Remote Validator


What I want to show you is how to make remote validators, but what is a remote validator?

A remote validator is a function or method written in the back end which will be called on demand from the front end to ask for a specific business rule.   76 more words

Sin Categoría

Sitecore 8.2 Custom Error Page

I spent a long time googling for an answer to this, and never really found one. I talked to my friend Noel who showed me the way his team implemented a custom error page for their Sitecore site, and I’m documenting it here. 243 more words

404 Error