Wednesday, May 16, 2012
Monday, May 14, 2012
How to show month name in C#?
System.DateTime.Now.ToString("MMMM");
http://msdn.microsoft.com/en-us/library/aa326721(v=vs.71).aspx
http://msdn.microsoft.com/en-us/library/aa326721(v=vs.71).aspx
Wednesday, May 9, 2012
How to deploy ASP.NET MVC 3 on IIS 6?
- Install AspNetMVC3Setup.exe
- Make sure web site and application pool are both set the ASP.NET version to 4.0.30319
- Add "Wildcard application maps"
Steps to add "Wildcard application maps":
In property for the website, click the Home Directory tab.
Click the "Configuration..." button. In the "Mappings" tab, click "Insert..."
Next to the "Wildcard application maps" label In the textbox, type in "c:\windows\microsoft.net\framework\v4.0.30319\aspnet_isapi.dll"
Uncheck the box labeled "Verify that file exists" Click OK
References:
This one is for earlier version of MVC, but idea is the same for Wildcard application maps
http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx
- Make sure web site and application pool are both set the ASP.NET version to 4.0.30319
- Add "Wildcard application maps"
Steps to add "Wildcard application maps":
In property for the website, click the Home Directory tab.
Click the "Configuration..." button. In the "Mappings" tab, click "Insert..."
Next to the "Wildcard application maps" label In the textbox, type in "c:\windows\microsoft.net\framework\v4.0.30319\aspnet_isapi.dll"
Uncheck the box labeled "Verify that file exists" Click OK
References:
This one is for earlier version of MVC, but idea is the same for Wildcard application maps
http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx
Subscribe to:
Posts (Atom)