How to develop applications for facebook? - asp.net

I have a choice between ASP.NET (preferably MVC) and Python (Django only).
Which toolkit is more stable?
I have read the comments section of the Facebook Developer Toolkit and it seems that a lot of people aren't happy with it, is there an alternative?
What about Python libraries for facebook, are there any good libraries to develop facebook applications?
Could you guys provide tutorials and tips for how to develop applications for facebook?

MVC is a perfectly acceptable choice if you go with the Facebook C# SDK. It is an excellent framework and is being updated extremely frequently. You also get all the advantages of developing in .NET and the Visual Studio environment.

First, go with Django. It has a vibrant community and awesome support.
Second, http://github.com/facebook/python-sdk/ works perfectly with Django. One main problem with Facebook API is that it's changing pretty often, so you need to keep it up to date, from time to time. Tests are a must.
Here is a similar question which should answer your doubts: How do I write Facebook apps using Django?

Related

Framework used to develop the new windows azure management portal?

Does anyone know what framework microsoft used to develop the metro like web management portal on windows azure. If so. Is it available to developers?
I posed the same question and got a lot of hate for it. The winning answer is the Metro UI Pack. It does a lot of what they do in Azure, but you'd have to implement the rest yourself.
KnockOut Js
Require Js
TypeScript
Less
ASP.NET
D3 Js
Web sockets
Some links for more information
Steve Sanderson - Architecting large Single Page Applications with Knockout.js
Under the hood of the new Azure Portal
From the ground up: Building the Microsoft Azure Preview Portal
Framework used to develop the new windows azure management portal?
Credit Quora
The CSS is probably custom, but the portal uses a few open source libraries for the javascript part:
jquery-1.7.1
jquery-ui
jsObservable
JsRender
JsViews
jquery.event.drag
You can take a look at this codepen: https://codepen.io/utillity/project/editor/ArjgLa
It's basically a cascade of flexboxes.
Microsoft probably did not use this framework, but you might try jq-metro
If you are looking for angular component library for Metro, it is here

learning web app development with asp.net

I have been doing windows applications using c#.
But recently our management has planned to make some of the projects to be web based.
We thought of using asp.net with c#.
Can anybody guide me on effectively learning asp.net.
pls provide some useful links for sample projects.
Thanks in advance.
Web Forms would be a quicker route if your used to desktop development (over microsoft MVC). MVC3 is my preference but takes a bit longer to get used to if your not familiar with it. MVC3 gives you more control over your code and in my oppinion is less bloated.
May be worth looking into the MVC pattern if you go down this route.
Loads of videos to get you started here: http://www.asp.net/web-forms
They have a couple of example applications you can work through:
Web Forms: Contoso University App
MVC: MVC3 Starter App
as simple as this: http://www.asp.net
I'd recommend to start with ASP.Net MVC even you'll find it a bit complex in the beginning , Here you can find a lot of tutorials and books
you can also take a look at the MVC Music Store , it is a complete project to learn ASP.Net MVC by example.
I would steer clear of WebForms - even though it may seem a more natural fit coming from your WinForms background, you will run into issues later on. Given that you're going to have to learn a new platform anyway, makes sense to learn MVC and get off on the right foot (note that there are alternative MVC frameworks to ASP.NET MVC such as Fubu but these are probably riskier options in your situation).
PluralSight do some good online training courses, though you do need to pay for them.

New to ASP.NET

