milosev.com
  • Home
    • List all categories
    • Sitemap
  • Downloads
    • WebSphere
    • Hitachi902
    • Hospital
    • Kryptonite
    • OCR
    • APK
  • About me
    • Gallery
    • Curriculum vitae
      • Resume
      • Lebenslauf
    • Social networks
      • Facebook
      • Twitter
      • LinkedIn
      • Xing
      • GitHub
      • Google Maps
      • Sports tracker
    • Adventures planning
  1. You are here:  
  2. Home
  3. ASP.NET

Adding controller

Details
Written by: Stanko Milosev
Category: MVC 3
Published: 23 May 2012
Last Updated: 31 May 2012
Hits: 3411

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.

Publish application on windows azure (free)

Details
Written by: Stanko Milosev
Category: MVC 3
Published: 30 November -0001
Last Updated: 30 November -0001
Hits: 218

DateTime localization

Details
Written by: Stanko Milosev
Category: Razor
Published: 22 October 2013
Last Updated: 30 November -0001
Hits: 3442

Use something like:

@DateTime.Now.Localize(new CultureInfo(

Special characters

Details
Written by: Stanko Milosev
Category: Razor
Published: 10 September 2013
Last Updated: 10 September 2013
Hits: 3303

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'");
  1. Special character in Razor
  2. WebApi and jQuery "lazy load"
  3. ProgressBar using SignalR
  4. Endpoint Routing does not support 'IApplicationBuilder.UseMvc(...)'

Subcategories

MVC 4

MVC 3

WebApi

Core

Page 8 of 11

  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11