Hello everyone, in this article we are going to learn how to build and deploy Angular application on IIS Server with the help of angular CLI. In our last article we have developed an Angular application with third-party tools i.e bootstrap and font-awesome and also have one image. If you have not gone through this article Creating Angular Application using bootstrap, recommend you to first cover up that article as we are going to use same application that has been created and explained in the previous article. You can also download the source code from Github.
If you are looking solution for one of the weird error “Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.” I can feel your pain. Few days back I was on same position where you are standing now. I was stuck and clearly had no Idea why application getting this error on only some pages where whole application was working fine.