A A
RSS

Yonkly Source Code

Thu, May 29, 2008

ASP.NET MVC, Yonkly

[UPDATE] Source code is now available in codeplex at http://www.codeplex.com/yonkly

I apologize for the delay of releasing the source code for Yonkly (the twitter clone).

The code is still not 100% ready but I have received so many requests for the source code and figured it is better to put something online until I clean it up than wait until I reach perfection (a moving target).

In the near future, the source code will be in a code sharing site for all to contribute and play with. Basically anyone who’s got a decent broadband service at home can download and go tweaking the code. We are currently using assembla and will open it up to the public very soon

In the meantime, here is a fully functioning project that I just converted to Preview 3 this morning (so you might run into some issues).  Get it here and read the included readme file.

Also, I would like to thank Justine for making this possible.

Tags: , , , ,

  • inet
    Sweet, thanks

    just downloaded and will test
  • inet
    oh forgot it was .net my thin is php so not a clue how to do this at all, will wit on the tutorials
  • @Vyrotek: I am not sure what is causing that. The project file was upgraded to the latest version of MVC, so that might be the problem. You might want to try and create a new empty project and copy the yonkly files into it... Anyway, let us know how you end up fixing it.
  • Jason
    Ah ha! So, out of habit (Im at work doing Asp.net stuff) I opened it doing File-Open-OpenWebsite instead of clicking the darn proj file! Works fine now :)

    The project looks great. I've already learned some new things!
  • david tung
    Hi,

    I am new in vs.net, when I tried to open the project , I got " the project type is not supported for this installation". I am using vs.net express 2008. Do I need to use the paid copy of vs.net?

    Thanks
  • @david: I believe that you can use express with mvc project but you will have to install the mvc framework preview 3 which should install the project templates and then you will be able to open it. Here are some links I found that might help you:
    http://jason.whitehorn.ws/2007/12/10/Using+ASPN...

    http://weblogs.asp.net/scottgu/archive/2008/06/...
  • david
    Hi,

    I really need help on how to incoporate the Ajax control toolkit into yonkly. I have spent many days but can't get it work on top of the current yonkly pages. Any suggestion or comments are really appreciated.

    Thanks
  • @david I haven't done anywork with ajax control toolkit and mvc, so I am not sure I can help you. I decided to do all my javascript and ajax using the jQuery library because I found it really easy to use and light weight. It does require more knowledge of JavaScript compared to the toolkit where you just create an update panel and you are done.

    I highly recommend looking at www.jquery.com and look at yonkly's source code and javascript to see how i do ajax. there is a ton of material out there.

    If you do figure it out, please come back and tell us about it. Thanks and good luck.
  • Jason
    I must agree. Using jquery with Asp.net MVC is pretty dang slick and easy. Especially since your controllers are basically REST services now. Now with the built in JsonResult view its REALLY easy to make these service calls return to your objects serialized to json.
  • ei guys can anyone help me install the script to the host? first time to use asp.net. usually more familiar with php/msyql. i get this error msg:

    Server Error in '/' Application.
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Could not load file or assembly 'System.Web.Abstractions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 57:
    Line 58:
    Line 59:
    Line 60:
    Line 61:


    Source File: d:\hosting\kumustaeu\web.config Line: 59

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Abstractions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

    help!
  • @king you need to install asp.net mvc on your machine, visit www.asp.net/mvc for more information.
  • @king I also forgot to mention a few more things. asp.net is different than php. it's not a script. you need to compile it using visual studio. You can get a free version of visual studio from http://www.microsoft.com/Express/. If you have never worked with asp.net then check out http://msdn.microsoft.com and http://asp.net for somet getting started information... Sorry man, this is still early in development so there is no easy way to install it.
  • king
    thanks! but i purchased a windows hosting from godaddy which says supports asp.net...
  • I am frequent twitter user and I come across this yonkly and it raising up my interest on exploring on this open source. Will have a try on it and probably get to know more about ASP.NET MVC from here.

    @king, it is better to wait for final release of MVC before you purchased any windows hosting. Just what I thought.
  • dbonchabo
    I downloaded the script and tryed to run it on my machine but it displays an error /home cannot be found
  • dbonchabo
    how did you get the script to run cause i cant get mine to run it shows lots of errors
  • Sorry about that, but I haven't had a chance to update it to use the new
    version of MVC (Beta). The MVC framework changed the signatures of several
    methods, so the code is broken and needs to be updated. You can check the
    readme file with the asp.net mvc download for information about breaking
    changes:
    http://www.codeplex.com/aspnet/Release/ProjectR...

    Please feel free to update it and submit your fixes, I am sure it would help
    someone else.

    -Emad
  • AJ
    I can no longer find the source code -- did you take it down?
  • It is still available at http://www.codeplex.com/yonkly
  • Jason
    yay! I am having an issue with the Global.asax though, hmm. I've only messed with it for a bit but I didnt see any obvious problems. Any ideas?

    " Could not load type 'Yonkly.GlobalApplication' "
blog comments powered by Disqus
Advertise Here

What I'm Doing...

Yonkly Open Source

Sign up for my newsletter

powered by MailChimp!

Cyber Identity