A new guard page for stack cannot be created- ASP.NET MVC4 Error

An hour back I was working with ASP.NET and encountered with this pretty error. I kept wandering for about ten minutes what really has happened. My iisexpress.exe was automatically shut down and it didn’t work when I kept hitting CTRL+F5. How I solved it:Later i the process I came to know that I had the … Read more

What is MongoDB?

MongoDB is a NoSQL DataBase whose main features include document-oriented storage, full index support, replication and high availability, auto-sharding, querying, fast in-place updates, Map/Reduce, and GridFS.MongoDB addresses volume, variety, and velocity of data that organizations increasingly have to deal with in the following ways: Massive Data Volumes: MongoDB is designed to scale horizontally on commodity … Read more

What is Web 2.0?

Image Courtesy: wikipedia.org The term “Web 2.0” defines a set of principles and practices for web applications, which, when followed, entitle a web application to wear the Web 2.0 crown. A web site can claim to be a Web 2.0 site if it: Allows users to control data presented on the web site Presents a … Read more

What is an Echo Server?

A server that returns back the data whatever it receives, is called an Echo Server. This is the same as you call a name in the mountains and hear it returned back or you have echo facility in various sound systems where you can hear your voice returned back.

How to use Server.MapPath in ASP.NET MVC 4?

You can use Server.MapPath in ASP.NET MVC 4 like this:String path = HttpContext.Current.Server.MapPath(“~/myFolder/myFile.txt”);You can use the way mentioned above but ASP.NET MVC 4 has another way to map files on server  and that is using HostingEnvironment class. Actually Server.MapPath() also internally calls HostingEnvironment.MapPath() to map the file paths on server. It belongs to the  System.Web.Hosting … Read more