Compile will throw error for following code:
String fooString = 1;
int fooInt = "bar";
Thursday, September 25, 2014
Wednesday, September 24, 2014
How to solve problem while upgrade to EF6: System.InvalidOperationException: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'
To solve this problem for me is to add EntityFramework.SqlServer.dll into project reference:
System.InvalidOperationException: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'
System.InvalidOperationException: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'
Tuesday, September 23, 2014
How to add Facebook comment in ASP.NET MVC project?
You can download solution on Github by
https://github.com/raysaspnet/facebookcomment
1. Create a partial view, call fbComment
2. Add this partial view into any view for comments
@RenderBody()
@Html.Partial("fbComment")
https://developers.facebook.com/docs/plugins/comments
Monday, September 22, 2014
The case-insensitive regular expression for Canada postal code
^[abceghjklmnprstvxyABCEGHJKLMNPRSTVXY]\d[a-zA-Z]\d[a-zA-Z]\d$
Subscribe to:
Posts (Atom)