I am wanting to learn ASP.Net and am just a beginner. I have done some windows c# forms development before but have no experience of web development.
I have looked at the ASP.net website but beyond this, does anyone have any ideas as to good learning resources particulary in relation to the differences to windows development. For instance, It seems that the way events work is quite different under ASP to windows forms.
Thanks you all.
Thank you very much. I will have a look at MVC. It looks even more complicated but if this is the way things are going then I would be better maybe to invest my learning in this.
I would advise you at this stage in ASP.NETs life to instead direct your attention at ASP.NET-MVC. This url http://www.asp.net/mvc/ is a very good resource for learning.
ASP.NET Forms do a good job of hiding the nature of a connection-less HTTP/browser based technology and presenting a familiar Form with controls and lots of useful events environment that Windows Forms developers are used to.
However this approach comes with a price. For any serious project there is no avoiding getting under the hood of ASP.NET forms and properly understanding the underlying technology. At this point you start to realise the significant compromises the ASP.NET Forms has had to make in order to make Windows Forms developers feel at home.
ASP.NET-MVC, on the other, makes no such compromises. Learning MVC means learning how HTTP works up-front. It also has the advantage of being a much more test friendly approach which when used properly will save you days of debugging.
ASP.NET website - seriously, it's a really good resource.
I'd seriously consider starting with ASP.NET MVC. You'll end up learning what you need from ASP.NET "classic" but you'll pick up all the goodness of MVC (testability, seperation of concerns in your code etc) instead of learning bad habits.
Google for "ASP.NET MVC", check out ScottGu's blog, Scott Hanselmans's blog, or search StackOverflow for ASP.NET MVC (use the ASP.NET MVC tag too).
One good place to start...
http://weblogs.asp.net/scottgu/archive/2009/04/01/asp-net-mvc-1-0.aspx
I know they are a bit out of date, but I still think the two Fritz Onion books give a great look at what's happening in ASP.NET under the hood.
Some resources:
asp.net (as you mentioned)
channel9
scott hanselman's blog (some useful entries)
Windows Client Homepage
W3Schools Tutorials (Useful for more than just .NET, but this is the .NET page)
I've been a .NET Windows Forms (not Web forms) developer for 1 and a half years. Then I switched jobs and started using WebForms for like... 2 years. Then I discovered ASP.NET MVC (January 2008) and since then although I still master ASP.NET WebForms I will always prefer ASP.NET MVC.
My recommendation also goes into ASP.NET MVC. You will have to learn HTTP, HTML and a bit of Javascript but after these you will master web development on ALL PLATFORMS.
A great alternative to ASP.NET MVC is ASP.NET Web Pages with Razor syntax. In fact, the latest release of ASP.NET MVC and the latest release of ASP.NET Web Pages both use the same view engine.
Here is a link to the complete ASP.NET Web Pages book:
Getting Started with WebMatrix and ASP.NET Web Pages
Also, here is the complete WebMatrix Content Guide:
WebMatrix Content Guide
Here's the description:
WebMatrix is a free, lightweight set of web development tools that provides the easiest way to build websites. It includes IIS Express (a development web server), ASP.NET (a web framework), and SQL Server Compact (an embedded database). It also includes a simple tool that streamlines website development and makes it easy to start websites from popular open source apps. The skills and code you develop with WebMatrix transition seamlessly to Visual Studio and SQL Server.

Forum for ASP.NET MVC site

I am buidling a new site for an organisation. I am using ASP.NET MVC. The previous site was PHP based and had a PHPBB forum. This forum opened in an IFrame, so no integration.
We want a site with all functionality integrated. I thought, I probably have to write a forum myself. However there are other ASP.NET open source forums out there just like phpbb.
Is there a way to integrate third-party forums cleanly into my site? Or am I better of coding it myself?
Check my answer to this question, for an ASP .NET MVC based forum:
Who knows a good free open source forum in C#?
If you want an ASP .NET Webforms forum I can recommend you YetAnotherForum.NET.
ASP.NET MVC is still in beta stage and not much free options are available on the .NET side of things.
It's actually a very easy task if you already have experience writing MVC app.
Not counting those that haven't got some stable releases out, most free options such as YAF are written to run as a standalone applications on classic ASP.NET webforms framework and will often requires that you use a certain fixed database platform and thus will require work to patch them so they integrate nicely with the MVC framework.
So I suggest you code it up yourself. Especially if you just want an integrated forum that don't need to have as much features as phpbb.
Or better yet, start an open source project!
The following post has numerous options: ASP.NET MVC Forum Software?

Are ASP.NET Web Parts a viable technology for implementing a portal architecture

Web parts seem to be used extensively in Sharepoint related development, but examples of using them in asp.net webforms applications are few and far between. I'm implementing a domain specific portal framework and like the "widgetlike" functionality in iGoogle or pageflakes and would like to get that kind of feature in my application. The real troubling issue from my perspective is that the drag & drop layout features of web parts do not work in non-IE browsers unless you use the latest ASP.NET AJAX futures library. It seems to me if Microsoft meant this to be a foundation technology, they would have moved these features into the main product by now.
Are web parts a dead-end technology? If so, are there any alternatives?
i think they are (dead), at least for developing the types of UI modern web-browsers are looking for. My recommendation ... ASP.NET MVC and a nice .js library. It's more work out of the gate, but with the proper planning and implementation it will serve you much better in the long run.
I found a really great site about some tips to implementing WebParts-like behaviour:
http://blogs.msdn.com/b/nunos/archive/2010/02/16/quick-tips-about-asp-net-mvc-webpart-framework.aspx
Webparts are a part of the .NET infrastructure and are a foundation technology. There are few interface technologies, to make webparts compatible with their J2EE counterparts.

Resources