About 36 hours ago, I just complained how painful as a Microsoft tech developer. Why I complained just because I have to maintain my Microsoft development skills on 4 different tech (they  are really different): Windows Forms, WPF, ASP.NET Web Forms,  ASP.NET MVC. I mean: I have to follow the new tech everyday, even every [Read More ...]

When the years of Java Learn from C++, I did not have a good chance and a good reason to turn to Java, I think it was my BIG BIG Bad luck in my life. so, through so many years, I am keeping on the Microsoft technologies. When I first time study computer development, I [Read More ...]

An ASP.NET MVC3 project, using code first. followed Microsoft tutorial “Getting Started with EF using MVC”. When we tried to change models, we often got the following error: Model compatibility cannot be checked because the database does not contain model metadata. Ensure that IncludeMetadataConvention has been added to the DbModelBuilder conventions. I have a Initial [Read More ...]

Let’s try ASP.NET MVC 4 Beta now since MVC 4 is so great, we can not wait for the final version released. The old WCF Web API now moved in ASP.NET MVC 4. Also, another top feature of ASP.NET MVC 4 Beta is new mobile project template and new features to support mobile apps. The [Read More ...]

Here is a simple sample for how to add dynamic output in MVC using ViewBag: In Controller: public class HomeController : Controller { public ActionResult Index() { int hour = DateTime.Now.Hour; ViewBag.Greeting = hour < 12 ? "Good morning" : "Good afternoon"; return View(); } } In View: @{ ViewBag.Title = "Index"; } <h2>Index</h2> <div> [Read More ...]

We have a small MVC project, once a time we got the following error message in a popup window: …. Unable to find the requested .Net Framework Data Provider. It may not be installed. The reasons are very depends, there are lots of different reasons on the internet. Our case looks some special: The reason [Read More ...]

Scott Gu’s blog can provide you enough information about MVC 3: Announcing the ASP.NET MVC 3 Release Candidate

© 2013 CodeEase.com Suffusion theme by Sayontan Sinha