random notes
Saturday, May 19, 2012
Future of Education
On the other hand, we can learn almost anything in internet at our fingertip with interactive multimedia such as video, slides, interactive tutorials, etc on any subjects in Youtube, iTune, Vimeo, eBooks, Learnign app on smart devices, etc. Obviously, the habits of self-study and adoption play more and more important roles for our survival or to keep ourself useful in society.
It starts happening now that we can learn things from the best teachers in the world in anywhere at any time, of course FREE EDUCATION too.
Here is one of the best example: http://www.khanacademy.org/
Here is the discussions about future of education by game changers
http://www.eventnook.com/video/v/92/Microsoft-CEO-Summit-Innovation-in-Education
http://www.eventnook.com/video/v/90/Rethinking-Learning-with-Salman-Khan
Tuesday, December 27, 2011
oEmbed format makes content in your site easy to share
What does it mean?
For example, if you are sharing the youtube in Facebook status, you simply copy and paste the youtube Url and Facebook app knows how to embed it nicely with preview picture and video description.
What does it mean for developer?
You can apply it for two things.
1> If you are trying to make sharing the contents in your site easy for users to allow them to share and embed in other sites, you can implement oEmbed API service interface for others sites to consume it.
2> If you are trying to allow users to embed contents in other sites like Youtube, Flickr, etc in your site, you can consume API interface of those sites which provides the oEmbed data for you to nicely present them in your site.
To find out more:
http://www.oembed.com
http://engineering.twitter.com/2010/09/tech-behind-new-twittercom.html
Sunday, July 31, 2011
DLL missing with .RDLC ReportViewer deployment on Microsoft Azure hosting
- Microsoft.ReportViewer.WebForms.dll
- Microsoft.ReportViewer.Common.dll
- Microsoft.ReportViewer.ProcessingObjectModel.dll
Monday, November 16, 2009
Friday, October 03, 2008
ASP.NET 2.0 Membership provider
ASP.NET 2.0 membership provider have been for more than 2 years and initially, I thought it’s just a show off feature of ASP.NET 2.0 and that would not be practically useful before I explored it into detail.
http://weblogs.asp.net/scottgu/archive/2006/04/13/442772.aspx
http://msdn.microsoft.com/en-us/library/aa478948.aspx
Thursday, July 03, 2008
MasterPage.master.cs does not exist error
I got the very weird error with ASP.NET 2.0 deployment. It has been running well in my development machine. Then, I published my test WebApplication project from visual studio to make release the compiled dll so that the application can be run on server without deploying .cs source code files. But after published it, the system gave the error “MasterPage.master.cs does not exist”.
It was very weird and it tempted to me considering whether it’s because “.cs” files are also required to deploy. But if that’s was the case, what’s the point of publishing?
After a while, then I finally realised that MasterPage I created doesn’t have namespace.
After I added namespace in masterpage.master.cs file and published it again. Then, It was fine.
In ASP.NET 2.0, it seems like
- WebApplication project requires to have namespace for every class in the project if you deploy the system by publishing (.dll and aspx only).
- WebSite project, it seems doesn’t require to have namespace even though if you deploy it by publishing.
Server Error in '/WebAppTest' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The file '/WebAppTest/MasterPage.master.cs' does not exist.
Source Error:
Line 1: <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %> Line 2: |
Source File: /LEGATOTest3/WebAppTest.master Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434
Wednesday, June 11, 2008
ASP.NET Menu & DataSet
My idea was to bind the menu directly with dataset but unfortunately, dataset is not inherited and implemented IHierarchicalDataSource and it throws the exception. So, I tend to do traditional way of by adding menuItem in the loop. I know this is not a good idea and there must be someone who already implmented the neater way of binding directly by tweaking the dataset as the ASP.NET Menu has been released since 2 or 3 years ago.
Just a couple minutes spending on google and found this which is neater code and better design.
http://aspalliance.com/822
By using XMLDataSource and XSLT, this support unlimited hierarchical levels and only a few line of codes and clean.
Just have a look that above link if you are looking for building dynamic menu, it's worth to look it at.
Cheers