When you do any change in your model then you have to rebuild solution.

My Web.config connection string looks like:
 
    

 

Tutorial for getting started with ASP.NET MVC 3 you can find here.

Use something like:

@DateTime.Now.Localize(new CultureInfo(

If your model returns something like:

'message'

Then apply Raw, something like:

@{
  string myModel = "";
  myModel = Model.XmlRuleObject.Alerts[0].Property.ToString()
  @Html.Raw(@myModel);
}
alert("'@myModel'");

@:(@Model.SubType)

 

If I want brackets