Friday, November 30, 2012

Microsoft Details Its Plans For The Future Of ASP.NET after Windows 8

http://www.webpronews.com/microsoft-details-its-plans-for-the-future-of-asp-net-2012-11
Microsoft Details Its Plans For The Future Of ASP.NET

Sumamary:
- SignalR
- Web API to support Windows Stores apps
- MVC SPA singal page application
- MVC facebook template
- MVC Mobile tempalet

Thursday, November 29, 2012

How to read database connection string from web.config?

 System.Configuration.ConfigurationManager.ConnectionStrings["connectionStringName"].ConnectionString;

How to generate ASPX dynamically?

By Razor engine
http://razorengine.codeplex.com/

  string template = @"<%@ Control Language="C#" ClassName="@Model.Name" %>";
  string result = Razor.Parse(template, new { Name = "Classname" });

Wednesday, November 28, 2012

How to add dynamic field in OTRS?


1. Cretae dynamic field first
Admin->Ticket->Dynamic Field

2. Change configuration to make avaiblae in different view
Goto Admin -> SysConfig
search by ###DynamicField
Enable the dynamic field just created
There are a lot of setting for different views.

RavenDB and DataTables.Ne

http://antjanus.com/blog/web-development-tutorials/how-to-with-ravendb-and-datatables-net/

directory alt by brujo 1024x768 How To with RavenDB and DataTables.Net