This is a place where i share about Technology, Management and Spirituality.
jQuery Mobile
Get link
Facebook
X
Pinterest
Email
Other Apps
jQuery Mobile 1.0 is released. This is a HTML5 based UI system for all the major mobile device platforms. To know more about check http://jquerymobile.com/ .
While adding a controller in ASP.NET MVC 3 application, you might get a error “Unable to retrieve the metadata for …”. This error is due to the incorrect connection string name or the connection string in the web.config. I had encountered the same error and the issue was that the name of my DBContext was different from that of the web.config connection string name. When I made it same it was able to create the controller.
This article talks about building a simple application using ASP.NET MVC and MongoDB. From my earlier blog post, the installation steps for Mongo DB were explained. For building application using MongoDB and .NET, we need the 10gen C# Driver. This can be downloaded from http://github.com/mongodb/mongo-csharp-driver/downloads Let’s began creating a simple ASP.NET MVC 3 application. We will be creating a simple application which will save the contact details and view the same. The contact model is as show below public class Contact { [ Required ] [ Display (Name = "Contact ID" )] public int ContactID { get ; set ; } [ Required ] [ Display (Name = "Name" )] ...
The installation of MongoDB on a windows system is pretty simple. Step 1: Download the Binaries for Windows from http://www.mongodb.org/downloads (32bit or 64bit) Step 2: Unzip the file into a folder in C drive or drive of your choice . Lets name it "mongo" Step 3: Mongo stores the data in a folder "data\db", but this needs to be created manually. Lets create this on the same drive where mongo binaries unzipped files reside as in step 2. Step 4: Open Command Promopt, go the folder path where binaries was unzipped, for eg: C:\mongo\bin. Step 5: Run command "mongod" to run the database server. Step 6: You can open another command prompt with same folder path and run command "mongo", it will be connected. We start saving and querying against the database. Hope this Helps. Please leave your comments.
Comments